karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Reopened: (KARAF-391) Ability to use features-maven-plugin:add-features-to-repo without specifying features
Date Mon, 17 Jan 2011 10:20:44 GMT

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

Jean-Baptiste Onofré reopened KARAF-391:
----------------------------------------


With this change the features plugin fails with a NPE.in the features-to-repo goal.

I'm gonna investigate that :)

> Ability to use features-maven-plugin:add-features-to-repo without specifying features
> -------------------------------------------------------------------------------------
>
>                 Key: KARAF-391
>                 URL: https://issues.apache.org/jira/browse/KARAF-391
>             Project: Karaf
>          Issue Type: New Feature
>          Components: tooling
>    Affects Versions: 2.1.3
>            Reporter: Sergey Zhemzhitsky
>            Assignee: Achim Nierbeck
>             Fix For: 2.2.0
>
>         Attachments: AddFeaturesToRepoMojo.patch
>
>
> It will be nice to be able to use features-maven-plugin:add-features-to-repo without
specifying any features. In this case all features from the feature descriptor will be used.
> Example: 
>             <plugin>
>                 <groupId>org.apache.karaf.tooling</groupId>
>                 <artifactId>features-maven-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>make-repo</id>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>add-features-to-repo</goal>
>                         </goals>
>                         <configuration>
>                             <descriptors>
>                                 <descriptor>mvn:org.apache.activemq/activemq-karaf/5.4.1-fuse-01-00/xml/features</descriptor>
>                                 <descriptor>mvn:org.apache.camel.karaf/apache-camel/2.4.0-fuse-02-00/xml/features</descriptor>
>                                 <descriptor>mvn:org.apache.karaf/apache-karaf/2.0.0-fuse-02-00/xml/features</descriptor>
>                                 <descriptor>mvn:org.apache.servicemix/apache-servicemix/4.3.0-fuse-03-00/xml/features</descriptor>
>                                 <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.3.0-fuse-02-00/xml/features</descriptor>
>                                 <descriptor>mvn:org.apache.ode/ode-jbi-karaf/1.3.4/xml/features</descriptor>
>                             </descriptors>
>                             <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
>                             <failOnArtifactResolutionError>false</failOnArtifactResolutionError>
>                             <skipNonMavenProtocols>true</skipNonMavenProtocols>
>                             <repository>${project.build.directory}/repo</repository>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message