Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1490

The ServiceMix Maven archetypes are not being recognized as Maven Archetypes by the Nexus indexer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1, 3.2.2, 3.3
    • archetypes-2011.01
    • archetypes
    • 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:

      1. 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
      2. Add a <packaging>maven-archetype</packaging> element to each archetype's POM

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            bsnyder Bruce Snyder
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: