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