[maven-release-plugin] prepare release netty-5.0.0.Alpha1

This commit is contained in:
Trustin Lee 2013-12-22 22:06:06 +09:00
parent ffbecbe9c5
commit 888dfba76f
17 changed files with 37 additions and 54 deletions

View File

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

View File

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

View File

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

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
</parent>
<artifactId>netty-codec-memcache</artifactId>

View File

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

View File

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

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
</parent>
<artifactId>netty-common</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
</parent>
<artifactId>netty-example</artifactId>

View File

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

View File

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

46
pom.xml
View File

@ -26,7 +26,7 @@
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<packaging>pom</packaging>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
<name>Netty</name>
<url>http://netty.io/</url>
@ -53,7 +53,7 @@
<url>https://github.com/netty/netty</url>
<connection>scm:git:git://github.com/netty/netty.git</connection>
<developerConnection>scm:git:ssh://git@github.com/netty/netty.git</developerConnection>
<tag>HEAD</tag>
<tag>netty-5.0.0.Alpha1</tag>
</scm>
<developers>
@ -524,10 +524,7 @@
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<!-- Get the information about the latest commit -->
<exec executable="git"
outputproperty="gitOutput.shortCommitHash"
resultproperty="gitExitCode.shortCommitHash"
failonerror="false" failifexecutionfails="false">
<exec executable="git" outputproperty="gitOutput.shortCommitHash" resultproperty="gitExitCode.shortCommitHash" failonerror="false" failifexecutionfails="false">
<arg value="log" />
<arg value="-1" />
<arg value="--format=format:%h" />
@ -542,10 +539,7 @@
</else>
</if>
<exec executable="git"
outputproperty="gitOutput.longCommitHash"
resultproperty="gitExitCode.longCommitHash"
failonerror="false" failifexecutionfails="false">
<exec executable="git" outputproperty="gitOutput.longCommitHash" resultproperty="gitExitCode.longCommitHash" failonerror="false" failifexecutionfails="false">
<arg value="log" />
<arg value="-1" />
<arg value="--format=format:%H" />
@ -560,10 +554,7 @@
</else>
</if>
<exec executable="git"
outputproperty="gitOutput.commitDate"
resultproperty="gitExitCode.commitDate"
failonerror="false" failifexecutionfails="false">
<exec executable="git" outputproperty="gitOutput.commitDate" resultproperty="gitExitCode.commitDate" failonerror="false" failifexecutionfails="false">
<arg value="log" />
<arg value="-1" />
<arg value="--format=format:%cd" />
@ -579,10 +570,7 @@
</else>
</if>
<exec executable="git"
outputproperty="gitOutput.repoStatus"
resultproperty="gitExitCode.repoStatus"
failonerror="false" failifexecutionfails="false">
<exec executable="git" outputproperty="gitOutput.repoStatus" resultproperty="gitExitCode.repoStatus" failonerror="false" failifexecutionfails="false">
<arg value="status" />
<arg value="--porcelain" />
</exec>
@ -609,22 +597,20 @@
<!-- 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" />
<mkdir dir="${metaInfDir}" />
<delete file="${versionPropFile}" quiet="true"/>
<delete file="${versionPropFile}" quiet="true" />
<propertyfile
file="${versionPropFile}"
comment="Generated by netty-parent/pom.xml">
<entry key="${project.artifactId}.version" value="${project.version}"/>
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z"/>
<entry key="${project.artifactId}.commitDate" value="${commitDate}"/>
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}"/>
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}"/>
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}"/>
<propertyfile file="${versionPropFile}" comment="Generated by netty-parent/pom.xml">
<entry key="${project.artifactId}.version" value="${project.version}" />
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z" />
<entry key="${project.artifactId}.commitDate" value="${commitDate}" />
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}" />
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}" />
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}" />
</propertyfile>
</target>
</configuration>

View File

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

View File

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

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
</parent>
<artifactId>netty-transport-rxtx</artifactId>

View File

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

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>5.0.0.Alpha1-SNAPSHOT</version>
<version>5.0.0.Alpha1</version>
</parent>
<artifactId>netty-transport-udt</artifactId>

View File

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