Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C8D4185CA for ; Thu, 22 Oct 2015 09:28:15 +0000 (UTC) Received: (qmail 67729 invoked by uid 500); 22 Oct 2015 09:28:15 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 67664 invoked by uid 500); 22 Oct 2015 09:28:15 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 67653 invoked by uid 99); 22 Oct 2015 09:28:14 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 09:28:14 +0000 Received: from [192.168.1.58] (unknown [109.103.80.27]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2B7A41A0181 for ; Thu, 22 Oct 2015 09:28:13 +0000 (UTC) Message-ID: <1445506090.2872.3.camel@apache.org> Subject: Building org.apache.felix.jaas fails From: Robert Munteanu To: dev@felix.apache.org Date: Thu, 22 Oct 2015 12:28:10 +0300 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.0 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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.() [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