You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/04/28 16:59:30 UTC

[jira] Created: (FELIX-1064) New goal for the features-maven-plugin: validate a features xml file

New goal for the features-maven-plugin: validate a features xml file
--------------------------------------------------------------------

                 Key: FELIX-1064
                 URL: https://issues.apache.org/jira/browse/FELIX-1064
             Project: Felix
          Issue Type: Improvement
          Components: Karaf
            Reporter: Guillaume Nodet


We should add a goal to the features-maven-plugin to validate the features xml file:

    * do all the bundles exist?
    * are all the imports from the bundles resolved?

Most of the code for reading manifest and looking up the bundles is already available in the features-maven-plugin' generate-features-xml Mojo.

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


[jira] Commented: (FELIX-1064) New goal for the features-maven-plugin: validate a features xml file

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767479#action_12767479 ] 

Gert Vanthienen commented on FELIX-1064:
----------------------------------------

Improving the validate goal to deal with maven repositories specified in the bundle url
cfr. http://svn.apache.org/viewvc?view=revision&revision=826783

> New goal for the features-maven-plugin: validate a features xml file
> --------------------------------------------------------------------
>
>                 Key: FELIX-1064
>                 URL: https://issues.apache.org/jira/browse/FELIX-1064
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Gert Vanthienen
>             Fix For: karaf-1.0.2, karaf-1.2.0
>
>
> We should add a goal to the features-maven-plugin to validate the features xml file:
>     * do all the bundles exist?
>     * are all the imports from the bundles resolved?
> Most of the code for reading manifest and looking up the bundles is already available in the features-maven-plugin' generate-features-xml Mojo.

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


[jira] Resolved: (FELIX-1064) New goal for the features-maven-plugin: validate a features xml file

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

Gert Vanthienen resolved FELIX-1064.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.2.0
                   karaf-1.0.2

The new plugin goal has been added in http://svn.apache.org/viewvc?view=revision&revision=826062

The new goal can be used by adding this plugin configuration to the build section:
{code:xml}
        <plugin>
          <groupId>org.apache.felix.karaf.tooling</groupId>
          <artifactId>features-maven-plugin</artifactId>
          <version>1.1.0-SNAPSHOT</version>
          <executions>
             <execution>
                <id>validate</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>validate</goal>
                </goals>
             </execution>
          </executions>
        </plugin>
{code>

> New goal for the features-maven-plugin: validate a features xml file
> --------------------------------------------------------------------
>
>                 Key: FELIX-1064
>                 URL: https://issues.apache.org/jira/browse/FELIX-1064
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Gert Vanthienen
>             Fix For: karaf-1.0.2, karaf-1.2.0
>
>
> We should add a goal to the features-maven-plugin to validate the features xml file:
>     * do all the bundles exist?
>     * are all the imports from the bundles resolved?
> Most of the code for reading manifest and looking up the bundles is already available in the features-maven-plugin' generate-features-xml Mojo.

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


[jira] Assigned: (FELIX-1064) New goal for the features-maven-plugin: validate a features xml file

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

Gert Vanthienen reassigned FELIX-1064:
--------------------------------------

    Assignee: Gert Vanthienen

> New goal for the features-maven-plugin: validate a features xml file
> --------------------------------------------------------------------
>
>                 Key: FELIX-1064
>                 URL: https://issues.apache.org/jira/browse/FELIX-1064
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Gert Vanthienen
>
> We should add a goal to the features-maven-plugin to validate the features xml file:
>     * do all the bundles exist?
>     * are all the imports from the bundles resolved?
> Most of the code for reading manifest and looking up the bundles is already available in the features-maven-plugin' generate-features-xml Mojo.

-- 
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: (FELIX-1064) New goal for the features-maven-plugin: validate a features xml file

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766681#action_12766681 ] 

Gert Vanthienen edited comment on FELIX-1064 at 10/16/09 1:11 PM:
------------------------------------------------------------------

The new plugin goal has been added in http://svn.apache.org/viewvc?view=revision&revision=826062

The new goal can be used by adding this plugin configuration to the build section:
{code:xml}
        <plugin>
          <groupId>org.apache.felix.karaf.tooling</groupId>
          <artifactId>features-maven-plugin</artifactId>
          <version>1.1.0-SNAPSHOT</version>
          <executions>
             <execution>
                <id>validate</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>validate</goal>
                </goals>
             </execution>
          </executions>
        </plugin>
{code}

      was (Author: gertvanthienen):
    The new plugin goal has been added in http://svn.apache.org/viewvc?view=revision&revision=826062

The new goal can be used by adding this plugin configuration to the build section:
{code:xml}
        <plugin>
          <groupId>org.apache.felix.karaf.tooling</groupId>
          <artifactId>features-maven-plugin</artifactId>
          <version>1.1.0-SNAPSHOT</version>
          <executions>
             <execution>
                <id>validate</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>validate</goal>
                </goals>
             </execution>
          </executions>
        </plugin>
{code>
  
> New goal for the features-maven-plugin: validate a features xml file
> --------------------------------------------------------------------
>
>                 Key: FELIX-1064
>                 URL: https://issues.apache.org/jira/browse/FELIX-1064
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Gert Vanthienen
>             Fix For: karaf-1.0.2, karaf-1.2.0
>
>
> We should add a goal to the features-maven-plugin to validate the features xml file:
>     * do all the bundles exist?
>     * are all the imports from the bundles resolved?
> Most of the code for reading manifest and looking up the bundles is already available in the features-maven-plugin' generate-features-xml Mojo.

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