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