You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/07/28 19:54:34 UTC

[jira] [Resolved] (KARAF-1680) org.apache.karaf:apache-karaf:2.2.8:xml:features artifact is not available, for building custom Karaf

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

Jean-Baptiste Onofré resolved KARAF-1680.
-----------------------------------------

    Resolution: Fixed
    
> org.apache.karaf:apache-karaf:2.2.8:xml:features artifact is not available, for building custom Karaf
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1680
>                 URL: https://issues.apache.org/jira/browse/KARAF-1680
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-documentation
>    Affects Versions: 2.2.8
>            Reporter: Hendy Irawan
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.9, 2.3.0
>
>
> According to http://karaf.apache.org/manual/2.2.8/developers-guide/custom-distribution.html :
> {code}
>     <dependency>
>       <groupId>org.apache.karaf</groupId>
>       <artifactId>apache-karaf</artifactId>
>       <version>2.2.8</version>
>       <type>xml</type>
>       <classifier>features</classifier>
>     </dependency>
> {code}
> However, the artifact cannot be found in Maven central.
> Probable workaround :
> This seems to be the closest relevant artifact. I'm trying it now, but I'm yet not sure it will work...
> {code}
> <dependency>
> 	<groupId>org.apache.karaf.assemblies.features</groupId>
> 	<artifactId>standard</artifactId>
> 	<version>${karaf.version}</version>
> 	<type>xml</type>
> 	<classifier>features</classifier>
> </dependency>
> {code}
> plugins section :
> {code}
> <plugin>
> 	<groupId>org.apache.karaf.tooling</groupId>
> 	<artifactId>features-maven-plugin</artifactId>
> 	<version>${karaf.version}</version>
> 	<executions>
> 		<execution>
> 			<id>add-features-to-repo</id>
> 			<phase>generate-resources</phase>
> 			<goals>
> 				<goal>add-features-to-repo</goal>
> 			</goals>
> 			<configuration>
> 				<descriptors>
> 					<descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor>
> 					<descriptor>file:${project.basedir}/target/classes/soluvas-content-features.xml</descriptor>
> 				</descriptors>
> 				<features>
> 					<feature>soluvas-content-feature</feature>
> 				</features>
> 			</configuration>
> 		</execution>
> 	</executions>
> </plugin>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira