On Fri, Mar 12, 2010 at 8:16 AM, Phil W <pg...@bath.ac.uk> wrote: > > I should say that I accidentally missed a line from my original message and > although I later edited it online, you got the original. There was a > question asking whether my understand of which Struts2 version was in which > version of AppFuse is correct. i.e. AppFuse 2.0.2 and uses Struts 2.0.x ? > AppFuse 2.1 uses Struts 2.1.8?
Yes, this is correct. > > > mraible wrote: >> >> Can you please provide steps to reproduce and your environment (OS, >> Maven version, Java version, etc.)? >> > > Windows 7 > Maven 2.2.1 > Java 1.6.0_10 > > Any other particular settings that would be useful? > > c:\code>mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-light-struts-archetype > -DarchetypeVersion=2.1.0-M1 -DgroupId=com.mycompany -DartifactId=myproject > > BUILD SUCCESSFUL > > c:\code>cd myproject > c:\code\myproject>mvn appfuse:full-source > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.codehaus.mojo > ArtifactId: mojo-sandbox > Version: 2-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > appfuse-snapshots > (http://oss.sonatype.org/content/repositories/appfuse-snapshots), > atlassian-public (https://maven.atlassian.com/repository/public) The problem is you're trying to run "full-source" on an AppFuse Light archetype, which isn't supported yet. The biggest change in 2.1.x is that all the web sources are now included for basic, modular and light archetypes. However, full-source only works for basic and modular. Basically, running this command will allow you to modify DAOs and Managers, but otherwise you shouldn't need it. Matt > > Cheers, > > Phil > -- > View this message in context: > http://n4.nabble.com/Struts2-in-AppFuse-tp1590378p1590559.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net