[
https://issues.apache.org/jira/browse/KARAF-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698120#comment-13698120
]
Jean-Baptiste Onofré commented on KARAF-2254:
---------------------------------------------
I tried the following (on Karaf 2.3.2-SNAPSHOT):
- create the project using:
mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes
-DarchetypeArtifactId=karaf-feature-archetype -DarchetypeVersion=2.3.2-SNAPSHOT
-DgroupId=my.company -DartifactId=my.features -Dversion=1.0-SNAPSHOT
-Dpackage=my.package
- I updated the pom.xml to add a dependency
The features.xml generated by the MOJO doesn't contain namespace. So I'm not
able to reproduce the issue.
> karaf-feature-archetype generates a feature.xml file which can not be add to
> featureUrl
> ---------------------------------------------------------------------------------------
>
> Key: KARAF-2254
> URL: https://issues.apache.org/jira/browse/KARAF-2254
> Project: Karaf
> Issue Type: Bug
> Components: karaf-feature
> Affects Versions: 2.3.0
> Environment: karaf 2.3.0
> Reporter: xuzhen
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.3.2
>
>
> I use karaf-feature-archetype to generate a feature.xml
> And the xmlns is "http://karaf.apache.org/xmlns/features/v1.2.0"
> And this feature.xml cannot be add to feature url.
> I have read the code , I think it is because it can not accept v1.2.0.
> So I changed the xmlns to http://karaf.apache.org/xmlns/features/v1.0.0
> It worked!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira