Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.1, 3.2.2, 3.3
-
None
Description
Problem
When the central repo is indexed by Nexus, the MinimalArtifactInfoIndexCreator scans for archetypes by looking for one of the following items:
- <packaging>maven-archetype</packaging>
- A groupId that contains the word 'archetype'
- An artifactId that contains the word 'archetype'
Because the ServiceMix archetypes do not meet any of this criteria, they are not properly indexed and therefore are not listed in the m2eclipse.
Proposed Fixes
Either one of the following suggestions should fix the problem:
- To fix this in the both the 3.2 branch and the trunk, we could change either the groupId or artifactId to contain the word 'archetype'. I propose that the groupId for the archetypes be changed from org.apache.servicemix.tooling to org.apache.servicemix.tooling.archetypes or just simple org.apache.servicemix.archetypes. Either of these changes will be enough to cause the Nexus indexer to properly recognize the archetypes as such.
OR - Add a <packaging>maven-archetype</packaging> element to each archetype's POM
Attachments
There are no Sub-Tasks for this issue.