]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - integration-tests/org.argeo.slc.it.webapp/pom.xml
[maven-release-plugin] prepare for next development iteration
[gpl/argeo-slc.git] / integration-tests / org.argeo.slc.it.webapp / pom.xml
index 6b15ce4a7b46b02987d7ba5c70a464cdbd647a43..8a3573402e1334156415d980c98654feab64762d 100644 (file)
@@ -1,17 +1,60 @@
-<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">
+<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.11.3-SNAPSHOT</version>
-               <relativePath>../../org.argeo.slc</relativePath>
+               <artifactId>integration-tests</artifactId>
+               <version>0.11.5-SNAPSHOT</version>
        </parent>
+       <groupId>org.argeo.slc.it</groupId>
        <artifactId>org.argeo.slc.it.webapp</artifactId>
        <packaging>jar</packaging>
-       <name>Argeo SLC Web Application Integration Tests</name>
+       <name>SLC Integration Tests Web Application</name>
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <version>${version.maven-argeo-osgi}</version>
+                               <configuration>
+                                       <argsToAppend>
+                                               <arg>-clean</arg>
+                                       </argsToAppend>
+                                       <systemProperties>
+                                               <slc.osgi.bundles>
+                                                       ${basedir}/../../demo/site;in=*;ex=target;ex=pom.xml,
+                                                       ${basedir}/../../modules/server;in=*;ex=target;ex=pom.xml,
+                                                       ${basedir}/../../modules/agent;in=*;ex=target;ex=pom.xml
+                                               </slc.osgi.bundles>
+                                               <slc.osgi.start>
+                                                       org.springframework.osgi.extender,
+                                                       org.argeo.slc.server.main,
+                                                       org.argeo.slc.server.hsqldb,
+                                                       org.argeo.slc.ria,
+                                                       org.argeo.slc.agent,                                                            
+                                                       org.argeo.slc.agent.jms                                                 
+                                               </slc.osgi.start>
+                                       </systemProperties>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>equinox-start</id>
+                                               <phase>pre-integration-test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <wait>false</wait>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>equinox-shutdown</id>
+                                               <phase>post-integration-test</phase>
+                                               <goals>
+                                                       <goal>equinox-shutdown</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                </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.dep</groupId>
+                       <artifactId>org.argeo.slc.dep.agent</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <!-- RIA -->
+               <dependency>
+                       <groupId>org.argeo.slc.server</groupId>
+                       <artifactId>org.argeo.slc.ria</artifactId>
+               </dependency>
+
+               <!-- Unit Tests -->
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.unit</artifactId>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 </project>
\ No newline at end of file