[ http://jira.codehaus.org/browse/MNG-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Snyder closed MNG-2862. ----------------------------- Resolution: Won't Fix Thanks for the tip, Wendy! > The archetype:create goal ignores activated profiles in local settings.xml > --------------------------------------------------------------------------- > > Key: MNG-2862 > URL: http://jira.codehaus.org/browse/MNG-2862 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0.5 > 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