]> git.argeo.org Git - gpl/argeo-slc.git/blob - integration-tests/org.argeo.slc.it.webapp/pom.xml
Add a meta bundle for SLC to be used with RAP
[gpl/argeo-slc.git] / integration-tests / org.argeo.slc.it.webapp / pom.xml
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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.argeo.slc</groupId>
5 <artifactId>integration-tests</artifactId>
6 <version>0.13.1-SNAPSHOT</version>
7 </parent>
8 <groupId>org.argeo.slc.it</groupId>
9 <artifactId>org.argeo.slc.it.webapp</artifactId>
10 <packaging>jar</packaging>
11 <name>SLC Integration Tests Web Application</name>
12 <build>
13 <plugins>
14 <plugin>
15 <groupId>org.argeo.maven.plugins</groupId>
16 <artifactId>maven-argeo-osgi-plugin</artifactId>
17 <version>${version.maven-argeo-osgi}</version>
18 <configuration>
19 <useDependencies>false</useDependencies>
20 <argsToAppend>
21 <arg>-clean</arg>
22 </argsToAppend>
23 <systemProperties>
24 <argeo.osgi.bundles>
25 ${basedir}/../../demo/site;in=*;ex=target;ex=pom.xml;ex=.*,
26 ${project.build.directory}/lib;in=*.jar,
27 </argeo.osgi.bundles>
28 <!--
29 <argeo.osgi.bundles>
30 ${basedir}/../../demo/site;in=*;ex=target;ex=pom.xml;ex=.*,
31 ${basedir}/../../modules/server;in=*;ex=target;ex=pom.xml;ex=.*,
32 ${basedir}/../../modules/agent;in=*;ex=target;ex=pom.xml;ex=.*
33 </argeo.osgi.bundles>
34 -->
35
36 <argeo.osgi.start>
37 org.springframework.osgi.extender,
38 org.argeo.slc.server.main,
39 org.argeo.slc.server.h2,
40 org.argeo.slc.server.hibernate,
41 org.argeo.slc.ria,
42 org.argeo.slc.agent,
43 org.argeo.slc.agent.jms,
44 org.argeo.slc.demo.minimal,
45 org.argeo.slc.demo.basic,
46 org.argeo.slc.demo.ant
47 </argeo.osgi.start>
48 <argeo.server.port.http>7080</argeo.server.port.http>
49 <!--
50 <argeo.osgi.start> org.springframework.osgi.extender,
51 org.argeo.server.ads.server,
52 org.argeo.slc.server.jackrabbit.derby, org.argeo.slc.server.jcr,
53 org.argeo.slc.server.main, org.argeo.slc.ria,
54 org.argeo.slc.agent, org.argeo.slc.agent.jms,
55 org.argeo.slc.demo.minimal, org.argeo.slc.demo.basic,
56 org.argeo.slc.demo.ant </argeo.osgi.start>
57 -->
58 </systemProperties>
59 </configuration>
60 <executions>
61 <execution>
62 <id>equinox-start</id>
63 <phase>pre-integration-test</phase>
64 <goals>
65 <goal>equinox</goal>
66 </goals>
67 <configuration>
68 <wait>false</wait>
69 </configuration>
70 </execution>
71 <execution>
72 <id>equinox-shutdown</id>
73 <phase>post-integration-test</phase>
74 <goals>
75 <goal>equinox-shutdown</goal>
76 </goals>
77 </execution>
78 </executions>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-surefire-plugin</artifactId>
83 <configuration>
84 <skipTests>true</skipTests>
85 </configuration>
86 <executions>
87 <execution>
88 <id>surefire-it</id>
89 <phase>integration-test</phase>
90 <goals>
91 <goal>test</goal>
92 </goals>
93 <configuration>
94 <skipTests>false</skipTests>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-dependency-plugin</artifactId>
102 <executions>
103 <execution>
104 <id>copy-dependencies</id>
105 <phase>process-resources</phase>
106 <goals>
107 <goal>copy-dependencies</goal>
108 </goals>
109 <configuration>
110 <includeTypes>jar</includeTypes>
111 <outputDirectory>${project.build.directory}/lib</outputDirectory>
112 </configuration>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <artifactId>maven-jar-plugin</artifactId>
118 <configuration>
119 <archive>
120 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
121 </archive>
122 </configuration>
123 </plugin>
124 </plugins>
125 </build>
126 <dependencies>
127 <dependency>
128 <groupId>org.argeo.slc.dep</groupId>
129 <artifactId>org.argeo.slc.dep.sdk</artifactId>
130 <version>${project.version}</version>
131 </dependency>
132 <!-- Unit Tests -->
133 <dependency>
134 <groupId>org.argeo.slc.runtime</groupId>
135 <artifactId>org.argeo.slc.unit</artifactId>
136 <scope>test</scope>
137 </dependency>
138 </dependencies>
139 </project>