You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/05/19 16:52:47 UTC

[jira] [Created] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

features-maven-plugin should "embed" the Karaf features descriptor
------------------------------------------------------------------

                 Key: KARAF-651
                 URL: https://issues.apache.org/jira/browse/KARAF-651
             Project: Karaf
          Issue Type: Improvement
          Components: tooling
            Reporter: Jean-Baptiste Onofré
             Fix For: 2.2.2, 3.0.0


To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:

<repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>

It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.

It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

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

    Fix Version/s:     (was: 3.0.0)

I defined a features descriptor which looks like:

<?xml version="1.0" encoding="UTF-8"?>
<features>

    <feature name="my" version="1.0">
        <feature>http</feature>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dbunit/2.2_1-SNAPSHOT</bundle>
    </feature>

</features>

The validation works fine using karaf-maven-plugin 3.0.0-SNAPSHOT but fails using Karaf 2.2.1 features-maven-plugin.

So the issue is local to karaf-2.2.x branch.

> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

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

    Assignee: Jean-Baptiste Onofré

> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2, 3.0.0
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

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

Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x ...
        M       manual/src/main/webapp/developers-guide/features-maven-plugin-validate.conf
        M       tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateFeaturesMojo.java
Committed r1129620


> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

Jean-Baptiste Onofré resolved KARAF-651.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
        R       manual/src/main/webapp/developers-guide/features-maven-plugin-add.conf => manual/src/main/webapp/developers-guide/karaf-maven-plugin-add.conf
        R       manual/src/main/webapp/developers-guide/features-maven-plugin-generate.conf => manual/src/main/webapp/developers-guide/karaf-maven-plugin-generate.conf
        R       manual/src/main/webapp/developers-guide/features-maven-plugin-validate.conf => manual/src/main/webapp/developers-guide/karaf-maven-plugin-validate.conf
        D       manual/src/main/webapp/developers-guide/features-maven-plugin.conf
        M       manual/src/main/webapp/developers-guide/index.conf
        A       manual/src/main/webapp/developers-guide/karaf-maven-plugin.conf
        M       tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateFeaturesMojo.java
Committed r1129650


> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2, 3.0.0
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

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

This issue is hidden on 3.0.0-SNAPSHOT with Aether protocol usage but it still presents. I will apply the fix there also.

> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

Work on KARAF-651 started by Jean-Baptiste Onofré.

> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (KARAF-651) features-maven-plugin should "embed" the Karaf features descriptor

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

Jamie goodyear closed KARAF-651.
--------------------------------


Fixed in Apache Karaf 2.2.2.

> features-maven-plugin should "embed" the Karaf features descriptor
> ------------------------------------------------------------------
>
>                 Key: KARAF-651
>                 URL: https://issues.apache.org/jira/browse/KARAF-651
>             Project: Karaf
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.2, 3.0.0
>
>
> To be compatible with several Karaf versions, projects (such as Camel or CXF) should remove:
> <repositories>mvn:org.apache.karaf.assemblies.features/standard/2.2.0/xml/features</repositories>
> It's an expected behavior as the Karaf features are available by default in the Karaf runtime. Only "external" features descriptor should be defined in <repositories/> section.
> It means that the features-maven-plugin should "embed" the Karaf features descriptor and use it be default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira