Skip to content

Commit 719c08d

Browse files
author
Timothy O'Brien
committed
Updated Maven project.xml and maven.xml to copy the RELEASE NOTES over to both the binary and source distributions - also, even though distributions are primarily created using Maven, the existing Ant dist task was modified to copy the RELEASE-NOTES.txt to the dist directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130125 13f79535-47bb-0310-9956-ffa450edef68
1 parent ab3ed47 commit 719c08d

3 files changed

Lines changed: 35 additions & 4 deletions

File tree

build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!--
55
"Codec" component of the Jakarta Commons Subproject
6-
$Id: build.xml,v 1.1 2003/04/25 17:50:55 tobrien Exp $
6+
$Id: build.xml,v 1.2 2003/04/29 22:17:49 tobrien Exp $
77
-->
88

99

@@ -108,7 +108,7 @@
108108
<mkdir dir="${dist.home}"/>
109109
<copy file="../LICENSE"
110110
todir="${dist.home}"/>
111-
<copy file="RELEASE-NOTES.txt"
111+
<copy file="${basedir}/RELEASE-NOTES.txt"
112112
todir="${dist.home}"/>
113113
<antcall target="jar"/>
114114
</target>

maven.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<project default="java:jar">
2+
3+
<preGoal name="dist:build-bin">
4+
5+
<copy todir="${maven.build.dir}/${maven.final.name}/bin/${maven.final.name}">
6+
<fileset dir="${basedir}">
7+
<include name="RELEASE-NOTES.txt"/>
8+
</fileset>
9+
</copy>
10+
11+
</preGoal>
12+
13+
<preGoal name="dist:build-src">
14+
15+
<copy todir="${maven.build.dir}/${maven.final.name}/src/${maven.final.name}">
16+
<fileset dir="${basedir}">
17+
<include name="RELEASE-NOTES.txt"/>
18+
</fileset>
19+
</copy>
20+
21+
</preGoal>
22+
23+
</project>

project.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<extend>../project.xml</extend>
55
<name>Codec</name>
66
<id>commons-codec</id>
7-
<currentVersion>1.1-rc1</currentVersion>
7+
<currentVersion>1.1</currentVersion>
88
<inceptionYear>2002</inceptionYear>
99
<shortDescription>
1010
A collection of simple and common encoders and decoders
1111
</shortDescription>
1212
<description>
13-
The codec package contains a few very simple encoder and decoders for
13+
The codec package contains simple encoder and decoders for
1414
various formats such as Base64 and Hexadecimal. In addition to these
1515
widely used encoders and decoders, the codec package also maintains a
1616
collection of phonetic encoding utilities.
@@ -22,7 +22,14 @@
2222
<name>1.1-rc1</name>
2323
<tag>CODEC_1_1_RC1</tag>
2424
</version>
25+
<version>
26+
<id>1.1</id>
27+
<name>1.1</name>
28+
<tag>CODEC_1_1</tag>
29+
</version>
2530
</versions>
31+
<branches>
32+
</branches>
2633

2734
<developers>
2835
<developer>
@@ -92,6 +99,7 @@
9299
</repository>
93100

94101
<build>
102+
95103
<unitTest>
96104
<includes>
97105
<include>**/*Test.java</include>

0 commit comments

Comments
 (0)