[maven-release-plugin] prepare release netty-4.0.13.Final

This commit is contained in:
Norman Maurer 2013-11-28 15:04:46 +01:00
parent 0918f3edb2
commit 5fe7596f49
16 changed files with 36 additions and 53 deletions

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
@ -241,23 +241,20 @@
<configuration> <configuration>
<target> <target>
<taskdef resource="net/sf/antcontrib/antlib.xml" /> <taskdef resource="net/sf/antcontrib/antlib.xml" />
<propertyselector <propertyselector property="versions" match="^(${project.groupId}:(?!netty-example)[^:]+:jar)$" select="\1" />
property="versions"
match="^(${project.groupId}:(?!netty-example)[^:]+:jar)$" select="\1"/>
<for list="${versions}" param="x"> <for list="${versions}" param="x">
<sequential> <sequential>
<unzip src="${@{x}}" dest="${dependencyVersionsDir}"> <unzip src="${@{x}}" dest="${dependencyVersionsDir}">
<patternset> <patternset>
<include name="META-INF/${project.groupId}.versions.properties"/> <include name="META-INF/${project.groupId}.versions.properties" />
</patternset> </patternset>
</unzip> </unzip>
<concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties" <concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties" append="true">
append="true"> <path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties" />
<path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties"/>
</concat> </concat>
</sequential> </sequential>
</for> </for>
<delete dir="${dependencyVersionsDir}" quiet="true"/> <delete dir="${dependencyVersionsDir}" quiet="true" />
</target> </target>
</configuration> </configuration>
</execution> </execution>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-buffer</artifactId> <artifactId>netty-buffer</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-codec-http</artifactId> <artifactId>netty-codec-http</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-codec-socks</artifactId> <artifactId>netty-codec-socks</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-codec</artifactId> <artifactId>netty-codec</artifactId>

View File

@ -21,7 +21,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-common</artifactId> <artifactId>netty-common</artifactId>

View File

@ -21,7 +21,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-example</artifactId> <artifactId>netty-example</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-handler</artifactId> <artifactId>netty-handler</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-microbench</artifactId> <artifactId>netty-microbench</artifactId>

46
pom.xml
View File

@ -26,7 +26,7 @@
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
<name>Netty</name> <name>Netty</name>
<url>http://netty.io/</url> <url>http://netty.io/</url>
@ -53,7 +53,7 @@
<url>https://github.com/netty/netty</url> <url>https://github.com/netty/netty</url>
<connection>scm:git:git://github.com/netty/netty.git</connection> <connection>scm:git:git://github.com/netty/netty.git</connection>
<developerConnection>scm:git:ssh://git@github.com/netty/netty.git</developerConnection> <developerConnection>scm:git:ssh://git@github.com/netty/netty.git</developerConnection>
<tag>HEAD</tag> <tag>netty-4.0.13.Final</tag>
</scm> </scm>
<developers> <developers>
@ -491,10 +491,7 @@
<taskdef resource="net/sf/antcontrib/antlib.xml" /> <taskdef resource="net/sf/antcontrib/antlib.xml" />
<!-- Get the information about the latest commit --> <!-- Get the information about the latest commit -->
<exec executable="git" <exec executable="git" outputproperty="gitOutput.shortCommitHash" resultproperty="gitExitCode.shortCommitHash" failonerror="false" failifexecutionfails="false">
outputproperty="gitOutput.shortCommitHash"
resultproperty="gitExitCode.shortCommitHash"
failonerror="false" failifexecutionfails="false">
<arg value="log" /> <arg value="log" />
<arg value="-1" /> <arg value="-1" />
<arg value="--format=format:%h" /> <arg value="--format=format:%h" />
@ -509,10 +506,7 @@
</else> </else>
</if> </if>
<exec executable="git" <exec executable="git" outputproperty="gitOutput.longCommitHash" resultproperty="gitExitCode.longCommitHash" failonerror="false" failifexecutionfails="false">
outputproperty="gitOutput.longCommitHash"
resultproperty="gitExitCode.longCommitHash"
failonerror="false" failifexecutionfails="false">
<arg value="log" /> <arg value="log" />
<arg value="-1" /> <arg value="-1" />
<arg value="--format=format:%H" /> <arg value="--format=format:%H" />
@ -527,10 +521,7 @@
</else> </else>
</if> </if>
<exec executable="git" <exec executable="git" outputproperty="gitOutput.commitDate" resultproperty="gitExitCode.commitDate" failonerror="false" failifexecutionfails="false">
outputproperty="gitOutput.commitDate"
resultproperty="gitExitCode.commitDate"
failonerror="false" failifexecutionfails="false">
<arg value="log" /> <arg value="log" />
<arg value="-1" /> <arg value="-1" />
<arg value="--format=format:%cd" /> <arg value="--format=format:%cd" />
@ -546,10 +537,7 @@
</else> </else>
</if> </if>
<exec executable="git" <exec executable="git" outputproperty="gitOutput.repoStatus" resultproperty="gitExitCode.repoStatus" failonerror="false" failifexecutionfails="false">
outputproperty="gitOutput.repoStatus"
resultproperty="gitExitCode.repoStatus"
failonerror="false" failifexecutionfails="false">
<arg value="status" /> <arg value="status" />
<arg value="--porcelain" /> <arg value="--porcelain" />
</exec> </exec>
@ -576,22 +564,20 @@
<!-- Generate the .properties file. --> <!-- Generate the .properties file. -->
<!-- <!--
<property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF"/> <property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF" />
--> -->
<property name="metaInfDir" value="${project.build.outputDirectory}/META-INF"/> <property name="metaInfDir" value="${project.build.outputDirectory}/META-INF" />
<property name="versionPropFile" value="${metaInfDir}/${project.groupId}.versions.properties" /> <property name="versionPropFile" value="${metaInfDir}/${project.groupId}.versions.properties" />
<mkdir dir="${metaInfDir}" /> <mkdir dir="${metaInfDir}" />
<delete file="${versionPropFile}" quiet="true"/> <delete file="${versionPropFile}" quiet="true" />
<propertyfile <propertyfile file="${versionPropFile}" comment="Generated by netty-parent/pom.xml">
file="${versionPropFile}" <entry key="${project.artifactId}.version" value="${project.version}" />
comment="Generated by netty-parent/pom.xml"> <entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z" />
<entry key="${project.artifactId}.version" value="${project.version}"/> <entry key="${project.artifactId}.commitDate" value="${commitDate}" />
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z"/> <entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}" />
<entry key="${project.artifactId}.commitDate" value="${commitDate}"/> <entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}" />
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}"/> <entry key="${project.artifactId}.repoStatus" value="${repoStatus}" />
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}"/>
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}"/>
</propertyfile> </propertyfile>
</target> </target>
</configuration> </configuration>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-tarball</artifactId> <artifactId>netty-tarball</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-testsuite</artifactId> <artifactId>netty-testsuite</artifactId>

View File

@ -21,7 +21,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-transport-rxtx</artifactId> <artifactId>netty-transport-rxtx</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-transport-sctp</artifactId> <artifactId>netty-transport-sctp</artifactId>

View File

@ -21,7 +21,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-transport-udt</artifactId> <artifactId>netty-transport-udt</artifactId>

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.0.13.Final-SNAPSHOT</version> <version>4.0.13.Final</version>
</parent> </parent>
<artifactId>netty-transport</artifactId> <artifactId>netty-transport</artifactId>