|
26 | 26 | <groupId>io.netty</groupId>
|
27 | 27 | <artifactId>netty-parent</artifactId>
|
28 | 28 | <packaging>pom</packaging>
|
29 |
| - <version>5.0.0.Alpha1-SNAPSHOT</version> |
| 29 | + <version>5.0.0.Alpha1</version> |
30 | 30 |
|
31 | 31 | <name>Netty</name>
|
32 | 32 | <url>http://netty.io/</url>
|
|
53 | 53 | <url>https://github.com/netty/netty</url>
|
54 | 54 | <connection>scm:git:git://github.com/netty/netty.git</connection>
|
55 | 55 | < developerConnection>scm:git:ssh:// [email protected]/netty/netty.git</ developerConnection>
|
56 |
| - <tag>HEAD</tag> |
| 56 | + <tag>netty-5.0.0.Alpha1</tag> |
57 | 57 | </scm>
|
58 | 58 |
|
59 | 59 | <developers>
|
|
524 | 524 | <taskdef resource="net/sf/antcontrib/antlib.xml" />
|
525 | 525 |
|
526 | 526 | <!-- 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"> |
531 | 528 | <arg value="log" />
|
532 | 529 | <arg value="-1" />
|
533 | 530 | <arg value="--format=format:%h" />
|
|
542 | 539 | </else>
|
543 | 540 | </if>
|
544 | 541 |
|
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"> |
549 | 543 | <arg value="log" />
|
550 | 544 | <arg value="-1" />
|
551 | 545 | <arg value="--format=format:%H" />
|
|
560 | 554 | </else>
|
561 | 555 | </if>
|
562 | 556 |
|
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"> |
567 | 558 | <arg value="log" />
|
568 | 559 | <arg value="-1" />
|
569 | 560 | <arg value="--format=format:%cd" />
|
|
579 | 570 | </else>
|
580 | 571 | </if>
|
581 | 572 |
|
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"> |
586 | 574 | <arg value="status" />
|
587 | 575 | <arg value="--porcelain" />
|
588 | 576 | </exec>
|
|
609 | 597 |
|
610 | 598 | <!-- Generate the .properties file. -->
|
611 | 599 | <!--
|
612 |
| - <property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF"/> |
| 600 | + <property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF" /> |
613 | 601 | -->
|
614 |
| - <property name="metaInfDir" value="${project.build.outputDirectory}/META-INF"/> |
| 602 | + <property name="metaInfDir" value="${project.build.outputDirectory}/META-INF" /> |
615 | 603 | <property name="versionPropFile" value="${metaInfDir}/${project.groupId}.versions.properties" />
|
616 | 604 | <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}" /> |
628 | 614 | </propertyfile>
|
629 | 615 | </target>
|
630 | 616 | </configuration>
|
|
0 commit comments