]> git.argeo.org Git - gpl/argeo-slc.git/blob - pom.xml
71be268c1d29b390b0a2ea5ef4e1bd7328264e6f
[gpl/argeo-slc.git] / 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 ${user.home}/dev/src/sparta/dist/runtime/target;in=*.jar,
107 ${basedir}/site;in=*;ex=pom.xml;ex=target,
108 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*
109 </slc.osgi.bundles>
110 </systemProperties>
111 </configuration>
112 </plugin>
113 </plugins>
114 </build>
115 <dependencies>
116 <dependency>
117 <groupId>org.argeo.slc.dep</groupId>
118 <artifactId>org.argeo.slc.dep.server</artifactId>
119 <version>${project.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>org.argeo.slc.server</groupId>
123 <artifactId>org.argeo.slc.ria</artifactId>
124 </dependency>
125 </dependencies>
126 </profile>
127 <profile>
128 <id>agent</id>
129 <build>
130 <plugins>
131 <plugin>
132 <groupId>org.argeo.maven.plugins</groupId>
133 <artifactId>maven-argeo-osgi-plugin</artifactId>
134 <configuration>
135 <execDir>target/exec/agent</execDir>
136 <systemProperties>
137 <slc.osgi.start>
138 org.springframework.osgi.extender,
139 org.argeo.slc.support.equinox,
140 org.argeo.slc.agent,
141 org.argeo.slc.agent.jms
142 </slc.osgi.start>
143 <slc.osgi.bundles>
144 ${basedir}/site;in=*;ex=pom.xml;ex=target,
145 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
146 </slc.osgi.bundles>
147 </systemProperties>
148 </configuration>
149 </plugin>
150 </plugins>
151 </build>
152 <dependencies>
153 <dependency>
154 <groupId>org.argeo.slc.dep</groupId>
155 <artifactId>org.argeo.slc.dep.agent</artifactId>
156 <version>${project.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>org.argeo.slc.runtime</groupId>
160 <artifactId>org.argeo.slc.support.ant</artifactId>
161 <version>${project.version}</version>
162 </dependency>
163 </dependencies>
164 </profile>
165 <profile>
166 <id>server_mysql</id>
167 <build>
168 <plugins>
169 <plugin>
170 <groupId>org.argeo.maven.plugins</groupId>
171 <artifactId>maven-argeo-osgi-plugin</artifactId>
172 <configuration>
173 <execDir>target/exec/server</execDir>
174 <jvmArgs>
175 <jvmArg>-Xmx256m</jvmArg>
176 <!--
177 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
178 -->
179 </jvmArgs>
180 <systemProperties>
181 <slc.osgi.start>
182 org.argeo.dep.osgi.catalina.start,
183 org.springframework.osgi.extender,
184 org.springframework.osgi.web.extender,
185 org.springframework.osgi.samples.simplewebapp,
186 org.argeo.slc.server.activemq,
187 org.argeo.slc.server.mysql,
188 org.argeo.slc.server.hibernate,
189 org.argeo.slc.server.services,
190 org.argeo.slc.server.jms,
191 org.argeo.slc.webapp,
192 org.argeo.slc.ria
193 </slc.osgi.start>
194 </systemProperties>
195 </configuration>
196 </plugin>
197 </plugins>
198 </build>
199 <dependencies>
200 <dependency>
201 <groupId>org.argeo.slc.dep</groupId>
202 <artifactId>org.argeo.slc.dep.server</artifactId>
203 <version>${project.version}</version>
204 </dependency>
205 <dependency>
206 <groupId>org.argeo.slc.server</groupId>
207 <artifactId>org.argeo.slc.ria</artifactId>
208 </dependency>
209 </dependencies>
210 </profile>
211 </profiles>
212 </project>