1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
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
@@ -82,7 +82,8 @@
<artifactId>uimaj-tools</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
- </dependency>
+ </dependency>
+<!--
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>common</artifactId>
@@ -101,6 +102,7 @@
<version>2.1.0</version>
<scope>provided</scope>
</dependency>
+-->
</dependencies>
<build>
<finalName>uima-examples</finalName>
@@ -123,7 +125,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>
|