summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-05-30 17:42:59 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-05-30 17:42:59 +0200
commit5c78664a60fb490fc695859229d362261e14df64 (patch)
tree018221e8e74cd7e0bdf6854edcde9d0e153533ce /pom.xml
parentb086f57f56bf0eb9dab9cf321a0f69aaaae84347 (diff)
Auto set classpath in eclipse for generated source. Requires build
helper plugin.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml37
1 files changed, 35 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 79d104c..45fa6ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>cristal-kernel</groupId>
+ <groupId>cristal</groupId>
<artifactId>cristal-kernel</artifactId>
<version>2.3.1</version>
<name>cristal-kernel</name>
@@ -14,6 +14,12 @@
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml-schema</artifactId>
+ <exclusions>
+ <exclusion>
+ <artifactId>stax</artifactId>
+ <groupId>stax</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.python</groupId>
@@ -131,12 +137,39 @@
<prefix>com.c2kernel</prefix>
</packagePrefix>
</packagePrefixes>
- <compatible>false</compatible>
+ <compatible>false</compatible>
</source>
</sources>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin> <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/generated-sources/idl/</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+
<resources>
<resource>
<directory>src/main/resources</directory>