karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1680) org.apache.karaf:apache-karaf:2.2.8:xml:features artifact is not available, for building custom Karaf
Date Fri, 27 Jul 2012 23:17:33 GMT

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

Hendy Irawan updated KARAF-1680:
--------------------------------

    Description: 
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}


  was:
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.

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}


    
> 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, karaf-feature
>    Affects Versions: 2.2.8
>            Reporter: Hendy Irawan
>
> 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

        

Mime
View raw message