Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
717
Description
Jenkins Verify job for hydrogen/stable release branch is executing with following goals: "mvn clean install -Pintegrationtests,doc"
while building distribution component, build fails with following error message:
!ENTRY org.opendaylight.controller.config-persister-impl 4 0 2014-04-10 21:12:05.850
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.opendaylight.controller.config-persister-impl_0.2.4.1-SNAPSHOT [159]" could not be resolved. Reason: Missing Constraint: Require-Capability: org.opendaylight.controller.config.persister.storage.adapter
See link below for entire error message:
https://jenkins.opendaylight.org/controller/job/controller-verify/4528/console
After analyzing the failure, issue seems to be in opendaylight/config/config-persister-directory-adapter/pom.xml and the snippet:
<plugins>
<!-- workaround for creating version according to OSGi specification (major.minor.micro[.qualifier] -->
<plugin>
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
System.setProperty("osgiversion", "${project.version}".replace('-', '.'))
</source>
</configuration>
</execution>
</executions>
</plugin>
on stable branch we have versioning scheme as 0.2.4-1-SNAPSHOT which is being replaced as 0.2.4.1 and we will not be able to find it.