]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Separate agent modules
[gpl/argeo-slc.git] / demo / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.argeo.slc</groupId>
6 <artifactId>argeo-slc</artifactId>
7 <version>0.11.4-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <groupId>org.argeo.slc</groupId>
11 <artifactId>demo</artifactId>
12 <packaging>pom</packaging>
13 <name>Argeo SLC Demo</name>
14 <modules>
15 <module>site</module>
16 </modules>
17 <build>
18 <plugins>
19 <plugin>
20 <groupId>org.argeo.maven.plugins</groupId>
21 <artifactId>maven-argeo-osgi-plugin</artifactId>
22 <version>${version.maven-argeo-osgi}</version>
23 <configuration>
24 <argsToAppend>
25 <arg>-clean</arg>
26 </argsToAppend>
27 </configuration>
28 </plugin>
29 <plugin>
30 <groupId>org.apache.maven.plugins</groupId>
31 <artifactId>maven-dependency-plugin</artifactId>
32 <executions>
33 <execution>
34 <id>copy-dependencies</id>
35 <phase>pre-integration-test</phase>
36 <goals>
37 <goal>copy-dependencies</goal>
38 </goals>
39 <configuration>
40 <includeScope>compile</includeScope>
41 <includeTypes>jar</includeTypes>
42 </configuration>
43 </execution>
44 </executions>
45 </plugin>
46 <plugin>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-surefire-plugin</artifactId>
49 <configuration>
50 <skipTests>true</skipTests>
51 </configuration>
52 <executions>
53 <execution>
54 <id>surefire-it</id>
55 <phase>integration-test</phase>
56 <goals>
57 <goal>test</goal>
58 </goals>
59 <configuration>
60 <skipTests>false</skipTests>
61 </configuration>
62 </execution>
63 </executions>
64 </plugin>
65 </plugins>
66 </build>
67 <dependencies>
68 <dependency>
69 <groupId>org.argeo.slc.runtime</groupId>
70 <artifactId>org.argeo.slc.osgiboot</artifactId>
71 </dependency>
72
73 <dependency>
74 <groupId>org.argeo.slc.dep</groupId>
75 <artifactId>org.argeo.slc.dep.agent</artifactId>
76 <version>${project.version}</version>
77 </dependency>
78
79 <!-- Unit Tests -->
80 <dependency>
81 <groupId>org.argeo.slc.runtime</groupId>
82 <artifactId>org.argeo.slc.unit</artifactId>
83 <scope>test</scope>
84 </dependency>
85
86 </dependencies>
87
88 <profiles>
89 <profile>
90 <id>server</id>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.argeo.maven.plugins</groupId>
95 <artifactId>maven-argeo-osgi-plugin</artifactId>
96 <configuration>
97 <execDir>target/exec/server</execDir>
98 <systemProperties>
99 <slc.osgi.start>
100 org.springframework.osgi.extender,
101 org.argeo.slc.server.hsqldb,
102 org.argeo.slc.server.main,
103 org.argeo.slc.ria
104 </slc.osgi.start>
105 <slc.osgi.bundles>
106 ${basedir}/site;in=*;ex=pom.xml;ex=target,
107 ${basedir}/../server/org.argeo.slc.siteserver/bundles;in=*;ex=pom.xml;ex=target
108 </slc.osgi.bundles>
109 </systemProperties>
110 </configuration>
111 </plugin>
112 </plugins>
113 </build>
114 <dependencies>
115 <dependency>
116 <groupId>org.argeo.slc.dep</groupId>
117 <artifactId>org.argeo.slc.dep.server</artifactId>
118 <version>${project.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>org.argeo.slc.server</groupId>
122 <artifactId>org.argeo.slc.ria</artifactId>
123 </dependency>
124 </dependencies>
125 </profile>
126 <profile>
127 <id>agent</id>
128 <build>
129 <plugins>
130 <plugin>
131 <groupId>org.argeo.maven.plugins</groupId>
132 <artifactId>maven-argeo-osgi-plugin</artifactId>
133 <configuration>
134 <execDir>target/exec/agent</execDir>
135 <systemProperties>
136 <slc.osgi.start>
137 org.springframework.osgi.extender,
138 org.argeo.slc.support.equinox,
139 org.argeo.slc.agent,
140 org.argeo.slc.agent.jms
141 </slc.osgi.start>
142 <slc.osgi.bundles>
143 ${basedir}/site;in=*;ex=pom.xml;ex=target,
144 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
145 </slc.osgi.bundles>
146 </systemProperties>
147 </configuration>
148 </plugin>
149 </plugins>
150 </build>
151 <dependencies>
152 <dependency>
153 <groupId>org.argeo.slc.dep</groupId>
154 <artifactId>org.argeo.slc.dep.agent</artifactId>
155 <version>${project.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.argeo.slc.runtime</groupId>
159 <artifactId>org.argeo.slc.support.ant</artifactId>
160 <version>${project.version}</version>
161 </dependency>
162 </dependencies>
163 </profile>
164 <profile>
165 <id>server_mysql</id>
166 <build>
167 <plugins>
168 <plugin>
169 <groupId>org.argeo.maven.plugins</groupId>
170 <artifactId>maven-argeo-osgi-plugin</artifactId>
171 <configuration>
172 <execDir>target/exec/server</execDir>
173 <jvmArgs>
174 <jvmArg>-Xmx256m</jvmArg>
175 <!--
176 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
177 -->
178 </jvmArgs>
179 <systemProperties>
180 <slc.osgi.start>
181 org.argeo.dep.osgi.catalina.start,
182 org.springframework.osgi.extender,
183 org.springframework.osgi.web.extender,
184 org.springframework.osgi.samples.simplewebapp,
185 org.argeo.slc.server.activemq,
186 org.argeo.slc.server.mysql,
187 org.argeo.slc.server.hibernate,
188 org.argeo.slc.server.services,
189 org.argeo.slc.server.jms,
190 org.argeo.slc.webapp,
191 org.argeo.slc.ria
192 </slc.osgi.start>
193 </systemProperties>
194 </configuration>
195 </plugin>
196 </plugins>
197 </build>
198 <dependencies>
199 <dependency>
200 <groupId>org.argeo.slc.dep</groupId>
201 <artifactId>org.argeo.slc.dep.server</artifactId>
202 <version>${project.version}</version>
203 </dependency>
204 <dependency>
205 <groupId>org.argeo.slc.server</groupId>
206 <artifactId>org.argeo.slc.ria</artifactId>
207 </dependency>
208 </dependencies>
209 </profile>
210 </profiles>
211 </project>