Hi Robert, Whats the mvn+java version you are using. I tried with latest trunk and it build fine
mvn -v Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T22:59:23+05:30) Maven home: xxx/apache-maven-3.2.5 Java version: 1.7.0_55, vendor: Oracle Corporation Java home: xxx/jdk/jdk1.7.0_55/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: "unix" Chetan Mehrotra On Thu, Oct 22, 2015 at 2:58 PM, Robert Munteanu <[email protected]> wrote: > Hi, > > I tried to build the jaas module as of r1709963 . The build fails due > to the animal-sniffer-maven-plugin: > > [INFO] Checking unresolved references to > org.codehaus.mojo.signature:java15:1.0 > [ERROR] > /home/robert/Documents/sources/apache/felix/jaas/src/main/java/org/apac > he/felix/jaas/internal/ConfigSpiOsgi.java:117: Undefined reference: > void javax.security.auth.login.ConfigurationSpi.<init>() > [ERROR] > /home/robert/Documents/sources/apache/felix/jaas/src/main/java/org/apac > he/felix/jaas/internal/ConfigSpiOsgi.java:147: Undefined reference: > javax.security.auth.login.Configuration > javax.security.auth.login.Configuration.getInstance(String, > javax.security.auth.login.Configuration.Parameters, String) > > [ERROR]/home/robert/Documents/sources/apache/felix/jaas/src/main/java/o > rg/apache/felix/jaas/internal/ConfigSpiOsgi.java:568: Undefined > reference: Object[] java.util.Arrays.copyOf(Object[], int) > > I added the felix.java.version property with value 6 to the pom, and > this allowed the build to progress. However, the Pax-Exam tests all > fail, and the root error seems to be: > > ERROR: Bundle org.apache.felix.jaas.sample1 [21] Error starting > file:/tmp/1445505936570-0/bundles/org.apache.felix.jaas.sample1_0.jar > (org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.felix.jaas.sample1 [21]: Unable to resolve 21.0: mis > sing requirement [21.0] osgi.wiring.package; > (osgi.wiring.package=javax.security.auth)) > > org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.felix.jaas.sample1 [21]: Unable to resolve 21.0: missi > ng requirement [21.0] osgi.wiring.package; > (osgi.wiring.package=javax.security.auth) > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) > at > org.apache.felix.framework.Felix.startBundle(Felix.java:1868) > at > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLe > velImpl.java:295) > at java.lang.Thread.run(Thread.java:745) > > Is there anything more I should look into or is this a bug? > > Thanks, > > Robert >
