summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pom.xml70
1 files changed, 42 insertions, 28 deletions
diff --git a/pom.xml b/pom.xml
index 9be89fe..8d1a4ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,8 +7,8 @@
<name>cristal-kernel</name>
<description>CRISTAL kernel</description>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
<dependencies>
<dependency>
<groupId>xerces</groupId>
@@ -74,6 +74,12 @@
</dependencies>
</dependencyManagement>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <targetPath>com/c2kernel/utils/resources</targetPath>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<plugin>
@@ -157,32 +163,40 @@
<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>
+ </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>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
-
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <targetPath>com/c2kernel/utils/resources</targetPath>
- </resource>
- </resources>
</build>
</project> \ No newline at end of file