karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriraman Gopalan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2979) wrong featuresRepositories urls while generating custom distribution.
Date Tue, 13 May 2014 13:08:14 GMT
Sriraman Gopalan created KARAF-2979:
---------------------------------------

             Summary: wrong featuresRepositories urls while generating custom distribution.
                 Key: KARAF-2979
                 URL: https://issues.apache.org/jira/browse/KARAF-2979
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 3.0.1
         Environment: Operating System:

Linux slnn179 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64
GNU/Linux

JDK:

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

            Reporter: Sriraman Gopalan


While creating a custom distribution with a couple of pre-installed features as shown below,
the final tar.gz contains wrong versions of feature repositories.

POM:

<plugin>
	<groupId>org.apache.karaf.tooling</groupId>
	<artifactId>karaf-maven-plugin</artifactId>
	<version>3.0.1</version>
	<extensions>true</extensions>
	<configuration>
           <bootFeatures>
		<feature>standard</feature>
		<feature>management</feature>
		<feature>scr</feature>
		<feature>wrapper</feature>
		<feature>myfeature</feature>
	    </bootFeatures>
	</configuration>
</plugin>


Generated entries in org.apache.karaf.features.cfg:

featuresRepositories=mvn:org.apache.karaf.features/standard/3.0.0/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.0/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.0.5/xml/features,mvn:org.apache.karaf.features/spring/3.0.0/xml/features

Should have been:

featuresRepositories=mvn:org.apache.karaf.features/standard/3.0.1/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.1/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.1.0/xml/features,mvn:org.apache.karaf.features/spring/3.0.1/xml/features





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message