Use plugin properties in tests

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@530935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2007-04-20 22:07:23 +00:00
parent d1d43ab58e
commit 58a72837c4
2 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@
<name>Maven Modello Plugin</name> <name>Maven Modello Plugin</name>
<description>Modello is a Data Model toolkit. This plugin permits to integrate modello services in your build to automatically (or manually) generate the code and the documentation from the DataModel.</description> <description>Modello is a Data Model toolkit. This plugin permits to integrate modello services in your build to automatically (or manually) generate the code and the documentation from the DataModel.</description>
<shortDescription>Wrapper for Modello, a Data Model toolkit.</shortDescription> <shortDescription>Wrapper for Modello, a Data Model toolkit.</shortDescription>
<currentVersion>1.0</currentVersion> <currentVersion>1.0.1-SNAPSHOT</currentVersion>
<inceptionYear>2004</inceptionYear> <inceptionYear>2004</inceptionYear>
<developers> <developers>
<developer> <developer>

View File

@ -46,10 +46,10 @@
</goal> </goal>
<goal name="testSite" prereqs="site"> <goal name="testSite" prereqs="site">
<assert:assertFileExists file="${maven.gen.docs}/${maven_modello_model_id}.xml"/> <assert:assertFileExists file="${maven.modello.xdoc.targetDirectory}/${maven_modello_model_id}.xml"/>
<assert:assertFileExists file="${maven.gen.docs}/${maven_modello_model_id}-${maven.modello.version}.xsd"/> <assert:assertFileExists file="${maven.modello.xsd.targetDirectory}/${maven_modello_model_id}-${maven.modello.version}.xsd"/>
<assert:assertFileContains file="${maven.gen.docs}/${maven_modello_model_id}-${maven.modello.version}.xsd" match="xmlns=&quot;http://maven.apache.org/POM/3.0.0&quot;" msg="xmlns invalid in schema"/> <assert:assertFileContains file="${maven.modello.xsd.targetDirectory}/${maven_modello_model_id}-${maven.modello.version}.xsd" match="xmlns=&quot;http://maven.apache.org/POM/3.0.0&quot;" msg="xmlns invalid in schema"/>
<assert:assertFileContains file="${maven.gen.docs}/${maven_modello_model_id}-${maven.modello.version}.xsd" match="targetNamespace=&quot;http://maven.apache.org/POM/3.0.0&quot;" msg="targetNamespace invalid in schema"/> <assert:assertFileContains file="${maven.modello.xsd.targetDirectory}/${maven_modello_model_id}-${maven.modello.version}.xsd" match="targetNamespace=&quot;http://maven.apache.org/POM/3.0.0&quot;" msg="targetNamespace invalid in schema"/>
<assert:assertFileExists file="${maven.docs.dest}/${maven_modello_model_id}.html"/> <assert:assertFileExists file="${maven.docs.dest}/${maven_modello_model_id}.html"/>
<assert:assertFileExists file="${maven.docs.dest}/${maven_modello_model_id}-${maven.modello.version}.xsd"/> <assert:assertFileExists file="${maven.docs.dest}/${maven_modello_model_id}-${maven.modello.version}.xsd"/>
</goal> </goal>