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/15 21:21:46 UTC

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

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


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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: Jean-Baptiste Onofré  (was: Achim Nierbeck)

> 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: Jean-Baptiste Onofré
>             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.


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

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-391.
--------------------------------

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

        

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: pastie-1469257.txt

Maven error messages using the patch.

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


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

Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982377#action_12982377 ] 

Sergey Zhemzhitsky commented on KARAF-391:
------------------------------------------

Thanks for applying.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982575#action_12982575 ] 

Jean-Baptiste Onofré commented on KARAF-391:
--------------------------------------------

Changes reverted: revision 1059848.

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


[jira] Work started: (KARAF-391) Ability to use features-maven-plugin:add-features-to-repo without specifying features

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-391 started by Achim Nierbeck.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982615#action_12982615 ] 

Jean-Baptiste Onofré commented on KARAF-391:
--------------------------------------------

Yeah, the NPE is provided by the bundle resolution.

I fix it and make a try.

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


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

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck resolved KARAF-391.
----------------------------------

    Resolution: Fixed

Finally fixed the issue without NP. 

revision: http://svn.apache.org/viewvc?rev=1060580&view=rev


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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982592#action_12982592 ] 

Sergey Zhemzhitsky commented on KARAF-391:
------------------------------------------

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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982573#action_12982573 ] 

Jean-Baptiste Onofré commented on KARAF-391:
--------------------------------------------

I stash some of my current change to revert your changes at least to be able to build Karaf trunk again (waiting for the fix).

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


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

Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982165#action_12982165 ] 

Sergey Zhemzhitsky commented on KARAF-391:
------------------------------------------

I have uploaded a patch that allows not to include <features> element in the configuration of the plugin.

Patch also allows to resolve bundles with explicitly specified remote maven repositories, e.g. mvn:http://repository.ops4j.org/maven2!org.ops4j.pax.web.bundles/service/0.2.0. 
Maybe such an ability will be useful for others.

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


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

Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Zhemzhitsky updated KARAF-391:
-------------------------------------

    Attachment: AddFeaturesToRepoMojo.patch

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


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

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck reassigned KARAF-391:
------------------------------------

    Assignee: Achim Nierbeck  (was: Jean-Baptiste Onofré)

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


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

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck resolved KARAF-391.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

All features from the feature descriptor will be used. 
http://svn.apache.org/viewvc?rev=1059497&view=rev

Remote Repository within URL: 
http://svn.apache.org/viewvc?rev=1059620&view=rev

Thanks for providing the patch

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


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

Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck reassigned KARAF-391:
------------------------------------

    Assignee: Achim Nierbeck

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