Skip to content

Commit

Permalink
adding pom.xml for building with maven, and init submodules in the in…
Browse files Browse the repository at this point in the history
…it task
  • Loading branch information
ahocevar committed Oct 3, 2011
1 parent b25d958 commit 1468df6
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.xml
Expand Up @@ -10,6 +10,11 @@
<target name="init">

<mkdir dir="${build}"/>

<echo message="pulling in submoudles"/>
<exec executable="git">
<arg line="submodule update --init"/>
</exec>

<echo message="pulling in ringo (ignore fatal warning)"/>
<mkdir dir="${build}/ringo"/>
Expand Down
54 changes: 54 additions & 0 deletions pom.xml
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<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.geonode</groupId>
<artifactId>geonode-client</artifactId>
<packaging>pom</packaging>
<version>1.1</version>
<name>GeoNode Client</name>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>initialize</id>
<phase>initialize</phase>
<configuration>
<tasks>
<ant antfile="${basedir}/build.xml" dir="${basedir}" target="init"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>compile</id>
<phase>compile</phase>
<configuration>
<tasks>
<ant antfile="${basedir}/build.xml" dir="${basedir}" target="zip"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>clean</id>
<phase>clean</phase>
<configuration>
<tasks>
<ant antfile="${basedir}/build.xml" dir="${basedir}" target="clean"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 1468df6

Please sign in to comment.