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

Reply via email to