Don't execute PDF tests on Unix systems

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@526967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2007-04-10 00:18:32 +00:00
parent 09eaf5de5d
commit f4297a26f9

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
--> -->
<project xmlns:maven="jelly:maven"> <project xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:ant="jelly:ant">
<goal name="plugins:install-all" description="Clean, build and install each Maven plugin into the local Maven installation"> <goal name="plugins:install-all" description="Clean, build and install each Maven plugin into the local Maven installation">
<maven:reactor basedir="${basedir}" includes="${maven.install.plugins.includes}" excludes="${maven.install.plugins.excludes}" goals="clean,plugin:install" banner="Install" ignoreFailures="false"/> <maven:reactor basedir="${basedir}" includes="${maven.install.plugins.includes}" excludes="${maven.install.plugins.excludes}" goals="clean,plugin:install" banner="Install" ignoreFailures="false"/>
</goal> </goal>
@ -29,6 +29,12 @@
<maven:reactor basedir="${basedir}" includes="${maven.repository.deploy.plugins.includes}" excludes="${maven.repository.deploy.plugins.excludes}" goals="clean,plugin:repository-deploy" banner="Deploy in the remote repository" ignoreFailures="false"/> <maven:reactor basedir="${basedir}" includes="${maven.repository.deploy.plugins.includes}" excludes="${maven.repository.deploy.plugins.excludes}" goals="clean,plugin:repository-deploy" banner="Deploy in the remote repository" ignoreFailures="false"/>
</goal> </goal>
<goal name="plugins:test-all" description="Test each Maven plugin. This runs any integration tests available for individual plugins."> <goal name="plugins:test-all" description="Test each Maven plugin. This runs any integration tests available for individual plugins.">
<!-- Excludes the PDF plugin on systems != Windows -->
<!-- There's a problem with Batik which doesn't use correctly the AWT headless mode -->
<j:if test="${!systemScope['os.name'].startsWith('Windows')}">
<ant:echo>Not on Windows : PDF tests skipped.</ant:echo>
<j:set var="maven.test.plugins.excludes" value="${maven.test.plugins.excludes},pdf/project.xml"/>
</j:if>
<maven:reactor basedir="${basedir}" includes="${maven.test.plugins.includes}" excludes="${maven.test.plugins.excludes}" goals="plugin:test" banner="Test" ignoreFailures="false"/> <maven:reactor basedir="${basedir}" includes="${maven.test.plugins.includes}" excludes="${maven.test.plugins.excludes}" goals="plugin:test" banner="Test" ignoreFailures="false"/>
</goal> </goal>
<goal name="plugins:site" description="Create the web site root for all plugins"> <goal name="plugins:site" description="Create the web site root for all plugins">