[maven-release-plugin] prepare release pmd_releases/5.0.1

This commit is contained in:
Andreas Dangel 2012-11-28 21:43:36 +01:00
parent 33c7af965c
commit 13e36974a5

View File

@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.pmd</groupId> <groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd</artifactId> <artifactId>pmd</artifactId>
<name>PMD</name> <name>PMD</name>
<version>5.0.1-SNAPSHOT</version> <version>5.0.1</version>
<parent> <parent>
<groupId>org.sonatype.oss</groupId> <groupId>org.sonatype.oss</groupId>
@ -233,7 +232,7 @@
<connection>scm:git:git://github.com/pmd/pmd.git</connection> <connection>scm:git:git://github.com/pmd/pmd.git</connection>
<developerConnection>scm:git:ssh://git@github.com/pmd/pmd.git</developerConnection> <developerConnection>scm:git:ssh://git@github.com/pmd/pmd.git</developerConnection>
<url>https://github.com/pmd/pmd</url> <url>https://github.com/pmd/pmd</url>
<tag>pmd/5.0.x</tag> <tag>pmd_releases/5.0.1</tag>
</scm> </scm>
<organization> <organization>
<name>InfoEther</name> <name>InfoEther</name>
@ -334,10 +333,8 @@
<configuration> <configuration>
<target> <target>
<ant antfile="src/main/ant/alljavacc.xml"> <ant antfile="src/main/ant/alljavacc.xml">
<property name="target" <property name="target" value="${project.build.directory}/generated-sources/javacc" />
value="${project.build.directory}/generated-sources/javacc" /> <property name="javacc.jar" value="${settings.localRepository}/net/java/dev/javacc/javacc/${javacc.version}/javacc-${javacc.version}.jar" />
<property name="javacc.jar"
value="${settings.localRepository}/net/java/dev/javacc/javacc/${javacc.version}/javacc-${javacc.version}.jar" />
</ant> </ant>
</target> </target>
</configuration> </configuration>
@ -351,15 +348,11 @@
<configuration> <configuration>
<target> <target>
<echo>PMD specific tasks: generating xdocs from rulesets</echo> <echo>PMD specific tasks: generating xdocs from rulesets</echo>
<mkdir <mkdir dir="${project.build.directory}/generated-xdocs/" />
dir="${project.build.directory}/generated-xdocs/" /> <copy toDir="${project.build.directory}/generated-xdocs/" overwrite="true" verbose="true">
<copy
toDir="${project.build.directory}/generated-xdocs/"
overwrite="true" verbose="true">
<fileset dir="${src.xdocs.dir}" /> <fileset dir="${src.xdocs.dir}" />
<filterset> <filterset>
<filter token="VERSION" <filter token="VERSION" value="${project.version}" />
value="${project.version}" />
</filterset> </filterset>
</copy> </copy>
</target> </target>
@ -375,25 +368,18 @@
<target> <target>
<echo>PMD site specific tasks</echo> <echo>PMD site specific tasks</echo>
<echo>1. Copying missing images to site directory.</echo> <echo>1. Copying missing images to site directory.</echo>
<copy <copy todir="${project.build.directory}/site/images/">
todir="${project.build.directory}/site/images/"> <fileset dir="${src.xdocs.dir}/images/" includes="**/*.*" />
<fileset dir="${src.xdocs.dir}/images/"
includes="**/*.*" />
</copy> </copy>
<echo>2. Adding missing text files to site.</echo> <echo>2. Adding missing text files to site.</echo>
<copy todir="${project.build.directory}/site/"> <copy todir="${project.build.directory}/site/">
<fileset dir="${src.xdocs.dir}/" <fileset dir="${src.xdocs.dir}/" includes="**/*.txt" />
includes="**/*.txt" />
</copy> </copy>
<echo>3. Deleting useless generated files.</echo> <echo>3. Deleting useless generated files.</echo>
<delete quiet="true"> <delete quiet="true">
<fileset dir="${src.xdocs.dir}/rules" <fileset dir="${src.xdocs.dir}/rules" includes="**/*.xml" />
includes="**/*.xml" /> <fileset dir="${src.xdocs.dir}/" includes="mergedruleset.xml" />
<fileset dir="${src.xdocs.dir}/" <fileset dir="${project.build.directory}" includes="site/mergedruleset.html" />
includes="mergedruleset.xml" />
<fileset
dir="${project.build.directory}"
includes="site/mergedruleset.html" />
</delete> </delete>
</target> </target>
</configuration> </configuration>
@ -408,10 +394,8 @@
<target> <target>
<echo>PMD specific tasks: cleaning generated xdocs</echo> <echo>PMD specific tasks: cleaning generated xdocs</echo>
<delete quiet="true"> <delete quiet="true">
<fileset dir="${src.xdocs.dir}/rules" <fileset dir="${src.xdocs.dir}/rules" includes="**/*.xml" />
includes="**/*.xml" /> <fileset dir="${src.xdocs.dir}/" includes="mergedruleset.xml" />
<fileset dir="${src.xdocs.dir}/"
includes="mergedruleset.xml" />
</delete> </delete>
</target> </target>
</configuration> </configuration>