You'll want to checkout the plugin that matches your version. Assuming 2.0.2, you'd want to use the following SVN URL:
https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/plugins/appfuse-maven-plugin Matt On Tue, Sep 29, 2009 at 1:42 PM, oskarher <orodrigu...@speedy.com.ar> wrote: > > Hello, i'm using Struts 2.1.6 I want change in struts.ftl redirect-action to > redirectAction. > I'm following that: > > //////////////////////////////////////////////////////////////////////////////////// > Customizing AMP Templates > The FreeMarker templates that AMP uses to generate code are packaged in the > plugin itself. While it > should be possible to override templates by placing them in your project's > classpath, this doesn't seem to > work. We hope to fix this in a future release. In the meantime, you should > be able to customize it using > the following steps: > 1. Checkout the plugin from SVN (username: guest, password: <blank>): > svn co > https://appfuse.dev.java.net/svn/appfuse/trunk/plugins/appfuse-maven-plugin > appfuse-maven-plugin > 2. Customize the templates in src/main/resources/appfuse. > 3. Run mvn install (use -Dmaven.test.skip=true if tests fail and you don't > want to fix them). > 4. Make sure your project matches the version number you just installed. > //////////////////////////////////////////////////////////////////////////////////// > > But, when I run mvn install I get next error: > > [INFO] Failed to resolve artifact. > > GroupId: org.appfuse.plugins > ArtifactId: appfuse-plugins > Version: 2.1-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.appfuse.plugins:appfuse-plugins:pom:2.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > Thanks! > -- > View this message in context: > http://www.nabble.com/Customizing-AMP-Templates%3A-changing-struts.ftl-tp25670523s2369p25670523.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