the Subsystem build on the latest sources fails with the following trace, doing 
clan of ~/.m2 felix resolver folders does not help.

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Aries Subsystem iTests 1.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: 
http://localhost:8081/artifactory/libs-snapshot/org/apache/felix/org.apache.felix.resolver/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
http://localhost:8081/artifactory/libs-snapshot/org/apache/felix/org.apache.felix.resolver/0.1.0-SNAPSHOT/org.apache.felix.resolver-0.1.0-SNAPSHOT.pom
[WARNING] The POM for 
org.apache.felix:org.apache.felix.resolver:jar:0.1.0-SNAPSHOT is missing, no 
dependency information available
Downloading: 
http://localhost:8081/artifactory/libs-snapshot/org/apache/felix/org.apache.felix.resolver/0.1.0-SNAPSHOT/org.apache.felix.resolver-0.1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Aries Subsystem iTests ...................... FAILURE [  2.211 s]
[INFO] Apache Aries Subsystems Bundle ..................... SKIPPED
[INFO] Apache Aries Subsystem ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.487 s


The solution would be to bump the org.apache.felix.resolver bundle version to 
1.1.0-SNAPSHOT or more appropriate version thats suitable.

The following dependency update on the subsystem iTests project made the build 
run successfully.

<dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.resolver</artifactId>
            <version>1.1.0-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <groupId>org.osgi</groupId>
                    <artifactId>org.osgi.core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.felix</groupId>
                    <artifactId>org.osgi.core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.osgi</groupId>
                    <artifactId>org.osgi.compendium</artifactId>
                </exclusion>
            </exclusions>
</dependency>

Thank you.

-Kamesh

Reply via email to