• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

maven struts2 plugins

 
Ranch Hand
Posts: 264
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

When i write maven archetype:generate, i dont get struts2 related archetype in the displayed list

[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: local -> pojo-archetype (pojo-archetype)
2: local -> service-ear-archetype (service-ear-archetype)
3: local -> dj-batch-archetype (dj-batch-archetype)
4: local -> sar-archetype (sar-archetype)
5: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF)
6: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC)
7: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2)
8: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4)
9: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire)
10: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF)
11: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC)
12: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2)
13: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4)
14: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application)
15: internal -> maven-archetype-marmalade-mojo (A Maven plugin development project using marmalade)
16: internal -> maven-archetype-mojo (A Maven Java plugin development project)
17: internal -> maven-archetype-portlet (A simple portlet application)
18: internal -> maven-archetype-profiles ()
19: internal -> maven-archetype-quickstart ()
20: internal -> maven-archetype-site-simple (A simple site generation project)
21: internal -> maven-archetype-site (A more complex site project)
22: internal -> maven-archetype-webapp (A simple Java web application)
23: internal -> jini-service-archetype (Archetype for Jini service project creation)
24: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype)
25: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no persistence) Archetype)
26: internal -> softeu-archetype-jsf (JSF+Facelets Archetype)
27: internal -> jpa-maven-archetype (JPA application)
28: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype)
29: internal -> confluence-plugin-archetype (Atlassian Confluence plugin archetype)
30: internal -> jira-plugin-archetype (Atlassian JIRA plugin archetype)
31: internal -> maven-archetype-har (Hibernate Archive)
32: internal -> maven-archetype-sar (JBoss Service Archive)
33: internal -> wicket-archetype-quickstart (A simple Apache Wicket project)
34: internal -> scala-archetype-simple (A simple scala project)
35: internal -> lift-archetype-blank (A blank/empty liftweb project)
36: internal -> lift-archetype-basic (The basic (liftweb) project)
37: internal -> cocoon-22-archetype-block-plain ([http://cocoon.apache.org/2.2/maven-plugins/])
38: internal -> cocoon-22-archetype-block ([http://cocoon.apache.org/2.2/maven-plugins/])
39: internal -> cocoon-22-archetype-webapp ([http://cocoon.apache.org/2.2/maven-plugins/])
40: internal -> myfaces-archetype-helloworld (A simple archetype using MyFaces)
41: internal -> myfaces-archetype-helloworld-facelets (A simple archetype using MyFaces and facelets)
42: internal -> myfaces-archetype-trinidad (A simple archetype using Myfaces and Trinidad)
43: internal -> myfaces-archetype-jsfcomponents (A simple archetype for create custom JSF components using MyFaces)
44: internal -> gmaven-archetype-basic (Groovy basic archetype)
45: internal -> gmaven-archetype-mojo (Groovy mojo archetype)
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/37/38/39/40/41/42/43/44/45) 19:



How can i make an addition here.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'd have better luck following the Maven archetype directions on the S2 wiki, but note that there is no 2.1.6 archetype deployed to any repositories (well, Lukasz may have one set up--check the S2 user and/or dev mailing list archives for info) yet. Lukasz may have the "blank" archetype hosted; I remember seeing something about that over the weekend.

Maven questions, however, really belong somewhere else--that's an entirely different kettle of fish than Struts proper. If you get the Maven stuff figured out then we can get started :)
 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks David. I will post Maven related stuff to other parts.
 
this is supposed to be a surprise, but it smells like a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic