]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/pom.xml
Remove integration tests from WEBapp
[gpl/argeo-slc.git] / org.argeo.slc.webapp / pom.xml
index 6611fd3c5709215aa50196c329ab17e893e286d6..71c85784f7a6e1cb3ea05fa471e1b06609cb6fac 100644 (file)
@@ -1,4 +1,5 @@
-<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>maven-compiler-plugin</artifactId>
                        </plugin>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
+                               <artifactId>maven-war-plugin</artifactId>
                                <configuration>
-                                       <skip>true</skip>
+                                       <warSourceExcludes>qooxdoo-0.8-sdk/**,source/**</warSourceExcludes>
                                </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.argeo.slc.maven</groupId>
+                               <artifactId>maven-argeo-qooxdoo-plugin</artifactId>
+                               <version>0.8.0.6</version>
                                <executions>
                                        <execution>
-                                               <id>surefire-it</id>
+                                               <id>env</id>
+                                               <phase>initialize</phase>
+                                               <goals>
+                                                       <goal>env</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>slc-source</id>
+                                               <phase>process-sources</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-source</job>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>slc-build</id>
+                                               <phase>compile</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-build</job>
+                                               </configuration>
+                                       </execution>
+                                       <!-- 
+                                       <execution>
+                                               <id>slc-test</id>
                                                <phase>integration-test</phase>
                                                <goals>
-                                                       <goal>test</goal>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-test</job>
+                                               </configuration>
+                                       </execution>
+                                        -->
+                                       <execution>
+                                               <id>slc-api</id>
+                                               <phase>site</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
                                                </goals>
                                                <configuration>
-                                                       <skip>false</skip>
+                                                       <job>slc-api</job>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
-                               <groupId>org.mortbay.jetty</groupId>
-                               <artifactId>maven-jetty-plugin</artifactId>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-assembly-plugin</artifactId>
                                <executions>
                                        <execution>
-                                               <id>start-jetty</id>
-                                               <phase>pre-integration-test</phase>
+                                               <id>assembly-ria</id>
+                                               <phase>package</phase>
                                                <goals>
-                                                       <goal>run</goal>
+                                                       <goal>single</goal>
                                                </goals>
                                                <configuration>
-                                                       <scanIntervalSeconds>0</scanIntervalSeconds>
-                                                       <daemon>true</daemon>
-                                                       <jettyConfig>
-                                                               src/main/config/jetty/jetty-test.xml
-                                                       </jettyConfig>
+                                                       <descriptors>
+                                                               <descriptor>src/assembly/ria.xml</descriptor>
+                                                       </descriptors>
                                                </configuration>
                                        </execution>
                                        <execution>
-                                               <id>stop-jetty</id>
-                                               <phase>post-integration-test</phase>
+                                               <id>assembly-ria-slc</id>
+                                               <phase>package</phase>
                                                <goals>
-                                                       <goal>stop</goal>
+                                                       <goal>single</goal>
                                                </goals>
+                                               <configuration>
+                                                       <descriptors>
+                                                               <descriptor>src/assembly/ria-slc.xml</descriptor>
+                                                       </descriptors>
+                                               </configuration>
                                        </execution>
                                </executions>
                        </plugin>
        </build>
        <dependencies>
                <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>argeo-slc-server</artifactId>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.server</artifactId>
                        <version>${project.version}</version>
                </dependency>
+
+               <!-- Required in JDK 1.5 -->
                <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>argeo-slc-agent</artifactId>
-                       <version>${project.version}</version>
-                       <scope>test</scope>
+                       <groupId>com.sun.xml</groupId>
+                       <artifactId>
+                               com.springsource.com.sun.xml.messaging.saaj
+                               </artifactId>
                </dependency>
+
        </dependencies>
 </project>
\ No newline at end of file