diff --git a/genapp/src/plugin-test/tapestryTest/maven.xml b/genapp/src/plugin-test/tapestryTest/maven.xml deleted file mode 100644 index 1622ee95..00000000 --- a/genapp/src/plugin-test/tapestryTest/maven.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/genapp/src/plugin-test/templatesTest/maven.xml b/genapp/src/plugin-test/templatesTest/maven.xml new file mode 100644 index 00000000..481b0f23 --- /dev/null +++ b/genapp/src/plugin-test/templatesTest/maven.xml @@ -0,0 +1,46 @@ + + + + + + + ${templates} + + ### Testing the template : ${currentTemplate} + + + + + + + + + + + + + + === Assert that the artifact is generated. + + + === ${artifactPath} is found. + + + + diff --git a/genapp/src/plugin-test/tapestryTest/project.properties b/genapp/src/plugin-test/templatesTest/project.properties similarity index 80% rename from genapp/src/plugin-test/tapestryTest/project.properties rename to genapp/src/plugin-test/templatesTest/project.properties index 5d7dce86..b2dc11fb 100644 --- a/genapp/src/plugin-test/tapestryTest/project.properties +++ b/genapp/src/plugin-test/templatesTest/project.properties @@ -13,11 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------- - +#templates to test +templates=complex,default,ejb,struts,struts-jstl,tapestry,web,web-jstl,web-velocity +#artifact genarated by a template +template.tapestry.artifact=${maven.genapp.basedir}/target/${maven.genapp.template.id}.war # directory where it should be generated maven.genapp.basedir=${maven.build.dir}/my_genapp -# properties necessary to skip the prompt -template=tapestry maven.genapp.template.id=myId maven.genapp.template.name="Genapp testcase" maven.genapp.template.package=org.apache.genapp diff --git a/genapp/src/plugin-test/tapestryTest/project.xml b/genapp/src/plugin-test/templatesTest/project.xml similarity index 76% rename from genapp/src/plugin-test/tapestryTest/project.xml rename to genapp/src/plugin-test/templatesTest/project.xml index 590bfaab..d4ac73b8 100644 --- a/genapp/src/plugin-test/tapestryTest/project.xml +++ b/genapp/src/plugin-test/templatesTest/project.xml @@ -19,11 +19,11 @@ 3 - Genapp Plugin - Tapestry Test - test-maven-genapp-plugin-tapestryTest + Genapp Plugin - Templates Test + test-maven-genapp-plugin-templatesTest 2005 - Tests Tapestry template - Tests Tapestry template + Tests all templates + Tests all templates @@ -32,5 +32,10 @@ http://maven.apache.org/maven-v3_0_0.xsd"> maven@felipeal.net Falcon Informatica + + Arnaud Heritier + aheritier + aheritier@apache.org +