]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dist/slc-sdk/pom.xml
Upgrade Equinox to 3.5
[gpl/argeo-slc.git] / dist / slc-sdk / pom.xml
diff --git a/dist/slc-sdk/pom.xml b/dist/slc-sdk/pom.xml
new file mode 100644 (file)
index 0000000..1450352
--- /dev/null
@@ -0,0 +1,84 @@
+<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>dist</artifactId>
+               <version>0.12.1-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <groupId>org.argeo.slc.dist</groupId>
+       <artifactId>slc-sdk</artifactId>
+       <packaging>pom</packaging>
+       <name>SLC SDK</name>
+       <properties>
+               <argeo.p2.cmd>/home/mbaudier/dev/tools/eclipse-rcp-galileo-SR1/eclipse</argeo.p2.cmd>
+               <argeo.p2.repository>/var/www/html/dev/slc/repository</argeo.p2.repository>
+       </properties>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>copy-dependencies</id>
+                                               <phase>process-resources</phase>
+                                               <goals>
+                                                       <goal>copy-dependencies</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <includeTypes>jar</includeTypes>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>exec-maven-plugin</artifactId>
+                               <version>1.1</version>
+                               <executions>
+                                       <execution>
+                                               <id>create-repository</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>exec</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                               <configuration>
+                                       <executable>${argeo.p2.cmd}</executable>
+                                       <!-- optional -->
+                                       <workingDirectory>/tmp</workingDirectory>
+                                       <arguments>
+                                               <argument>-noSplash</argument>
+                                               <argument>-application</argument>
+                                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
+                                               <argument>-metadataRepository</argument>
+                                               <argument>file:${argeo.p2.repository}</argument>
+                                               <argument>-artifactRepository</argument>
+                                               <argument>file:${argeo.p2.repository}</argument>
+                                               <argument>-bundles</argument>
+                                               <argument>${project.build.directory}/dependency</argument>
+                                               <argument>-features</argument>
+                                               <argument>${project.build.directory}/dependency</argument>
+                                               <argument>-compress</argument>
+                                               <argument>-publishArtifacts</argument>
+                                       </arguments>
+                               </configuration>
+                       </plugin>
+
+               </plugins>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.slc.dep</groupId>
+                       <artifactId>org.argeo.slc.dep.server</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.server</groupId>
+                       <artifactId>org.argeo.slc.ria</artifactId>
+               </dependency>
+       </dependencies>
+</project>
\ No newline at end of file