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 17:30:38 UTC

svn commit: r515189 - /incubator/uima/uimaj/trunk/uimaj/pom.xml

Author: alally
Date: Tue Mar  6 08:30:37 2007
New Revision: 515189

URL: http://svn.apache.org/viewvc?view=rev&rev=515189
Log:
Remove redundant LICENSE, NOTICE, DISCLAIMER files.
UIMA-334: https://issues.apache.org/jira/browse/UIMA-334

Modified:
    incubator/uima/uimaj/trunk/uimaj/pom.xml

Modified: incubator/uima/uimaj/trunk/uimaj/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj/pom.xml?view=diff&rev=515189&r1=515188&r2=515189
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj/pom.xml (original)
+++ incubator/uima/uimaj/trunk/uimaj/pom.xml Tue Mar  6 08:30:37 2007
@@ -65,7 +65,30 @@
 					<target>1.4</target>
 				</configuration>
 			</plugin>
- 		</plugins>
+			<!-- 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>
 		<plugins>