uimaj (2.4.0-2) disable_ecore.diff

Summary

 uimaj-examples/pom.xml |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: uima-examples: disable ecore (Eclipse EMF)
 by using "excludes" parameter of maven-compiler-plugin
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2010-04-05
Forwared: not-needed
--- a/uimaj-examples/pom.xml
+++ b/uimaj-examples/pom.xml
@@ -83,7 +83,8 @@
 			<artifactId>uimaj-tools</artifactId>
 			<version>${project.parent.version}</version>
 			<scope>compile</scope>
-		</dependency>		
+		</dependency>	
+<!--	
  		<dependency>
 			<groupId>org.eclipse.emf</groupId>
 			<artifactId>common</artifactId>
@@ -102,6 +103,7 @@
 			<version>2.1.0</version>
 			<scope>provided</scope>
 		</dependency>
+-->
 	</dependencies>
 	<build>
 		<finalName>uima-examples</finalName>
@@ -124,7 +126,18 @@
               </configuration>
             </execution>
           </executions>
-        </plugin>       
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.5</source>
+               <target>1.5</target>
+               <excludes>
+                       <exclude>**/org/apache/uima/examples/xmi/**.java</exclude>
+               </excludes>
+            </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
 	</build>