karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2979) wrong featuresRepositories urls while generating custom distribution.
Date Tue, 07 Nov 2017 11:28:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Grzybek updated KARAF-2979:
------------------------------------
    Description: 
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:
{code:xml}
<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>
{code}

Generated entries in org.apache.karaf.features.cfg:
{noformat}
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
{noformat}

Should have been:
{noformat}
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
{noformat}



  was:
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:
{code:xml}
<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>
{code}

Generated entries in org.apache.karaf.features.cfg:
{noformat}
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
{noformat}

Should have been:
{noformat}
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
{noformat}




> 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
>            Assignee: Jean-Baptiste Onofré
>
> 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:
> {code:xml}
> <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>
> {code}
> Generated entries in org.apache.karaf.features.cfg:
> {noformat}
> 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
> {noformat}
> Should have been:
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message