Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 65236 invoked from network); 13 Feb 2008 17:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 17:02:39 -0000 Received: (qmail 57949 invoked by uid 500); 13 Feb 2008 17:02:32 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 57934 invoked by uid 500); 13 Feb 2008 17:02:32 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 57925 invoked by uid 99); 13 Feb 2008 17:02:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 09:02:32 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 17:01:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5190714074 for ; Wed, 13 Feb 2008 09:01:35 -0800 (PST) Message-ID: <22870171.1202922095799.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 09:01:35 -0800 (PST) From: "Daniel Kulp (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Commented: (SM-1224) Maven archetype plugin unable to locate servicemix-* archetypes In-Reply-To: <33530505.1202921616255.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/SM-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41298#action_41298 ] Daniel Kulp commented on SM-1224: --------------------------------- This is a bug in the new archetype plugin in maven that was deployed last weekend. See discussion at: http://www.nabble.com/New-archetype-plugin-issues-questions....-to15435079s177.html A new version should hopefully be coming shortly. For a workaround, do: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ....... to lock down to the previous, working, version. > Maven archetype plugin unable to locate servicemix-* archetypes > --------------------------------------------------------------- > > Key: SM-1224 > URL: https://issues.apache.org/activemq/browse/SM-1224 > Project: ServiceMix > Issue Type: Bug > Components: archetypes > Affects Versions: 3.2.1 > Environment: Sun JDK 1.5.0_10 > Linux Debian/etch > ServiceMix 3.2.1 > Maven 2.0.8 > Reporter: Frank Trenkamp > Priority: Minor > > When creating projects from archetypes, Maven's archetype plugin is unable to locate e.g. servicemix-service-unit or servicemix-service-assembly: > ~~ > user@debian:~/dev/esb/sm$ mvn archetype:create -DarchetypeArtifactId=servicemix-service-unit -DarchetypeGroupId=org.apache.servicemix.tooling -DartifactId=tutorial-file-su > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Tutorial > [INFO] Tutorial :: SU > [INFO] Tutorial :: SA > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Tutorial > [INFO] task-segment: [archetype:create] (aggregator-style) > [INFO] ------------------------------------------------------------------------ > [INFO] Preparing archetype:create > [INFO] No goals needed for project - skipping > [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] [archetype:create] > [WARNING] Specified archetype not found. > Choose archetype: > 1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF) > 2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC) > 3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2) > 4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4) > 5: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire) > 6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF) > 7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC) > 8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2) > 9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4) > 10: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application) > 11: internal -> maven-archetype-marmalade-mojo (A Maven plugin development project using marmalade) > 12: internal -> maven-archetype-mojo (A Maven Java plugin development project) > 13: internal -> maven-archetype-portlet (A simple portlet application) > 14: internal -> maven-archetype-profiles () > 15: internal -> maven-archetype-quickstart () > 16: internal -> maven-archetype-site-simple (A simple site generation project) > 17: internal -> maven-archetype-site (A more complex site project) > 18: internal -> maven-archetype-webapp (A simple Java web application) > 19: internal -> struts2-archetype-starter (A starter Struts 2 application with Sitemesh, DWR, and Spring) > 20: internal -> struts2-archetype-blank (A minimal Struts 2 application) > 21: internal -> struts2-archetype-portlet (A minimal Struts 2 application that can be deployed as a portlet) > 22: internal -> struts2-archetype-dbportlet (A starter Struts 2 portlet that demonstrates a simple CRUD interface with db backing) > 23: internal -> struts2-archetype-plugin (A Struts 2 plugin) > 24: internal -> shale-archetype-blank (A blank Shale web application with JSF) > 25: internal -> maven-adf-archetype (Archetype to ease the burden of creating a new application based with ADF) > 26: internal -> data-app (A new Databinder application with sources and resources.) > 27: internal -> jini-service-archetype (Archetype for Jini service project creation) > 28: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype) > 29: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no persistence) Archetype) > 30: internal -> softeu-archetype-jsf (JSF+Facelets Archetype) > 31: internal -> jpa-maven-archetype (JPA application) > 32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype) > 33: internal -> confluence-plugin-archetype (Atlassian Confluence plugin archetype) > 34: internal -> maven-archetype-har (Hibernate Archive) > 35: internal -> maven-archetype-sar (JBoss Service Archive) > 36: internal -> wicket-archetype-quickstart (A simple Apache Wicket project) > Choose a number: (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36): > ~~ > Workaround: create a file "archetype-catalog.xml" with the following content in ~/.m2: > > > > > org.apache.servicemix.tooling > servicemix-service-unit > 3.2.1 > http://repo1.maven.org/maven2 > ServiceMix archetype for creating a simple SU > > > org.apache.servicemix.tooling > servicemix-service-assembly > 3.2.1 > http://repo1.maven.org/maven2 > ServiceMix archetype for creating a simple SA > > > > Call maven with an additional parameter "-DarchetypeCatalog=local" to point to the local archetype configuration. Further archetypes can be added as needed. > See also: http://www.nabble.com/Archetype-servicemix-service-unit-not-found-for-tutorial-file-su-to15436123s12049.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.