Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-66

The archetype:create goal ignores activated profiles in local settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Because Incubating projects at the ASF cannot publish releases to the central repo, I've created and activated a profile for the Apache Incubating repo. But it appears that the archetype:create goal doesn't recognize this profile at all. Below is the command I'm using:

      mvn archetype:create \
      -DarchetypeGroupId=org.apache.servicemix.tooling \
      -DarchetypeArtifactId=servicemix-binding-component \
      -DarchetypeVersion=3.1-incubating \
      -DgroupId=org.apache.servicemix.samples.helloworld.bc \
      -DartifactId=hello-world-bc

      I'm also attaching the debug log output that shows Maven is only searching the central repo instead of also searching the Incubating repo listed in the profile.

      Attachments

        1. mvn.log
          18 kB
          Bruce Snyder

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bsnyder Bruce Snyder
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: