Skip to content

Commit 888dfba

Browse files
committed
[maven-release-plugin] prepare release netty-5.0.0.Alpha1
1 parent ffbecbe commit 888dfba

File tree

17 files changed

+38
-55
lines changed

17 files changed

+38
-55
lines changed

all/pom.xml

+6-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-all</artifactId>
@@ -248,23 +248,20 @@
248248
<configuration>
249249
<target>
250250
<taskdef resource="net/sf/antcontrib/antlib.xml" />
251-
<propertyselector
252-
property="versions"
253-
match="^(${project.groupId}:(?!netty-example)[^:]+:jar)$" select="\1"/>
251+
<propertyselector property="versions" match="^(${project.groupId}:(?!netty-example)[^:]+:jar)$" select="\1" />
254252
<for list="${versions}" param="x">
255253
<sequential>
256254
<unzip src="${@{x}}" dest="${dependencyVersionsDir}">
257255
<patternset>
258-
<include name="META-INF/${project.groupId}.versions.properties"/>
256+
<include name="META-INF/${project.groupId}.versions.properties" />
259257
</patternset>
260258
</unzip>
261-
<concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties"
262-
append="true">
263-
<path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties"/>
259+
<concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties" append="true">
260+
<path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties" />
264261
</concat>
265262
</sequential>
266263
</for>
267-
<delete dir="${dependencyVersionsDir}" quiet="true"/>
264+
<delete dir="${dependencyVersionsDir}" quiet="true" />
268265
</target>
269266
</configuration>
270267
</execution>

buffer/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-buffer</artifactId>

codec-http/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-codec-http</artifactId>

codec-memcache/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-codec-memcache</artifactId>

codec-socks/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-codec-socks</artifactId>

codec/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-codec</artifactId>

common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-common</artifactId>

example/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-example</artifactId>

handler/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-handler</artifactId>

microbench/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-microbench</artifactId>

pom.xml

+17-31
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<groupId>io.netty</groupId>
2727
<artifactId>netty-parent</artifactId>
2828
<packaging>pom</packaging>
29-
<version>5.0.0.Alpha1-SNAPSHOT</version>
29+
<version>5.0.0.Alpha1</version>
3030

3131
<name>Netty</name>
3232
<url>http://netty.io/</url>
@@ -53,7 +53,7 @@
5353
<url>https://github.com/netty/netty</url>
5454
<connection>scm:git:git://github.com/netty/netty.git</connection>
5555
<developerConnection>scm:git:ssh://[email protected]/netty/netty.git</developerConnection>
56-
<tag>HEAD</tag>
56+
<tag>netty-5.0.0.Alpha1</tag>
5757
</scm>
5858

5959
<developers>
@@ -524,10 +524,7 @@
524524
<taskdef resource="net/sf/antcontrib/antlib.xml" />
525525

526526
<!-- Get the information about the latest commit -->
527-
<exec executable="git"
528-
outputproperty="gitOutput.shortCommitHash"
529-
resultproperty="gitExitCode.shortCommitHash"
530-
failonerror="false" failifexecutionfails="false">
527+
<exec executable="git" outputproperty="gitOutput.shortCommitHash" resultproperty="gitExitCode.shortCommitHash" failonerror="false" failifexecutionfails="false">
531528
<arg value="log" />
532529
<arg value="-1" />
533530
<arg value="--format=format:%h" />
@@ -542,10 +539,7 @@
542539
</else>
543540
</if>
544541

545-
<exec executable="git"
546-
outputproperty="gitOutput.longCommitHash"
547-
resultproperty="gitExitCode.longCommitHash"
548-
failonerror="false" failifexecutionfails="false">
542+
<exec executable="git" outputproperty="gitOutput.longCommitHash" resultproperty="gitExitCode.longCommitHash" failonerror="false" failifexecutionfails="false">
549543
<arg value="log" />
550544
<arg value="-1" />
551545
<arg value="--format=format:%H" />
@@ -560,10 +554,7 @@
560554
</else>
561555
</if>
562556

563-
<exec executable="git"
564-
outputproperty="gitOutput.commitDate"
565-
resultproperty="gitExitCode.commitDate"
566-
failonerror="false" failifexecutionfails="false">
557+
<exec executable="git" outputproperty="gitOutput.commitDate" resultproperty="gitExitCode.commitDate" failonerror="false" failifexecutionfails="false">
567558
<arg value="log" />
568559
<arg value="-1" />
569560
<arg value="--format=format:%cd" />
@@ -579,10 +570,7 @@
579570
</else>
580571
</if>
581572

582-
<exec executable="git"
583-
outputproperty="gitOutput.repoStatus"
584-
resultproperty="gitExitCode.repoStatus"
585-
failonerror="false" failifexecutionfails="false">
573+
<exec executable="git" outputproperty="gitOutput.repoStatus" resultproperty="gitExitCode.repoStatus" failonerror="false" failifexecutionfails="false">
586574
<arg value="status" />
587575
<arg value="--porcelain" />
588576
</exec>
@@ -609,22 +597,20 @@
609597

610598
<!-- Generate the .properties file. -->
611599
<!--
612-
<property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF"/>
600+
<property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF" />
613601
-->
614-
<property name="metaInfDir" value="${project.build.outputDirectory}/META-INF"/>
602+
<property name="metaInfDir" value="${project.build.outputDirectory}/META-INF" />
615603
<property name="versionPropFile" value="${metaInfDir}/${project.groupId}.versions.properties" />
616604
<mkdir dir="${metaInfDir}" />
617-
<delete file="${versionPropFile}" quiet="true"/>
618-
619-
<propertyfile
620-
file="${versionPropFile}"
621-
comment="Generated by netty-parent/pom.xml">
622-
<entry key="${project.artifactId}.version" value="${project.version}"/>
623-
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z"/>
624-
<entry key="${project.artifactId}.commitDate" value="${commitDate}"/>
625-
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}"/>
626-
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}"/>
627-
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}"/>
605+
<delete file="${versionPropFile}" quiet="true" />
606+
607+
<propertyfile file="${versionPropFile}" comment="Generated by netty-parent/pom.xml">
608+
<entry key="${project.artifactId}.version" value="${project.version}" />
609+
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z" />
610+
<entry key="${project.artifactId}.commitDate" value="${commitDate}" />
611+
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}" />
612+
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}" />
613+
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}" />
628614
</propertyfile>
629615
</target>
630616
</configuration>

tarball/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-tarball</artifactId>

testsuite/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-testsuite</artifactId>

transport-rxtx/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-transport-rxtx</artifactId>

transport-sctp/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-transport-sctp</artifactId>

transport-udt/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-transport-udt</artifactId>

transport/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.netty</groupId>
2222
<artifactId>netty-parent</artifactId>
23-
<version>5.0.0.Alpha1-SNAPSHOT</version>
23+
<version>5.0.0.Alpha1</version>
2424
</parent>
2525

2626
<artifactId>netty-transport</artifactId>

0 commit comments

Comments
 (0)