]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.example/pom.xml
[maven-release-plugin] copy for tag argeo-slc-all-0.9.4
[gpl/argeo-slc.git] / org.argeo.slc.example / pom.xml
index fcd7d8b5e5f617d0f04cdf60fa4de7797f8bdf1e..b29dd40fd119c3c3e2bb795c75ad16525ce7a149 100644 (file)
@@ -1,72 +1,72 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0"\r
-       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
-       <packaging>jar</packaging>\r
-       <version>0.5.1-SNAPSHOT</version>\r
-       <description></description>\r
-       <build>\r
-               <plugins>\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
-                               <configuration>\r
-                                       <skip>true</skip>\r
-                               </configuration>\r
-                               <executions>\r
-                                       <execution>\r
-                                               <id>surefire-it</id>\r
-                                               <phase>integration-test</phase>\r
-                                               <goals>\r
-                                                       <goal>test</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
-               </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
-               </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 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</version>
+               <relativePath>../org.argeo.slc</relativePath>
+       </parent>
+       <artifactId>argeo-slc-example</artifactId>
+       <name>Argeo SLC Example</name>
+       <packaging>jar</packaging>
+       <description>An Example SLC application</description>
+       <scm>
+               <connection>scm:svn:https://www.argeo.org/svn/slc/tags/argeo-slc-all-0.9.4/org.argeo.slc.example</connection>
+               <url>https://www.argeo.org/svn/slc/tags/argeo-slc-all-0.9.4/org.argeo.slc.example</url>
+       </scm>
+       <build>
+               <plugins>
+                       <!-- Look to parent pom for inheritances -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <configuration>
+                                       <descriptors>
+                                               <descriptor>src/assembly/slc.xml</descriptor>
+                                       </descriptors>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>assembly-exampleSlcAppli</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <configuration>
+                                       <systemProperties>
+                                               <property>
+                                                       <name>slc.rootDir</name>
+                                                       <value>${basedir}/src/main/slc/root</value>
+                                               </property>
+                                       </systemProperties>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>argeo-slc-core</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>argeo-slc-agent</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+       </dependencies>
 </project>
\ No newline at end of file