]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/features/org.argeo.slc.ui.launch.feature/pom.xml
[maven-release-plugin] copy for tag argeo-slc-all-0.10.2
[gpl/argeo-slc.git] / eclipse / features / org.argeo.slc.ui.launch.feature / pom.xml
index 9597f8e58bfb52869cbf5a25150493a2fa4500fa..bad0919aabb93a80dd39a550380408d3cb266d1f 100644 (file)
@@ -1,52 +1,95 @@
-<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>argeo-slc</artifactId>
-               <version>0.9.4-SNAPSHOT</version>
-               <relativePath>../org.argeo.slc</relativePath>
-       </parent>
-       <artifactId>org.argeo.slc.ui.launch.feature</artifactId>
-       <packaging>pom</packaging>
-       <name>Argeo SLC Launch Eclipse Feature</name>
-       <properties>
-               <eclipse.base>
-                       /home/mbaudier/dev/eclipseBases/eclipse-3.3
-               </eclipse.base>
-       </properties>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.slc.maven.plugins</groupId>
-                               <artifactId>maven-argeo-pde-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>argeo-pde-build</id>
-                                               <phase>compile</phase>
-                                               <goals>
-                                                       <goal>build</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <baseLocation>${eclipse.base}</baseLocation>
-                                                       <buildScriptTargets>
-                                                               build.update.jar
-                                                       </buildScriptTargets>
-                                                       <buildScriptProperties>
-                                                               -DjavacSource=1.5 -DjavacTarget=1.5
-                                                       </buildScriptProperties>
-                                               </configuration>
-                                       </execution>
-                                       <execution>
-                                               <id>argeo-pde-clean</id>
-                                               <phase>clean</phase>
-                                               <goals>
-                                                       <goal>clean</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
+<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>argeo-slc</artifactId>
+        <version>0.10.2</version>
+        <relativePath>../org.argeo.slc</relativePath>
+    </parent>
+    <artifactId>org.argeo.slc.ui.launch.feature</artifactId>
+    <packaging>pom</packaging>
+    <name>Argeo SLC Launch Eclipse Feature</name>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.argeo.slc.maven.plugins</groupId>
+                <artifactId>maven-argeo-pde-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>argeo-pde-build</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>buildElement</goal>
+                        </goals>
+                        <configuration>
+                            <eclipseBuildDir>
+                                ${eclipseBuildDir}
+                            </eclipseBuildDir>
+                            <buildScriptProperties>
+                                -DjavacSource=1.5 -DjavacTarget=1.5
+                            </buildScriptProperties>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>argeo-pde-clean</id>
+                        <phase>clean</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-feature</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    <file>
+                                        ${project.build.directory}/${project.artifactId}.zip
+                                    </file>
+                                    <type>zip</type>
+                                    <classifier>feature</classifier>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>attach-updatesite</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    <file>
+                                        ${project.build.directory}/${project.artifactId}-updatesite.zip
+                                    </file>
+                                    <type>zip</type>
+                                    <classifier>updatesite</classifier>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>argeo-plugins</id>
+            <url>http://www.argeo.org/maven/argeo</url>
+        </pluginRepository>
+    </pluginRepositories>
+
 </project>
\ No newline at end of file