You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org> on 2011/01/17 12:10:45 UTC

[jira] Issue Comment Edited: (KARAF-391) Ability to use features-maven-plugin:add-features-to-repo without specifying features

    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982592#action_12982592 ] 

Sergey Zhemzhitsky edited comment on KARAF-391 at 1/17/11 6:09 AM:
-------------------------------------------------------------------

Hi. 
Please take a look at line 200 in the AddFeaturesToRepoMojo.java (revision 1059620).
Is it equal to 

resolveBundle(bundle, remoteRepos);

According to the line number 134 of the patch, it should be equal to

resolveBundle(bundleDescriptor, remoteRepos);


      was (Author: szhemzhitsky):
    Hi. 
Please take a look at line 200 in the AddFeaturesToRepoMojo.java (revision 1059620).
Is it equal to 

resolveBundle(bundle, remoteRepos);

According to the line number 134 of the patch in should be 

resolveBundle(bundleDescriptor, remoteRepos);

  
> 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, pastie-1469257.txt
>
>
> 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.