[ http://jira.codehaus.org/browse/ARCHETYPE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak moved MNG-2862 to ARCHETYPE-66: ------------------------------------------- Affects Version/s: (was: 2.0.5) Complexity: (was: Intermediate) Key: ARCHETYPE-66 (was: MNG-2862) Project: Maven Archetype (was: Maven 2) > The archetype:create goal ignores activated profiles in local settings.xml > --------------------------------------------------------------------------- > > Key: ARCHETYPE-66 > URL: http://jira.codehaus.org/browse/ARCHETYPE-66 > Project: Maven Archetype > Issue Type: Bug > Reporter: Bruce Snyder > Attachments: mvn.log > > > 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|http://incubator.apache.org/servicemix/4-examples.html#4.Examples-Mavenconfiguration]. > But it appears that the {{archetype:create}} goal doesn't recognize this > profile at all. Below is the command I'm using: > {panel} > 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 > {panel} > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira