You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2010/08/04 17:03:30 UTC

svn commit: r982286 - /uima/uimaj/trunk/uimaj-ep-runtime/pom.xml

Author: schor
Date: Wed Aug  4 15:03:30 2010
New Revision: 982286

URL: http://svn.apache.org/viewvc?rev=982286&view=rev
Log:
[UIMA-1846] add maven-dependency-plugin:unpack-dependencies to mimic the effect of <embed-dependencies> instruction.  Also, add the <execution> <id> to properly tie this to the parent-pom factored out common stuff.

Modified:
    uima/uimaj/trunk/uimaj-ep-runtime/pom.xml

Modified: uima/uimaj/trunk/uimaj-ep-runtime/pom.xml
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-runtime/pom.xml?rev=982286&r1=982285&r2=982286&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-runtime/pom.xml (original)
+++ uima/uimaj/trunk/uimaj-ep-runtime/pom.xml Wed Aug  4 15:03:30 2010
@@ -31,7 +31,7 @@
   
   <artifactId>uimaj-ep-runtime</artifactId>
   <version>2.3.1-SNAPSHOT</version>
-  <packaging>jar</packaging>
+  <packaging>jar</packaging>  <!-- can't be bundle because it doesn't handle property substitution -->
   <name>UIMA Eclipse: ${project.artifactId}</name>
   <description>Provides the core UIMA Framework to other Eclipse 
     plugins for their use</description>
@@ -127,6 +127,7 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <executions>
           <execution>
+            <id>uima-bundle</id>
             <configuration>
               <instructions>
                 <!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->
@@ -239,10 +240,23 @@
                 <Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI>
                 <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>
               </instructions>
-            </configuration>
+            </configuration>            
           </execution>
         </executions>
       </plugin>
+      
+      <plugin>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpackDependentJars</id>
+            <goals><goal>unpack-dependencies</goal></goals>
+            <configuration>
+              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>      
     </plugins>
   </build>
 </project>