Introduce automated buid
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 9 Jul 2008 19:07:21 +0000 (19:07 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 9 Jul 2008 19:07:21 +0000 (19:07 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1405 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/plugins/org.argeo.slc.pde/buildConfiguration/build.properties [new file with mode: 0644]
eclipse/plugins/org.argeo.slc.pde/pom.xml [new file with mode: 0644]

diff --git a/eclipse/plugins/org.argeo.slc.pde/buildConfiguration/build.properties b/eclipse/plugins/org.argeo.slc.pde/buildConfiguration/build.properties
new file mode 100644 (file)
index 0000000..74cee6e
--- /dev/null
@@ -0,0 +1,3 @@
+archivePrefix=argeo-slc-pde
+product=org.argeo.slc.pde/argeo-slc-pde.product
+configs = linux, gtk, x86
diff --git a/eclipse/plugins/org.argeo.slc.pde/pom.xml b/eclipse/plugins/org.argeo.slc.pde/pom.xml
new file mode 100644 (file)
index 0000000..9aead30
--- /dev/null
@@ -0,0 +1,66 @@
+<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>
+       <groupId>org.argeo.slc.eclipse</groupId>
+       <artifactId>org.argeo.slc.pde</artifactId>
+       <version>0.1.1-SNAPSHOT</version>
+       <packaging>pom</packaging>
+       <name>Argeo PDE Builder</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>buildProduct</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <eclipseBuildDir>
+                                                               ${eclipseBuildDir}
+                                                       </eclipseBuildDir>
+                                                       <eclipseAntArgs></eclipseAntArgs>
+                                               </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-artifacts</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>attach-artifact</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <artifacts>
+                                                               <artifact>
+                                                                       <file>
+                                                                               ${project.build.directory}/${project.artifactId}-linux.gtk.x86.zip
+                                                                       </file>
+                                                                       <type>zip</type>
+                                                                       <classifier>
+                                                                               linux.gtk.x86
+                                                                       </classifier>
+                                                               </artifact>
+                                                       </artifacts>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file