读书人

maven项目原形可以通过选择生成而不

发布时间: 2012-07-15 20:20:06 作者: rapoo

maven项目原型可以通过选择生成,而不用具体在命令中指定。
用maven很久了,但刚刚才发现的一个特点,因为以前都是手工全部敲在命令行中。这是个很简单却很实用的特性,相信还有许多朋友不知道这么一个特性,所以特意。。。。。。

敲入:mvn archetype:generate,它会把所有可用的原型给列出来,如下:
as AppFuse's JSF implementation.)
252: remote -> appfuse-modular-spring (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Spring MVC implementation.)
253: remote -> appfuse-modular-struts (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Struts implementation.)
254: remote -> appfuse-modular-tapestry (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Tapestry implementation.)
255: remote -> appfuse-basic-jsf (Maven 2 archetype that creates a web application with AppFuse embedded in it.)
256: remote -> appfuse-basic-jsf-archetype (-)
257: remote -> appfuse-basic-spring (Maven 2 archetype that creates a web application with AppFuse embedded in it.)
258: remote -> appfuse-basic-spring-archetype (-)
259: remote -> appfuse-basic-struts (Maven 2 archetype that creates a web application with AppFuse embedded in it.)
260: remote -> appfuse-basic-struts-archetype (-)
261: remote -> appfuse-basic-tapestry (Maven 2 archetype that creates a web application with AppFuse embedded in it.)
262: remote -> appfuse-basic-tapestry-archetype (-)
263: remote -> appfuse-core (Maven 2 archetype that creates a backend (Managers, DAOs and Web Services)
application with AppFuse embedded in it.)
264: remote -> appfuse-core-archetype (-)
265: remote -> appfuse-light-jsf-archetype (-)
266: remote -> appfuse-light-spring-archetype (-)
267: remote -> appfuse-light-spring-freemarker-archetype (-)
268: remote -> appfuse-light-spring-security-archetype (-)
269: remote -> appfuse-light-stripes-archetype (-)
270: remote -> appfuse-light-struts-archetype (-)
271: remote -> appfuse-light-tapestry-archetype (-)
272: remote -> appfuse-light-wicket-archetype (-)
273: remote -> appfuse-modular-jsf (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's JSF implementation.)
274: remote -> appfuse-modular-jsf-archetype (-)
275: remote -> appfuse-modular-spring (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Spring MVC implementation.)
276: remote -> appfuse-modular-spring-archetype (-)
277: remote -> appfuse-modular-struts (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Struts implementation.)
278: remote -> appfuse-modular-struts-archetype (-)
279: remote -> appfuse-modular-tapestry (Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's Tapestry implementation.)
280: remote -> appfuse-modular-tapestry-archetype (-)
281: remote -> appfuse-ws-archetype (-)
282: remote -> cimande-archetype (-)
283: remote -> cimande-archetype-blank (-)
284: remote -> drools4-integration-helper-archetype (Support of the archetype for the Maven plugin)
285: remote -> drools5-integration-helper-archetype (This is an Maven 2 Archetype to support creation of a ready to
use Maven 2 project with Drools support. This archetype contains
examples of code based on interface, classes and pre/post
condition. JUnit 4 examples are also included.)
286: remote -> cargo-archetype-remote-deployment (Sample Maven archetype showing how to configure Cargo and Maven to generate a webapp and deploy
it to a remote container.)
287: remote -> cargo-archetype-webapp-functional-tests-module (Sample Maven archetype showing how to configure Cargo and Maven to run functional tests
for a webapp by creating a separate functional-tests module.)
288: remote -> cargo-archetype-webapp-single-module (Sample Maven archetype showing how to configure Cargo and Maven to run functional tests
directly from a single webapp module.)
289: remote -> cargo-archetype-webapp-with-datasource (Sample Maven archetype showing how to configure Cargo and Maven to run functional tests
directly from a webapp with datasource. Cargo will be used to configure the datasource on the
container.)
290: remote -> codegen-testcase (-)
291: remote -> cpa-testcase (-)
292: remote -> enunciate-simple-archetype (-)
293: remote -> gmaven-archetype-basic (-)
294: remote -> gmaven-archetype-mojo (-)
295: remote -> gmaven-archetype-basic (-)
296: remote -> gmaven-archetype-mojo (-)
297: remote -> maven-archetype-nbm (Archetype for Netbeans Modules Maven setup)
298: remote -> gwt-maven-plugin (Maven plugin for the Google Web Toolkit.)
299: remote -> latex-maven-archetype (-)
300: remote -> xmlbeans-maven-plugin (Runs the xmlbeans parser/code generator against schemas in files and dependent jars.)
301: remote -> appclient-javaee6 (-)
302: remote -> appclient-jee5 (-)
303: remote -> appframework (Archetype for creating application based on JSR 296)
304: remote -> ear-j2ee14 (-)
305: remote -> ear-javaee6 (-)
306: remote -> ear-jee5 (-)
307: remote -> ejb-j2ee13 (-)
308: remote -> ejb-j2ee14 (-)
309: remote -> ejb-javaee6 (-)
310: remote -> ejb-jee5 (-)
311: remote -> nbm-archetype (-)
312: remote -> nbm-osgi-archetype (Archetype for development of NetBeans modules that can depend on OSGi bundles.)
313: remote -> nbm-suite-root (-)
314: remote -> netbeans-platform-app-archetype (-)
315: remote -> osgi-archetype (-)
316: remote -> pom-root (Root project archetype for creating multi module projects)
317: remote -> webapp-j2ee13 (-)
318: remote -> webapp-j2ee14 (-)
319: remote -> webapp-javaee6 (-)
320: remote -> webapp-jee5 (-)
321: remote -> groovy-maven-archetype (An archetype for creating Maven modules/projects using the Groovy language.)
322: remote -> groovy-mojo-archetype (An archetype for writing Maven 2 plugins in the Groovy language.)
323: remote -> org.openxma.dsl.sample-archetype (-)
324: remote -> sonar-basic-plugin-archetype (Maven archetype to create a basic Sonar plugin)
325: remote -> sonar-gwt-plugin-archetype (Maven archetype to create a Sonar plugin including GWT pages)
326: remote -> cometd-archetype-dojo-jetty6 (-)
327: remote -> cometd-archetype-dojo-jetty7 (-)
328: remote -> cometd-archetype-jquery-jetty6 (-)
329: remote -> cometd-archetype-jquery-jetty7 (-)
330: remote -> cometd-archetype-spring-dojo-jetty7 (-)
331: remote -> cometd-archetype-spring-jquery-jetty7 (-)
332: remote -> coos-plugin-actor (-)
333: remote -> coos-plugin-api (-)
334: remote -> coos-plugin-noapi (-)
335: remote -> duel-mvc-archetype (MVC project archetype using Jersey 1.9, Guice 3.0, DUEL views 0.6.3, DUEL merge 0.3.1)
336: remote -> war-bootstrap-archetype (-)
337: remote -> jee6-basic-archetype (-)
338: remote -> jee6-minimal-archetype (-)
339: remote -> jee6-sandbox-archetype (-)
340: remote -> jee6-sandbox-demo-archetype (-)
341: remote -> jee6-servlet-basic-archetype (-)
342: remote -> jee6-servlet-demo-archetype (-)
343: remote -> jee6-servlet-minimal-archetype (-)
344: remote -> jee6-servlet-sandbox-archetype (-)
345: remote -> spring-jsf-jpa-archetype (-)
346: remote -> spring-mvc-jpa-archetype (-)
347: remote -> spring-mvc-jpa-demo-archetype (-)
348: remote -> scalate-archetype-empty (An archetype which creates an empty Scalate web application)
349: remote -> scalate-archetype-guice (An archetype which creates an empty Scalate Guice web application)
350: remote -> scalate-archetype-jersey (An archetype which creates an empty Scalate web application)
351: remote -> scalate-archetype-sitegen (An archetype which creates an empty Scalate static website generation project)
352: remote -> geomajas-gwt-archetype (-)
353: remote -> geomajas-plugin-archetype (-)
354: remote -> geoserver-archetype-wfsoutputformat (-)
355: remote -> grails-maven-archetype (-)
356: remote -> graniteds-spring-jpa-hibernate (Base project with Flex 4.5, Spring 3 and Hibernate using GraniteDS with RemoteObject API.)
357: remote -> graniteds-tide-cdi-jpa (Base project with Flex 4.5 and CDI using GraniteDS with the Tide API.)
358: remote -> graniteds-tide-seam-jpa-hibernate (Base project with Flex 4.5, JBoss Seam 2.2 and Hibernate using GraniteDS with the Tide API.)
359: remote -> graniteds-tide-spring-jpa-hibernate (Base project with Flex 4.5, Spring 3 and Hibernate using GraniteDS with the Tide API.)
360: remote -> hibernate-search-quickstart (-)
361: remote -> hibernate-validator-quickstart-archetype (-)
362: remote -> imixs-workflow-jee-archetype (Imixs Workflow JEE Archetype provides a JEE Sample Application)
363: remote -> jsr286-archetype (-)
364: remote -> jbehave-groovy-archetype (An archetype to run multiple textual stories with steps classes written in Groovy.)
365: remote -> jbehave-guice-archetype (An archetype to run multiple textual stories configured programmatically but with steps classes composed using Guice.)
366: remote -> jbehave-pico-archetype (An archetype to run multiple textual stories configured programmatically but with steps classes composed using Pico.)
367: remote -> jbehave-simple-archetype (An archetype to run multiple textual stories configured programmatically.)
368: remote -> jbehave-spring-archetype (An archetype to run multiple textual stories configured programmatically but with steps classes composed using Spring.)
369: remote -> jboss-as-subsystem (An archetype that generates a skeleton project for implementing a JBoss AS 7 subsystem)
370: remote -> jboss-javaee6-ear-webapp (An archetype that generates a starter Java EE 6 webapp project for JBoss AS 7. The project is an EAR, with an EJB-JAR and WAR)
371: remote -> jboss-javaee6-webapp (An archetype that generates a starter Java EE 6 webapp project for JBoss AS 7)
372: remote -> spring-mvc-webapp (An archetype that generates a starter Spring MVC application with Java EE persistence settings (server bootstrapped JPA, JTA transaction management) for JBoss AS7)
373: remote -> jboss-javaee6-webapp (-)
374: remote -> jboss-jsf-weld-servlet-webapp (-)
375: remote -> weld-jsf-jee (Weld archetype for creating a Java EE 6 application using JSF 2.0, CDI 1.0, EJB 3.1 and JPA 2.0 (persistence unit included))
376: remote -> weld-jsf-jee-minimal (Weld archetype for creating a minimal Java EE 6 application using JSF 2.0, CDI 1.0 and EJB 3.1 (persistence unit not included))
377: remote -> weld-jsf-servlet-minimal (Weld archetype for creating an application using JSF 2.0 and CDI 1.0 for Servlet Containers (Tomcat 6 / Jetty 6))
378: remote -> org.jbundle.config.archetype (-)
379: remote -> jbundle-util-webapp-cgi-archetype (-)
380: remote -> jbundle-util-webapp-files-archetype (-)
381: remote -> jbundle-util-webapp-proxy-archetype (-)
382: remote -> jbundle-util-webapp-redirect-archetype (-)
383: remote -> jbundle-util-webapp-upload-archetype (-)
384: remote -> jbundle-util-webapp-webdav-archetype (-)
385: remote -> jbundle-util-webapp-website-archetype (-)
386: remote -> jbundle-util-webapp-webstart-archetype (-)
387: remote -> jbundle-util-webapp-webstart-reactor-archetype (-)
388: remote -> org.jbundle.util.webapp.cgi-archetype (-)
389: remote -> org.jbundle.util.webapp.files-archetype (-)
390: remote -> org.jbundle.util.webapp.proxy-archetype (-)
391: remote -> org.jbundle.util.webapp.redirect-archetype (-)
392: remote -> org.jbundle.util.webapp.upload-archetype (-)
393: remote -> org.jbundle.util.webapp.webdav-archetype (-)
394: remote -> org.jbundle.util.webapp.website-archetype (-)
395: remote -> jclouds-compute-service-archetype (Maven archetype for a provider of a Compute service)
396: remote -> jclouds-rest-client-archetype (Maven archetype for a provider of a rest-speaking service)
397: remote -> jibx-ota-osgi-archetype (-)
398: remote -> opentravel-archetype (-)
399: remote -> opentravel-archetype (-)
400: remote -> jini-service-archetype (Archetype for Jini service project creation)
401: remote -> maven-hpi-plugin (Maven2 plugin for developing Hudson plugins)
402: remote -> makumba-archetype (Archetype for a makumba web-application)
403: remote -> jetty-archetype-assembler (-)
404: remote -> jetty-archetype-fileserver (-)
405: remote -> ibean-archetype (An archetype for creating an empty ibean maven project)
406: remote -> ibean-archetype (-)
407: remote -> mule-catalog-archetype (-)
408: remote -> mule-cloud-connector-archetype (-)
409: remote -> mule-example-archetype (An archetype for creating a Mule example application.)
410: remote -> mule-module-archetype (An architype for creating a Mule Module. It provides options for adding certain mule features and configuring the
module for Muleforge.)
411: remote -> mule-project-archetype (An architype for creating Mule applications.)
412: remote -> mule-transport-archetype (Archetype for Mule 2.0 and above transport projects.)
413: remote -> multiverse-project-archetype (Skeleton for a project using Multiverse)
414: remote -> application-archetype (-)
415: remote -> remoting-support (-)
416: remote -> application (-)
417: remote -> hibernate-support (-)
418: remote -> html-war (-)
419: remote -> htmlviewer-war (-)
420: remote -> application (-)
421: remote -> icons (-)
422: remote -> bundle-archetype (-)
423: remote -> maven-archetype-cecilia-app (This archetype is useful to quick start Cecilia applications,
having a source tree template already filled.)
424: remote -> maven-archetype-cecilia-application (This archetype is useful to quick start Cecilia applications, having a
source tree template already filled.)
425: remote -> maven-archetype-cecilia-library (This archetype is useful to quick start Cecilia components library
projects, having a source tree template already filled.)
426: remote -> maven-archetype-petals-jbi-binding-component (>This project is Maven 2 archetype associated to a JBI binding component project.)
427: remote -> maven-archetype-petals-jbi-service-assembly (This project is Maven 2 archetype associated to a JBI service assembly project.)
428: remote -> maven-archetype-petals-jbi-service-engine (This project is Maven 2 archetype associated to a JBI service engine project.)
429: remote -> maven-archetype-petals-jbi-service-unit (This project is Maven 2 archetype associated to a JBI service unit project.)
430: remote -> admin-archetype (-)
431: remote -> coweb-archetype (-)
432: remote -> openengsb-tooling-archetypes-connector (Archetype to produce new Connector project)
433: remote -> openengsb-tooling-archetypes-domain (Archetype to produce new Domain project)
434: remote -> org.openengsb.tooling.archetypes.connector (Archetype to produce new Connector project)
435: remote -> org.openengsb.tooling.archetypes.domain (Archetype to produce new Domain project)
436: remote -> org.openengsb.tooling.archetypes.clientproject.root (Archetype to produce new client project)
437: remote -> openl-simple-project (-)
438: remote -> maven-archetype-osgi-bundle (-)
439: remote -> maven-archetype-osgi-project (-)
440: remote -> maven-archetype-osgi-service (-)
441: remote -> maven-archetype-osgi-wrapper (-)
442: remote -> maven-archetype-spring-bean (-)
443: remote -> maven-archetype-paxexam-junit ()
444: remote -> kerneos-module-archetype (-)
445: remote -> kerneos-war-archetype (-)
446: remote -> camel-archetype-simple-route (-)
447: remote -> kerneos-application-archetype (-)
448: remote -> kerneos-module-archetype (-)
449: remote -> orchestra-extension-archetype (Generates extensions for Orchestra)
450: remote -> maven-archetype-petals-jbi-binding-component (This project is Maven 2 archetype associated to a JBI binding component project.)
451: remote -> maven-archetype-petals-jbi-service-assembly (This project is Maven 2 archetype associated to a JBI service assembly project.)
452: remote -> maven-archetype-petals-jbi-service-engine (This project is Maven 2 archetype associated to a JBI service engine project.)
453: remote -> maven-archetype-petals-jbi-service-unit (This project is Maven 2 archetype associated to a JBI service unit project.)
454: remote -> maven-archetype-petals-jbi-shared-library (This project is Maven 2 archetype associated to a JBI Shared Library project.)
455: remote -> weblab-archetype-analyser (The Archetype used to generate a stub for analyser. This should be called through the weblab-archetype-plugin and not directly.)
456: remote -> weblab-archetype-configurable (The Archetype used to generate a stub for configurable. This should be called through the weblab-archetype-plugin and not directly.)
457: remote -> weblab-archetype-indexer (The Archetype used to generate a stub for indexer. This should be called through the weblab-archetype-plugin and not directly.)
458: remote -> weblab-archetype-queuemanager (The Archetype used to generate a stub for queuemanager. This should be called through the weblab-archetype-plugin and not directly.)
459: remote -> weblab-archetype-reportprovider (The Archetype used to generate a stub for reportprovider. This should be called through the weblab-archetype-plugin and not directly.)
460: remote -> weblab-archetype-resourcecontainer (The Archetype used to generate a stub for resourcecontainer. This should be called through the weblab-archetype-plugin and not directly.)
461: remote -> weblab-archetype-resources (The Archetype used to generate a stub for any WebLab service. It should be used in conjunction with interfaces specific archetypes. This should be called through the weblab-archetype-plugin and not directly.)
462: remote -> weblab-archetype-searcher (The Archetype used to generate a stub for searcher. This should be called through the weblab-archetype-plugin and not directly.)
463: remote -> weblab-archetype-sourcereader (The Archetype used to generate a stub for sourcereader. This should be called through the weblab-archetype-plugin and not directly.)
464: remote -> weblab-archetype-trainable (The Archetype used to generate a stub for trainable. This should be called through the weblab-archetype-plugin and not directly.)
465: remote -> parallelj-archetype (-)
466: remote -> parancoe-pluginarchetype (-)
467: remote -> parancoe-webarchetype (-)
468: remote -> pustefix-archetype-application (Pustefix Archetype for Applications)
469: remote -> pustefix-archetype-basic (Pustefix archetype creating a basic application)
470: remote -> pustefix-archetype-module (Pustefix Archetype for Modules)
471: remote -> cfg-module (-)
472: remote -> liftweb-archetype-blank (Archetype - blank project for liwftweb)
473: remote -> liftweb-archetype-hellolift (Archetype - hellolift sample liwftweb application)
474: remote -> scala-archetype-simple (The maven-scala-plugin is used for compiling/testing/running/documenting scala code in maven.)
475: remote -> slf4j-archetype (The slf4j Archetype)
476: remote -> flexmojos-archetypes-application (-)
477: remote -> flexmojos-archetypes-library (-)
478: remote -> flexmojos-archetypes-modular-webapp (-)
479: remote -> nexus-plugin-archetype (-)
480: remote -> spring-osgi-bundle-archetype (Spring OSGi Maven2 Archetype)
481: remote -> spring-ws-archetype (Spring Web Services Maven2 Archetype.)
482: remote -> syncope-archetype (-)
483: remote -> trails-archetype (-)
484: remote -> trails-secure-archetype (-)
485: remote -> tynamo-archetype (-)
486: remote -> wicket-scala-archetype (-)
487: remote -> wicketstuff-scala-archetype (Basic setup for a project that combines Scala and Wicket,
depending on the Wicket-Scala project. Includes an example Specs
test.)
488: remote -> wikbook.archetype (-)
489: remote -> xwiki-rendering-archetype-macro (Make it easy to create a maven project for creating XWiki Rendering Macros.)
490: remote -> zk-archetype-component (The ZK Component archetype)
491: remote -> zk-archetype-webapp (The ZK wepapp archetype)
492: remote -> circumflex-archetype (-)
493: remote -> javg-minimal-archetype (-)
Choose a number: 150: 终止批处理操作吗(Y/N)?



它会自动帮你选中150那个原型,接下来,你继续照提示操作即可!

读书人网 >开源软件

热点推荐