You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2007/03/06 16:37:19 UTC
svn commit: r515154 -
/incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml
Author: alally
Date: Tue Mar 6 07:37:18 2007
New Revision: 515154
URL: http://svn.apache.org/viewvc?view=rev&rev=515154
Log:
Eliminated redundant LICENSE, NOTICE, DISCLAIMER files.
Maven antrun plugin now used to copy these resources from
a single location into the target/src/main/resources/META-INF
directory of each project.
UIMA-334: https://issues.apache.org/jira/browse/UIMA-334
Modified:
incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml
Modified: incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml?view=diff&rev=515154&r1=515153&r2=515154
==============================================================================
--- incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml (original)
+++ incubator/uima/uimaj/branches/uimaj-2.1.0/uimaj/pom.xml Tue Mar 6 07:37:18 2007
@@ -65,6 +65,29 @@
<target>1.4</target>
</configuration>
</plugin>
+ <!-- We use and ant task to copy the LICENSE, NOTICE, and DISCLAIMER files
+ from a single location in uimaj-distr into the target/classes/META-INF
+ directory of all components. In theory the Maven resources plugin is
+ supposed to do this, but we have not been able to get it to work. -->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <copy todir="target/classes/META-INF">
+ <fileset dir="../uimaj-distr/src/main/readme"
+ includes="LICENSE NOTICE DISCLAIMER"/>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<reporting>