Skip to content

Commit

Permalink
[maven-release-plugin] prepare release netty-5.0.0.Alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Dec 22, 2013
1 parent ffbecbe commit 888dfba
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 55 deletions.
15 changes: 6 additions & 9 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion buffer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion codec-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion codec-memcache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion codec-socks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion codec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion handler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion microbench/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
48 changes: 17 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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://[email protected]/netty/netty.git</developerConnection>
<tag>HEAD</tag>
<tag>netty-5.0.0.Alpha1</tag>
</scm>

<developers>
Expand Down Expand Up @@ -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" />
Expand All @@ -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" />
Expand All @@ -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" />
Expand All @@ -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>
Expand All @@ -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"/>

<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}"/>
<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>
</target>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion tarball/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion transport-rxtx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion transport-sctp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion transport-udt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion transport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 888dfba

Please sign in to comment.