You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2013/09/12 09:24:18 UTC
Re: svn commit: r1521940 - in /struts/struts2/trunk:
apps/jboss-blank/ archetypes/ archetypes/struts2-archetype-angularjs/
archetypes/struts2-archetype-blank/ archetypes/struts2-archetype-convention/
archetypes/struts2-archetype-dbportlet/ archetypes/strut...
It'd be good to mention an alternative syntax:
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Thanks in advance!
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/9/11 <jo...@apache.org>:
> Author: jogep
> Date: Wed Sep 11 17:06:05 2013
> New Revision: 1521940
>
> URL: http://svn.apache.org/r1521940
> Log:
> WW-4197 Update Archetypes READMEs
>
> Added:
> struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> struts/struts2/trunk/archetypes/struts2-archetypes.iml
> struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml
> struts/struts2/trunk/plugins/struts2-plugins.iml
> Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt
> struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
>
> Added: struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml (added)
> +++ struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,62 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="FacetManager">
> + <facet type="web" name="Web">
> + <configuration>
> + <descriptors>
> + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
> + </descriptors>
> + <webroots>
> + <root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
> + <root url="file://$MODULE_DIR$/src/main/resources" relative="META-INF" />
> + </webroots>
> + <sourceRoots>
> + <root url="file://$MODULE_DIR$/src/main/java" />
> + <root url="file://$MODULE_DIR$/src/main/resources" />
> + </sourceRoots>
> + </configuration>
> + <facet type="Struts2" name="Struts 2">
> + <configuration>
> + <propertiesKeys disabled="false" />
> + </configuration>
> + </facet>
> + </facet>
> + </component>
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
> + <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + <orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:servlet-api:2.4" level="project" />
> + <orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:jsp-api:2.0" level="project" />
> + <orderEntry type="module" module-name="struts2-junit-plugin" scope="TEST" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-core:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-asm:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: commons-logging:commons-logging:1.1.3" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-context:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-aop:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: aopalliance:aopalliance:1.0" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-beans:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-expression:3.0.5.RELEASE" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
> + <orderEntry type="module" module-name="struts2-core" />
> + <orderEntry type="module" module-name="xwork-core" />
> + <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.1" level="project" />
> + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6" level="project" />
> + <orderEntry type="library" name="Maven: javassist:javassist:3.11.0.GA" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-commons:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-tree:3.3" level="project" />
> + <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.19" level="project" />
> + <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3" level="project" />
> + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
> + </component>
> +</module>
> +
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt Wed Sep 11 17:06:05 2013
> @@ -16,12 +16,12 @@ USAGE
> - the webapp war name -> myWebApp
>
>
> - mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> -DartifactId=myWebApp \
> -DarchetypeGroupId=org.apache.struts \
> -DarchetypeArtifactId=struts2-archetype-angularjs \
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> - -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
> + -DremoteRepositories=http://struts.apache.org
>
> IMPORTANT:
> ==========
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt Wed Sep 11 17:06:05 2013
> @@ -16,13 +16,12 @@ USAGE
> - the webapp war name -> myWebApp
>
>
> - mvn archetype:create -DgroupId=com.myCompany.mySystem \
> - -DartifactId=myWebApp \
> - -DarchetypeGroupId=org.apache.struts \
> - -DarchetypeArtifactId=struts2-archetype-blank \
> - -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> - -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
> -
> +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> + -DartifactId=myWebApp \
> + -DarchetypeGroupId=org.apache.struts \
> + -DarchetypeArtifactId=struts2-archetype-blank \
> + -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> + -DremoteRepositories=http://struts.apache.org
> IMPORTANT:
> ==========
> - The generated template uses the 'example' package, regardless of what you
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt Wed Sep 11 17:06:05 2013
> @@ -17,11 +17,11 @@ USAGE
>
>
> mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> - -DartifactId=myWebApp \
> - -DarchetypeGroupId=org.apache.struts \
> - -DarchetypeArtifactId=struts2-archetype-convention \
> - -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> - -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
> + -DartifactId=myWebApp \
> + -DarchetypeGroupId=org.apache.struts \
> + -DarchetypeArtifactId=struts2-archetype-convention \
> + -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> + -DremoteRepositories=http://struts.apache.org
>
> IMPORTANT:
> ==========
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt Wed Sep 11 17:06:05 2013
> @@ -18,12 +18,12 @@ USAGE
> - the portlet war name -> myWebApp
>
>
> - mvn archetype:create -DgroupId=com.myCompany.myPortlet \
> - -DartifactId=myWebApp \
> - -DarchetypeGroupId=org.apache.struts \
> - -DarchetypeArtifactId=struts2-archetype-dbportlet \
> - -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> - -DremoteRepositories=http://people.apache.org/maven-snapshot-repository
> +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> + -DartifactId=myWebApp \
> + -DarchetypeGroupId=org.apache.struts \
> + -DarchetypeArtifactId=struts2-archetype-dbportlet \
> + -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> + -DremoteRepositories=http://struts.apache.org
>
> - to compile, execute
> mvn compile
>
> Added: struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml (added)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,31 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="FacetManager">
> + <facet type="web" name="Web">
> + <configuration>
> + <descriptors>
> + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml" />
> + </descriptors>
> + <webroots>
> + <root url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp" relative="/" />
> + </webroots>
> + </configuration>
> + <facet type="Struts2" name="Struts 2">
> + <configuration>
> + <propertiesKeys disabled="false" />
> + </configuration>
> + </facet>
> + </facet>
> + </component>
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + </component>
> +</module>
> +
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt Wed Sep 11 17:06:05 2013
> @@ -9,7 +9,12 @@ USAGE
> =====
>
> 1- Generate your archetype
> -- mvn archetype:generate -DartifactId=struts2-portlet-helloworld -DgroupId=com.mycompany.struts2.portlet -Dversion=1.0.0-SNAPSHOT -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-portlet -DarchetypeVersion=2.3.8
> +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> + -DartifactId=myWebApp \
> + -DarchetypeGroupId=org.apache.struts \
> + -DarchetypeArtifactId=struts2-archetype-portlet \
> + -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> + -DremoteRepositories=http://struts.apache.org
>
> 2- Build your portlet project for Pluto Portal
> - cd struts2-portlet-helloworld
>
> Added: struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml (added)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,31 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="FacetManager">
> + <facet type="web" name="Web">
> + <configuration>
> + <descriptors>
> + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml" />
> + </descriptors>
> + <webroots>
> + <root url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp" relative="/" />
> + </webroots>
> + </configuration>
> + <facet type="Struts2" name="Struts 2">
> + <configuration>
> + <propertiesKeys disabled="false" />
> + </configuration>
> + </facet>
> + </facet>
> + </component>
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + </component>
> +</module>
> +
>
> Modified: struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt (original)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt Wed Sep 11 17:06:05 2013
> @@ -27,11 +27,12 @@ USAGE
> - the webapp war name -> myWebApp
>
>
> - mvn archetype:create -DgroupId=com.myCompany.mySystem \
> - -DartifactId=myWebApp \
> - -DarchetypeGroupId=org.apache.struts \
> - -DarchetypeArtifactId=struts2-archetype-starter \
> - -DarchetypeVersion=<CURRENT_STRUTS_VERSION>
> +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> + -DartifactId=myWebApp \
> + -DarchetypeGroupId=org.apache.struts \
> + -DarchetypeArtifactId=struts2-archetype-starter \
> + -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> + -DremoteRepositories=http://struts.apache.org
>
>
> COMMON TASKS
>
> Added: struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml (added)
> +++ struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,31 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="FacetManager">
> + <facet type="web" name="Web">
> + <configuration>
> + <descriptors>
> + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml" />
> + </descriptors>
> + <webroots>
> + <root url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp" relative="/" />
> + </webroots>
> + </configuration>
> + <facet type="Struts2" name="Struts 2">
> + <configuration>
> + <propertiesKeys disabled="false" />
> + </configuration>
> + </facet>
> + </facet>
> + </component>
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + </component>
> +</module>
> +
>
> Added: struts/struts2/trunk/archetypes/struts2-archetypes.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetypes.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/archetypes/struts2-archetypes.iml (added)
> +++ struts/struts2/trunk/archetypes/struts2-archetypes.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,28 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="FacetManager">
> + <facet type="web" name="Web">
> + <configuration>
> + <descriptors>
> + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml" />
> + </descriptors>
> + <webroots>
> + <root url="file://$MODULE_DIR$/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp" relative="/" />
> + </webroots>
> + </configuration>
> + <facet type="google-app-engine" name="Google App Engine">
> + <configuration />
> + </facet>
> + </facet>
> + </component>
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MAVEN_REPOSITORY$/org/apache/struts/struts-master/9/target/classes" />
> + <output-test url="file://$MAVEN_REPOSITORY$/org/apache/struts/struts-master/9/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + </component>
> +</module>
> +
>
> Added: struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml (added)
> +++ struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,31 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
> + <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + <orderEntry type="library" name="Maven: com.google.gxp:google-gxp:0.2.4-beta" level="project" />
> + <orderEntry type="library" name="Maven: com.google.collections:google-collections:1.0" level="project" />
> + <orderEntry type="module" module-name="struts2-core" />
> + <orderEntry type="module" module-name="xwork-core" />
> + <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.1" level="project" />
> + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6" level="project" />
> + <orderEntry type="library" name="Maven: javassist:javassist:3.11.0.GA" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-commons:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-tree:3.3" level="project" />
> + <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.19" level="project" />
> + <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3" level="project" />
> + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
> + <orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:servlet-api:2.4" level="project" />
> + </component>
> +</module>
> +
>
> Added: struts/struts2/trunk/plugins/struts2-plugins.iml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/struts2-plugins.iml?rev=1521940&view=auto
> ==============================================================================
> --- struts/struts2/trunk/plugins/struts2-plugins.iml (added)
> +++ struts/struts2/trunk/plugins/struts2-plugins.iml Wed Sep 11 17:06:05 2013
> @@ -0,0 +1,26 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
> + <output url="file://$MODULE_DIR$/target/classes" />
> + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> + <content url="file://$MODULE_DIR$">
> + <excludeFolder url="file://$MODULE_DIR$/target" />
> + </content>
> + <orderEntry type="inheritedJdk" />
> + <orderEntry type="sourceFolder" forTests="false" />
> + <orderEntry type="module" module-name="struts2-core" />
> + <orderEntry type="module" module-name="xwork-core" />
> + <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.1" level="project" />
> + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6" level="project" />
> + <orderEntry type="library" name="Maven: javassist:javassist:3.11.0.GA" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-commons:3.3" level="project" />
> + <orderEntry type="library" name="Maven: asm:asm-tree:3.3" level="project" />
> + <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.19" level="project" />
> + <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3" level="project" />
> + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
> + <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
> + <orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:servlet-api:2.4" level="project" />
> + </component>
> +</module>
> +
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: svn commit: r1521940 - in /struts/struts2/trunk:
apps/jboss-blank/ archetypes/ archetypes/struts2-archetype-angularjs/
archetypes/struts2-archetype-blank/ archetypes/struts2-archetype-convention/
archetypes/struts2-archetype-dbportlet/ archetypes/strut...
Posted by Lukasz Lenart <lu...@apache.org>.
2013/9/12 Johannes Geppert <jo...@apache.org>:
> This is already documented in the WIKI Page.
>
> https://cwiki.apache.org/confluence/display/WW/Struts+2+Maven+Archetypes
>
> But maybe we can make this a little bit more highlighted.
> I don't think the README file inside of the sources is the best place to
> document how to work with archetypes.
Right, so maybe a link to the docs would be better instead of the
whole section? Then we will have one source to document flow.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: svn commit: r1521940 - in /struts/struts2/trunk:
apps/jboss-blank/ archetypes/ archetypes/struts2-archetype-angularjs/
archetypes/struts2-archetype-blank/ archetypes/struts2-archetype-convention/
archetypes/struts2-archetype-dbportlet/ archetypes/strut...
Posted by Johannes Geppert <jo...@apache.org>.
This is already documented in the WIKI Page.
https://cwiki.apache.org/confluence/display/WW/Struts+2+Maven+Archetypes
But maybe we can make this a little bit more highlighted.
I don't think the README file inside of the sources is the best place to
document how to work with archetypes.
Johannes
#################################################
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
2013/9/12 Lukasz Lenart <lu...@apache.org>
> It'd be good to mention an alternative syntax:
>
> mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
>
>
> Thanks in advance!
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/9/11 <jo...@apache.org>:
> > Author: jogep
> > Date: Wed Sep 11 17:06:05 2013
> > New Revision: 1521940
> >
> > URL: http://svn.apache.org/r1521940
> > Log:
> > WW-4197 Update Archetypes READMEs
> >
> > Added:
> > struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml
> >
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> >
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> >
> struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> > struts/struts2/trunk/archetypes/struts2-archetypes.iml
> > struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml
> > struts/struts2/trunk/plugins/struts2-plugins.iml
> > Modified:
> >
> struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt
> > struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> >
> struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt
> >
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt
> > struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> > struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
> >
> > Added: struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > --- struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml (added)
> > +++ struts/struts2/trunk/apps/jboss-blank/struts2-jboss-blank.iml Wed
> Sep 11 17:06:05 2013
> > @@ -0,0 +1,62 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="FacetManager">
> > + <facet type="web" name="Web">
> > + <configuration>
> > + <descriptors>
> > + <deploymentDescriptor name="web.xml"
> url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
> > + </descriptors>
> > + <webroots>
> > + <root url="file://$MODULE_DIR$/src/main/webapp" relative="/"
> />
> > + <root url="file://$MODULE_DIR$/src/main/resources"
> relative="META-INF" />
> > + </webroots>
> > + <sourceRoots>
> > + <root url="file://$MODULE_DIR$/src/main/java" />
> > + <root url="file://$MODULE_DIR$/src/main/resources" />
> > + </sourceRoots>
> > + </configuration>
> > + <facet type="Struts2" name="Struts 2">
> > + <configuration>
> > + <propertiesKeys disabled="false" />
> > + </configuration>
> > + </facet>
> > + </facet>
> > + </component>
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/java"
> isTestSource="false" />
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/resources"
> isTestSource="false" />
> > + <sourceFolder url="file://$MODULE_DIR$/src/test/java"
> isTestSource="true" />
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + <orderEntry type="library" scope="PROVIDED" name="Maven:
> javax.servlet:servlet-api:2.4" level="project" />
> > + <orderEntry type="library" scope="PROVIDED" name="Maven:
> javax.servlet:jsp-api:2.0" level="project" />
> > + <orderEntry type="module" module-name="struts2-junit-plugin"
> scope="TEST" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-test:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-core:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-asm:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> commons-logging:commons-logging:1.1.3" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-context:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-aop:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> aopalliance:aopalliance:1.0" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-beans:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> org.springframework:spring-expression:3.0.5.RELEASE" level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> junit:junit:4.8.2" level="project" />
> > + <orderEntry type="module" module-name="struts2-core" />
> > + <orderEntry type="module" module-name="xwork-core" />
> > + <orderEntry type="library" name="Maven:
> org.apache.commons:commons-lang3:3.1" level="project" />
> > + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6"
> level="project" />
> > + <orderEntry type="library" name="Maven: javassist:javassist:
> 3.11.0.GA" level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-commons:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-tree:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven:
> org.freemarker:freemarker:2.3.19" level="project" />
> > + <orderEntry type="library" name="Maven:
> commons-fileupload:commons-fileupload:1.3" level="project" />
> > + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2"
> level="project" />
> > + </component>
> > +</module>
> > +
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt
> (original)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-angularjs/README.txt Wed
> Sep 11 17:06:05 2013
> > @@ -16,12 +16,12 @@ USAGE
> > - the webapp war name -> myWebApp
> >
> >
> > - mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> >
> -DartifactId=myWebApp \
> >
> -DarchetypeGroupId=org.apache.struts \
> >
> -DarchetypeArtifactId=struts2-archetype-angularjs \
> >
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > -
> -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
> > +
> -DremoteRepositories=http://struts.apache.org
> >
> > IMPORTANT:
> > ==========
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > --- struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> (original)
> > +++ struts/struts2/trunk/archetypes/struts2-archetype-blank/README.txt
> Wed Sep 11 17:06:05 2013
> > @@ -16,13 +16,12 @@ USAGE
> > - the webapp war name -> myWebApp
> >
> >
> > - mvn archetype:create -DgroupId=com.myCompany.mySystem \
> > - -DartifactId=myWebApp \
> > - -DarchetypeGroupId=org.apache.struts \
> > - -DarchetypeArtifactId=struts2-archetype-blank \
> > - -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > - -DremoteRepositories=
> http://people.apache.org/repo/m2-snapshot-repository
> > -
> > +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > +
> -DartifactId=myWebApp \
> > +
> -DarchetypeGroupId=org.apache.struts \
> > +
> -DarchetypeArtifactId=struts2-archetype-blank \
> > +
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > +
> -DremoteRepositories=http://struts.apache.org
> > IMPORTANT:
> > ==========
> > - The generated template uses the 'example' package, regardless of what
> you
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt
> (original)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-convention/README.txt Wed
> Sep 11 17:06:05 2013
> > @@ -17,11 +17,11 @@ USAGE
> >
> >
> > mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > -
> -DartifactId=myWebApp \
> > -
> -DarchetypeGroupId=org.apache.struts \
> > -
> -DarchetypeArtifactId=struts2-archetype-convention \
> > -
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > -
> -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
> > +
> -DartifactId=myWebApp \
> > +
> -DarchetypeGroupId=org.apache.struts \
> > +
> -DarchetypeArtifactId=struts2-archetype-convention \
> > +
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > +
> -DremoteRepositories=http://struts.apache.org
> >
> > IMPORTANT:
> > ==========
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt
> (original)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/README.txt Wed
> Sep 11 17:06:05 2013
> > @@ -18,12 +18,12 @@ USAGE
> > - the portlet war name -> myWebApp
> >
> >
> > - mvn archetype:create -DgroupId=com.myCompany.myPortlet \
> > - -DartifactId=myWebApp \
> > - -DarchetypeGroupId=org.apache.struts \
> > -
> -DarchetypeArtifactId=struts2-archetype-dbportlet \
> > - -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > - -DremoteRepositories=
> http://people.apache.org/maven-snapshot-repository
> > +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > +
> -DartifactId=myWebApp \
> > +
> -DarchetypeGroupId=org.apache.struts \
> > +
> -DarchetypeArtifactId=struts2-archetype-dbportlet \
> > +
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > +
> -DremoteRepositories=http://struts.apache.org
> >
> > - to compile, execute
> > mvn compile
> >
> > Added:
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> (added)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/struts2-archetype-dbportlet.iml
> Wed Sep 11 17:06:05 2013
> > @@ -0,0 +1,31 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="FacetManager">
> > + <facet type="web" name="Web">
> > + <configuration>
> > + <descriptors>
> > + <deploymentDescriptor name="web.xml"
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml"
> />
> > + </descriptors>
> > + <webroots>
> > + <root
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp"
> relative="/" />
> > + </webroots>
> > + </configuration>
> > + <facet type="Struts2" name="Struts 2">
> > + <configuration>
> > + <propertiesKeys disabled="false" />
> > + </configuration>
> > + </facet>
> > + </facet>
> > + </component>
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/resources"
> isTestSource="false" />
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + </component>
> > +</module>
> > +
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > --- struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> (original)
> > +++ struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
> Wed Sep 11 17:06:05 2013
> > @@ -9,7 +9,12 @@ USAGE
> > =====
> >
> > 1- Generate your archetype
> > -- mvn archetype:generate -DartifactId=struts2-portlet-helloworld
> -DgroupId=com.mycompany.struts2.portlet -Dversion=1.0.0-SNAPSHOT
> -DarchetypeGroupId=org.apache.struts
> -DarchetypeArtifactId=struts2-archetype-portlet -DarchetypeVersion=2.3.8
> > +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > +
> -DartifactId=myWebApp \
> > +
> -DarchetypeGroupId=org.apache.struts \
> > +
> -DarchetypeArtifactId=struts2-archetype-portlet \
> > +
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > +
> -DremoteRepositories=http://struts.apache.org
> >
> > 2- Build your portlet project for Pluto Portal
> > - cd struts2-portlet-helloworld
> >
> > Added:
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> (added)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-portlet/struts2-archetype-portlet.iml
> Wed Sep 11 17:06:05 2013
> > @@ -0,0 +1,31 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="FacetManager">
> > + <facet type="web" name="Web">
> > + <configuration>
> > + <descriptors>
> > + <deploymentDescriptor name="web.xml"
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml"
> />
> > + </descriptors>
> > + <webroots>
> > + <root
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp"
> relative="/" />
> > + </webroots>
> > + </configuration>
> > + <facet type="Struts2" name="Struts 2">
> > + <configuration>
> > + <propertiesKeys disabled="false" />
> > + </configuration>
> > + </facet>
> > + </facet>
> > + </component>
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/resources"
> isTestSource="false" />
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + </component>
> > +</module>
> > +
> >
> > Modified:
> struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt?rev=1521940&r1=1521939&r2=1521940&view=diff
> >
> ==============================================================================
> > --- struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
> (original)
> > +++ struts/struts2/trunk/archetypes/struts2-archetype-starter/README.txt
> Wed Sep 11 17:06:05 2013
> > @@ -27,11 +27,12 @@ USAGE
> > - the webapp war name -> myWebApp
> >
> >
> > - mvn archetype:create -DgroupId=com.myCompany.mySystem \
> > - -DartifactId=myWebApp \
> > - -DarchetypeGroupId=org.apache.struts \
> > - -DarchetypeArtifactId=struts2-archetype-starter \
> > - -DarchetypeVersion=<CURRENT_STRUTS_VERSION>
> > +mvn archetype:generate -B -DgroupId=com.mycompany.mysystem \
> > +
> -DartifactId=myWebApp \
> > +
> -DarchetypeGroupId=org.apache.struts \
> > +
> -DarchetypeArtifactId=struts2-archetype-starter \
> > +
> -DarchetypeVersion=<CURRENT_STRUTS_VERSION> \
> > +
> -DremoteRepositories=http://struts.apache.org
> >
> >
> > COMMON TASKS
> >
> > Added:
> struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > ---
> struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> (added)
> > +++
> struts/struts2/trunk/archetypes/struts2-archetype-starter/struts2-archetype-starter.iml
> Wed Sep 11 17:06:05 2013
> > @@ -0,0 +1,31 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="FacetManager">
> > + <facet type="web" name="Web">
> > + <configuration>
> > + <descriptors>
> > + <deploymentDescriptor name="web.xml"
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml"
> />
> > + </descriptors>
> > + <webroots>
> > + <root
> url="file://$MODULE_DIR$/src/main/resources/archetype-resources/src/main/webapp"
> relative="/" />
> > + </webroots>
> > + </configuration>
> > + <facet type="Struts2" name="Struts 2">
> > + <configuration>
> > + <propertiesKeys disabled="false" />
> > + </configuration>
> > + </facet>
> > + </facet>
> > + </component>
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/resources"
> isTestSource="false" />
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + </component>
> > +</module>
> > +
> >
> > Added: struts/struts2/trunk/archetypes/struts2-archetypes.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetypes.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > --- struts/struts2/trunk/archetypes/struts2-archetypes.iml (added)
> > +++ struts/struts2/trunk/archetypes/struts2-archetypes.iml Wed Sep 11
> 17:06:05 2013
> > @@ -0,0 +1,28 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="FacetManager">
> > + <facet type="web" name="Web">
> > + <configuration>
> > + <descriptors>
> > + <deploymentDescriptor name="web.xml"
> url="file://$MODULE_DIR$/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml"
> />
> > + </descriptors>
> > + <webroots>
> > + <root
> url="file://$MODULE_DIR$/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp"
> relative="/" />
> > + </webroots>
> > + </configuration>
> > + <facet type="google-app-engine" name="Google App Engine">
> > + <configuration />
> > + </facet>
> > + </facet>
> > + </component>
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output
> url="file://$MAVEN_REPOSITORY$/org/apache/struts/struts-master/9/target/classes"
> />
> > + <output-test
> url="file://$MAVEN_REPOSITORY$/org/apache/struts/struts-master/9/target/test-classes"
> />
> > + <content url="file://$MODULE_DIR$">
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + </component>
> > +</module>
> > +
> >
> > Added: struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > --- struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml (added)
> > +++ struts/struts2/trunk/plugins/gxp/struts2-gxp-plugin.iml Wed Sep 11
> 17:06:05 2013
> > @@ -0,0 +1,31 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/java"
> isTestSource="false" />
> > + <sourceFolder url="file://$MODULE_DIR$/src/main/resources"
> isTestSource="false" />
> > + <sourceFolder url="file://$MODULE_DIR$/src/test/java"
> isTestSource="true" />
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + <orderEntry type="library" name="Maven:
> com.google.gxp:google-gxp:0.2.4-beta" level="project" />
> > + <orderEntry type="library" name="Maven:
> com.google.collections:google-collections:1.0" level="project" />
> > + <orderEntry type="module" module-name="struts2-core" />
> > + <orderEntry type="module" module-name="xwork-core" />
> > + <orderEntry type="library" name="Maven:
> org.apache.commons:commons-lang3:3.1" level="project" />
> > + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6"
> level="project" />
> > + <orderEntry type="library" name="Maven: javassist:javassist:
> 3.11.0.GA" level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-commons:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-tree:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven:
> org.freemarker:freemarker:2.3.19" level="project" />
> > + <orderEntry type="library" name="Maven:
> commons-fileupload:commons-fileupload:1.3" level="project" />
> > + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2"
> level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> junit:junit:4.8.2" level="project" />
> > + <orderEntry type="library" scope="PROVIDED" name="Maven:
> javax.servlet:servlet-api:2.4" level="project" />
> > + </component>
> > +</module>
> > +
> >
> > Added: struts/struts2/trunk/plugins/struts2-plugins.iml
> > URL:
> http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/struts2-plugins.iml?rev=1521940&view=auto
> >
> ==============================================================================
> > --- struts/struts2/trunk/plugins/struts2-plugins.iml (added)
> > +++ struts/struts2/trunk/plugins/struts2-plugins.iml Wed Sep 11 17:06:05
> 2013
> > @@ -0,0 +1,26 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<module
> org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
> type="JAVA_MODULE" version="4">
> > + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"
> inherit-compiler-output="false">
> > + <output url="file://$MODULE_DIR$/target/classes" />
> > + <output-test url="file://$MODULE_DIR$/target/test-classes" />
> > + <content url="file://$MODULE_DIR$">
> > + <excludeFolder url="file://$MODULE_DIR$/target" />
> > + </content>
> > + <orderEntry type="inheritedJdk" />
> > + <orderEntry type="sourceFolder" forTests="false" />
> > + <orderEntry type="module" module-name="struts2-core" />
> > + <orderEntry type="module" module-name="xwork-core" />
> > + <orderEntry type="library" name="Maven:
> org.apache.commons:commons-lang3:3.1" level="project" />
> > + <orderEntry type="library" name="Maven: ognl:ognl:3.0.6"
> level="project" />
> > + <orderEntry type="library" name="Maven: javassist:javassist:
> 3.11.0.GA" level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-commons:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven: asm:asm-tree:3.3"
> level="project" />
> > + <orderEntry type="library" name="Maven:
> org.freemarker:freemarker:2.3.19" level="project" />
> > + <orderEntry type="library" name="Maven:
> commons-fileupload:commons-fileupload:1.3" level="project" />
> > + <orderEntry type="library" name="Maven: commons-io:commons-io:2.2"
> level="project" />
> > + <orderEntry type="library" scope="TEST" name="Maven:
> junit:junit:4.8.2" level="project" />
> > + <orderEntry type="library" scope="PROVIDED" name="Maven:
> javax.servlet:servlet-api:2.4" level="project" />
> > + </component>
> > +</module>
> > +
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>