aem-uberjar-demo's People
Forkers
git-rp scottm2020 icunningham88 danchapman-pearson rrust0102 soonberry javafun tml gaetanmarmasse anupammaiti dcfrancisco kvemulap01 adi-demoaem-uberjar-demo's Issues
Upgrade servlet-api version to 3.1
Hi,
I was surprised to see servlet-api:2.5 in the example pom since it is my understanding that AEM 6.1 exposes version 3.1. When I search for "javax.servlet" in the depfinder of an AEM 6.1 instance, it reports that versions 2.6.0, 3.0.0 and 3.1.0 are provided by org.apache.felix.http.servlet-api.
It should be safe to upgrade to Servlet 3.1, right?
Upgrading uber-jar to 6.1-SP1
I'm working on a project using the new AEM 6.1 SP1 uber-jar and used your project as a starting point. Just wanted to give you a heads up that I'm getting the following unit test error:
T E S T S
Running com.adobe.people.justinedelson.uberjardemo.impl.ClassWhichHasAEMInterfacePassedInTest
objc[81350]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.423 sec - in com.adobe.people.justinedelson.uberjardemo.impl.ClassWhichHasAEMInterfacePassedInTest
Running com.adobe.people.justinedelson.uberjardemo.impl.ComponentWhichHasAEMInterfaceInjectedTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! - in com.adobe.people.justinedelson.uberjardemo.impl.ComponentWhichHasAEMInterfaceInjectedTest
test_that_long_string_is_trimmed(com.adobe.people.justinedelson.uberjardemo.impl.ComponentWhichHasAEMInterfaceInjectedTest) Time elapsed: 0.002 sec <<< ERROR!
java.lang.InternalError
Clarify what is part of UberJAR
in your pom.xml you still reference
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.api</artifactId>
<version>2.2.0</version>
</dependency>
although the Sling API is part of that UberJAR. Could you clarify what exactly is part of the UberJAR? E.g. I have seen that the Servlet API and JCR API is not exported, although it is clearly part of AEM (i.e. is exposed from running bundles in AEM).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.