Build property cleanup
This commit is contained in:
parent
29cf4f83a3
commit
be32586d50
4
pom.xml
4
pom.xml
@ -323,8 +323,8 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<mkdir dir="${basedir}/target" />
|
||||
<echo message="${project.version}, r${buildNumber}" file="${basedir}/target/version.txt" />
|
||||
<mkdir dir="${project.build.directory}" />
|
||||
<echo message="${project.version}, r${buildNumber}" file="${project.build.directory}/version.txt" />
|
||||
<echo message="// DO NOT MODIFY - WILL BE OVERWRITTEN DURING THE BUILD PROCESS${line.separator}package org.jboss.netty.util;${line.separator}/** Provides the version information of Netty. */${line.separator}public final class Version {${line.separator} /** The version identifier. */${line.separator} public static final String ID = "${project.version}-r${buildNumber}";${line.separator} /** Prints out the version identifier to stdout. */${line.separator} public static void main(String[] args) { System.out.println(ID); }${line.separator} private Version() { super(); }${line.separator}}${line.separator}" file="${basedir}/src/main/java/org/jboss/netty/util/Version.java" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user