]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Resolve sources before generating target platforms
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 13 Jan 2011 20:58:28 +0000 (20:58 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 13 Jan 2011 20:58:28 +0000 (20:58 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4026 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dep/pom.xml

index 24ef2f45c8befdde5de37e327faaed5d6c388f8d..92183d7c8a3080aa2b796e1955a0cdd4b59ce074 100644 (file)
@@ -1,4 +1,5 @@
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.slc</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
                                <executions>
                                        <execution>
+                                               <id>resolve-pde-sources</id>
                                                <goals>
-                                                       <goal>descriptors</goal>
+                                                       <goal>pde-sources</goal>
                                                </goals>
                                                <phase>generate-resources</phase>
+                                               <configuration>
+                                                       <copyArtifacts>true</copyArtifacts>
+                                               </configuration>
                                        </execution>
-                               </executions>
-                       </plugin><!--
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>build-helper-maven-plugin</artifactId>
-                               <executions>
                                        <execution>
-                                               <id>attach-artifacts</id>
-                                               <phase>package</phase>
                                                <goals>
-                                                       <goal>attach-artifact</goal>
+                                                       <goal>descriptors</goal>
                                                </goals>
-                                               <configuration>
-                                                       <artifacts>
-                                                               <artifact>
-                                                                       <file>target/classes/modularDistribution.csv</file>
-                                                                       <type>csv</type>
-                                                                       <classifier>modularDistribution</classifier>
-                                                               </artifact>
-                                                       </artifacts>
-                                               </configuration>
+                                               <phase>generate-resources</phase>
                                        </execution>
                                </executions>
-                       </plugin>
-               --></plugins>
+                       </plugin><!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> 
+                               <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> 
+                               <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> 
+                               <artifact> <file>target/classes/modularDistribution.csv</file> <type>csv</type> 
+                               <classifier>modularDistribution</classifier> </artifact> </artifacts> </configuration> 
+                               </execution> </executions> </plugin> -->
+               </plugins>
        </build>
 </project>
\ No newline at end of file