maven-plugins/maven.xml
2007-04-10 00:18:32 +00:00

56 lines
4.0 KiB
XML

<!--
/*
* Copyright 2001-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<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">
<maven:reactor basedir="${basedir}" includes="${maven.install.plugins.includes}" excludes="${maven.install.plugins.excludes}" goals="clean,plugin:install" banner="Install" ignoreFailures="false"/>
</goal>
<goal name="plugins:install-all-now" description="Clean, build and install each Maven plugin into the running Maven installation">
<maven:reactor basedir="${basedir}" includes="${maven.install.plugins.includes}" excludes="${maven.install.plugins.excludes}" goals="clean,plugin:install-now" banner="Install" ignoreFailures="false"/>
</goal>
<goal name="plugins:repository-install-all" description="Install all plugins in the local repository">
<maven:reactor basedir="${basedir}" includes="${maven.repository.install.plugins.includes}" excludes="${maven.repository.install.plugins.excludes}" goals="clean,plugin:repository-install" banner="Install in the local repository" ignoreFailures="false"/>
</goal>
<goal name="plugins:repository-deploy-all" description="Deploy all plugins in a remote repository">
<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 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"/>
</goal>
<goal name="plugins:site" description="Create the web site root for all plugins">
<maven:maven descriptor="${basedir}/plugins-site/project.xml" goals="multiproject:site" ignoreFailures="false"/>
</goal>
<goal name="plugins:build-all-sites" description="Create the web site for all plugins and for the root site">
<maven:maven descriptor="${basedir}/plugins-site/project.xml" goals="plugins:build-all-sites" ignoreFailures="false"/>
</goal>
<goal name="plugins:deploy-all-sites" description="Deploy the web site for all plugins and for the root site">
<maven:maven descriptor="${basedir}/plugins-site/project.xml" goals="plugins:deploy-all-sites" ignoreFailures="false"/>
</goal>
<goal name="plugins:publish-all-sites" description="Publish the web site for all plugins and for the root site">
<maven:maven descriptor="${basedir}/plugins-site/project.xml" goals="plugins:publish-all-sites" ignoreFailures="false"/>
</goal>
<goal name="plugins:eclipse" description="Generates eclipse settings for each project.">
<maven:reactor basedir="${basedir}" includes="*/project.xml" goals="eclipse" banner="Generates Eclipse Settings for " ignoreFailures="true"/>
</goal>
</project>