kaz 02/05/12 05:57:05
Modified: src/templates/build build-maven.xml
xdocs/ref build-file.xml
Log:
Patch from St�phane MOR <[EMAIL PROTECTED]>. Thanks!
[St�phane's comments]
Here is a patch to include the license file, LICENSE.txt, in the JAR
file generated by Maven, in META-INF/LICENSE.txt. I also modified
xdocs/ref/build-file.xml to notify this feature.
Revision Changes Path
1.48 +3 -0 jakarta-turbine-maven/src/templates/build/build-maven.xml
Index: build-maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- build-maven.xml 8 May 2002 02:27:39 -0000 1.47
+++ build-maven.xml 12 May 2002 12:57:05 -0000 1.48
@@ -429,6 +429,9 @@
jarfile="${maven.build.dir}/${maven.final.name}.jar"
basedir="${maven.build.dest}"
excludes="${maven.jar.excludes}">
+ <metainf dir="${basedir}">
+ <include name="LICENSE.txt"/>
+ </metainf>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<!-- name should be '/' separated, not '.' -->
1.9 +4 -0 jakarta-turbine-maven/xdocs/ref/build-file.xml
Index: build-file.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/ref/build-file.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build-file.xml 10 May 2002 15:25:07 -0000 1.8
+++ build-file.xml 12 May 2002 12:57:05 -0000 1.9
@@ -329,6 +329,10 @@
resources might include images, configuration files, or DTDs.
</p>
<p>
+ Maven also includes the license file, LICENSE.txt, if it exists, under
+ the directory META-INF.
+ </p>
+ <p>
The generated jar file is placed in the <code>target</code>
directory relative to the base directory of the project. The
<a href="project-descriptor.html#project"><code>project</code></a>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>