Author: schor
Date: Wed Feb 8 19:49:32 2012
New Revision: 1242053
URL: http://svn.apache.org/viewvc?rev=1242053&view=rev
Log:
[UIMA-2360] invoke new goal of uima-build-helper-maven-plugin to copy (if
needed) the binary build artifact from the Apache distribution spot
(archive.apache.org) to users local .m2 repository.
Modified:
uima/uima-as/trunk/uima-as/pom.xml
Modified: uima/uima-as/trunk/uima-as/pom.xml
URL:
http://svn.apache.org/viewvc/uima/uima-as/trunk/uima-as/pom.xml?rev=1242053&r1=1242052&r2=1242053&view=diff
==============================================================================
--- uima/uima-as/trunk/uima-as/pom.xml (original)
+++ uima/uima-as/trunk/uima-as/pom.xml Wed Feb 8 19:49:32 2012
@@ -68,13 +68,13 @@
<!-- dependencies used during assembly -->
<dependencies>
<!-- uima base -->
- <dependency>
+ <!-- dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj</artifactId>
<type>zip</type>
<classifier>bin</classifier>
<version>${uimajDependencyVersion}</version>
- </dependency>
+ </dependency-->
<!-- uima-as -->
<dependency>
@@ -322,6 +322,22 @@
<!-- UIMA-AS includes the base UIMA binary distribution
We get an unzipped version of that and unpack it into
target/uimaj -->
+
+ <!-- must come before the unpack -->
+ <plugin>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uima-build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals><goal>copy-from-apache-dist</goal></goals>
+ <configuration>
+ <version>${uimajDependencyVersion}</version>
+ <artifactId>uimaj</artifactId>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>