spring-projects / spring-ws

Spring Web Services
https://spring.io/projects/spring-ws
Apache License 2.0
317 stars 309 forks source link

Reference to Maven command in section 3.5 paragraph 1 is incomplete or the Maven command is wrong. [SWS-288] #445

Closed gregturn closed 16 years ago

gregturn commented 16 years ago

Tom Sheehan opened SWS-288 and commented

The documentation at http://static.springframework.org/spring-ws/site/reference/html/tutorial.html references a Maven script in Section 3.5, paragraph 1. The Maven script contains three interactive prompts. It is not at all apparent to the tutorial user how to respond to these prompts. Either reference to the the Maven command should be removed, the Maven command should be modified to so that it creates conditions described in the tutorial or text should be added to describe how to answer to the prompts such that the tutorial conditions described will be created.


Affects: 1.0.3

gregturn commented 16 years ago

Arjen Poutsma commented

I cannot reproduce this. What does Maven ask for?

gregturn commented 16 years ago

Tom Sheehan commented

Here is a capture of part of the maven session. If this is not enough of it, I will try get the whole session. Toward the end of this capture, this capture I answered the questions:

Define value for version: : with "1" Define value for package: : witr "dunno"

So, having looked at this some more, a bit of pattern recognition has finally kicked in for me. It appears there are requirements for "AppFuse" that I have not satisfied. After I have posted this, I will look for time to research what it is that I might need to know about AppFuse.

Partial capture of Maven session follows:

[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] No archetype repository found. [WARNING] Specified archetype not found. Choose archetype: 1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web applicati on with Hibernate, Spring and JSF) 2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web applic ation with Hibernate, Spring and Spring MVC) 3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web applic ation with Hibernate, Spring and Struts 2) 4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web appl ication with Hibernate, Spring and Tapestry 4) 5: internal -> appfuse-core (AppFuse archetype for creating a jar application wi th Hibernate and Spring and XFire) 6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular app lication 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 modula r 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 proje ct 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 S itemesh, DWR, and Spring) 20: internal -> struts2-archetype-blank (A minimal Struts 2 application) 21: internal -> struts2-archetype-portlet (A minimal Struts 2 application that c an be deployed as a portlet) 22: internal -> struts2-archetype-dbportlet (A starter Struts 2 portlet that dem onstrates 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 resource s.) 27: internal -> jini-service-archetype (Archetype for Jini service project creat ion) 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 archety pe) 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/2 4/25/26/27/28/29/30/31/32/33/34/35/36): 1 Downloading: http://static.appfuse.org/releases/org/appfuse/archetypes/appfuse-b asic-jsf/2.0/appfuse-basic-jsf-2.0.jar 71K downloaded Define value for version: : Define value for version: : 1 Define value for package: : dunno Confirm properties configuration: groupId: com.mycompany.hr artifactId: holidayService version: 1 package: dunno Y: :

gregturn commented 16 years ago

Arjen Poutsma commented

This appears to be appfuse issue, not a Spring-WS issue. I just verified locally: a clean maven 2.0.8 installation does not give any prompts.