Making VERSION.txt automatically update itself in the jetty-distribution tarball

This commit is contained in:
Joakim Erdfelt 2011-08-19 10:52:48 -07:00
parent d8d5414f64
commit b34ccc5915
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,5 @@
jetty-7.5.0-SNAPSHOT
jetty-7.5.0.RC1 - 19 August 2011
+ 276670 SLF4J loggers show correct location information
+ 335001 Eliminate expected exceptions from log when running in JBoss

View File

@ -129,7 +129,6 @@
</fileset>
</copy>
<copy file="../VERSION.txt" todir="${assembly-directory}" />
<chmod dir="${assembly-directory}/bin" perm="755" includes="**/*.sh" />
</tasks>
</configuration>
@ -307,6 +306,16 @@
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-project</artifactId>
<version>${project.version}</version>
<classifier>version</classifier>
<type>txt</type>
<overWrite>true</overWrite>
<outputDirectory>${assembly-directory}/</outputDirectory>
<destFileName>VERSION.txt</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>

View File

@ -49,7 +49,7 @@
<plugin>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-version-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<executions>
<execution>
<id>gen-versiontxt</id>