xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
<modelVersion>4.0.0</modelVersion>\r
- <groupId>org.argeo.slc</groupId>\r
- <artifactId>org.argeo.slc.example</artifactId>\r
+ <parent>\r
+ <groupId>org.argeo.slc</groupId>\r
+ <artifactId>argeo-slc</artifactId>\r
+ <version>0.9-SNAPSHOT</version>\r
+ <relativePath>../org.argeo.slc</relativePath>\r
+ </parent>\r
+ <artifactId>argeo-slc-example</artifactId>\r
+ <name>Argeo SLC Example</name>\r
<packaging>jar</packaging>\r
- <version>0.5.1-SNAPSHOT</version>\r
- <description></description>\r
+ <description>An Example SLC application</description>\r
+ <scm>\r
+ <connection>\r
+ scm:svn:https://www.argeo.org/svn/slc/trunk/org.argeo.slc.example\r
+ </connection>\r
+ <url>\r
+ https://www.argeo.org/svn/slc/trunk/org.argeo.slc.example\r
+ </url>\r
+ </scm>\r
<build>\r
<plugins>\r
- <plugin>\r
+ <!-- Look to parent pom for inheritances -->\r
+ <plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<artifactId>maven-compiler-plugin</artifactId>\r
- <configuration>\r
- <source>1.5</source>\r
- <target>1.5</target>\r
- </configuration>\r
</plugin>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-surefire-plugin</artifactId>\r
+ <artifactId>maven-source-plugin</artifactId>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-assembly-plugin</artifactId>\r
<configuration>\r
- <skip>true</skip>\r
+ <descriptors>\r
+ <descriptor>src/assembly/slc.xml</descriptor>\r
+ </descriptors>\r
</configuration>\r
<executions>\r
<execution>\r
- <id>surefire-it</id>\r
- <phase>integration-test</phase>\r
+ <id>assembly-exampleSlcAppli</id>\r
+ <phase>package</phase>\r
<goals>\r
- <goal>test</goal>\r
+ <goal>single</goal>\r
</goals>\r
- <configuration>\r
- <skip>false</skip>\r
- <systemProperties>\r
- <property>\r
- <name>it.slc.base</name>\r
- <value>\r
- ${basedir}/exampleSlcAppli\r
- </value>\r
- </property>\r
- </systemProperties>\r
- </configuration>\r
</execution>\r
</executions>\r
</plugin>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-surefire-plugin</artifactId>\r
+ <configuration>\r
+ <systemProperties>\r
+ <property>\r
+ <name>it.slc.base</name>\r
+ <value>${basedir}/exampleSlcAppli</value>\r
+ </property>\r
+ </systemProperties>\r
+ </configuration>\r
+ </plugin>\r
</plugins>\r
</build>\r
<dependencies>\r
<dependency>\r
<groupId>org.argeo.slc</groupId>\r
<artifactId>argeo-slc-core</artifactId>\r
- <version>0.5.1-SNAPSHOT</version>\r
+ <version>${project.version}</version>\r
</dependency>\r
</dependencies>\r
- <dependencyManagement>\r
- <dependencies>\r
- <dependency>\r
- <groupId>javax.transaction</groupId>\r
- <artifactId>jta</artifactId>\r
- <version>1.0.1</version>\r
- </dependency>\r
- </dependencies>\r
- </dependencyManagement>\r
- <repositories>\r
- <repository>\r
- <id>central</id>\r
- <url>http://www.argeo.org/maven/repository</url>\r
- </repository>\r
- </repositories>\r
</project>
\ No newline at end of file