]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Fix imports
[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 </dependencies>
79
80 <profiles>
81 <profile>
82 <id>server</id>
83 <build>
84 <plugins>
85 <plugin>
86 <groupId>org.argeo.maven.plugins</groupId>
87 <artifactId>maven-argeo-osgi-plugin</artifactId>
88 <configuration>
89 <execDir>target/exec/server</execDir>
90 <systemProperties>
91 <slc.osgi.start>
92 org.springframework.osgi.extender,
93 org.argeo.slc.server.hsqldb,
94 org.argeo.slc.server.main,
95 org.argeo.slc.ria
96 </slc.osgi.start>
97 <slc.osgi.bundles>
98 ${basedir}/site;in=*;ex=pom.xml;ex=target,
99 ${basedir}/../server/org.argeo.slc.siteserver/bundles;in=*;ex=pom.xml;ex=target
100 </slc.osgi.bundles>
101 </systemProperties>
102 </configuration>
103 </plugin>
104 </plugins>
105 </build>
106 <dependencies>
107 <dependency>
108 <groupId>org.argeo.slc.dep</groupId>
109 <artifactId>org.argeo.slc.dep.server</artifactId>
110 <version>${project.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.argeo.slc.server</groupId>
114 <artifactId>org.argeo.slc.ria</artifactId>
115 </dependency>
116 </dependencies>
117 </profile>
118 <profile>
119 <id>agent</id>
120 <build>
121 <plugins>
122 <plugin>
123 <groupId>org.argeo.maven.plugins</groupId>
124 <artifactId>maven-argeo-osgi-plugin</artifactId>
125 <configuration>
126 <execDir>target/exec/agent</execDir>
127 <systemProperties>
128 <slc.osgi.start>
129 org.springframework.osgi.extender,
130 org.argeo.slc.support.equinox,
131 org.argeo.slc.agent
132 </slc.osgi.start>
133 <slc.osgi.bundles>
134 ${basedir}/site;in=*;ex=pom.xml;ex=target,
135 ${basedir}/../server/org.argeo.slc.siteserver/bundles;in=org.argeo.slc.agent;ex=pom.xml;ex=target
136 </slc.osgi.bundles>
137 </systemProperties>
138 </configuration>
139 </plugin>
140 </plugins>
141 </build>
142 <dependencies>
143 <dependency>
144 <groupId>org.argeo.slc.dep</groupId>
145 <artifactId>org.argeo.slc.dep.agent</artifactId>
146 <version>${project.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>org.argeo.slc.runtime</groupId>
150 <artifactId>org.argeo.slc.support.ant</artifactId>
151 <version>${project.version}</version>
152 </dependency>
153 </dependencies>
154 </profile>
155 <profile>
156 <id>server_mysql</id>
157 <build>
158 <plugins>
159 <plugin>
160 <groupId>org.argeo.maven.plugins</groupId>
161 <artifactId>maven-argeo-osgi-plugin</artifactId>
162 <configuration>
163 <execDir>target/exec/server</execDir>
164 <jvmArgs>
165 <jvmArg>-Xmx256m</jvmArg>
166 <!--
167 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
168 -->
169 </jvmArgs>
170 <systemProperties>
171 <slc.osgi.start>
172 org.argeo.dep.osgi.catalina.start,
173 org.springframework.osgi.extender,
174 org.springframework.osgi.web.extender,
175 org.springframework.osgi.samples.simplewebapp,
176 org.argeo.slc.server.activemq,
177 org.argeo.slc.server.mysql,
178 org.argeo.slc.server.hibernate,
179 org.argeo.slc.server.services,
180 org.argeo.slc.server.jms,
181 org.argeo.slc.webapp,
182 org.argeo.slc.ria
183 </slc.osgi.start>
184 </systemProperties>
185 </configuration>
186 </plugin>
187 </plugins>
188 </build>
189 <dependencies>
190 <dependency>
191 <groupId>org.argeo.slc.dep</groupId>
192 <artifactId>org.argeo.slc.dep.server</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.argeo.slc.server</groupId>
197 <artifactId>org.argeo.slc.ria</artifactId>
198 </dependency>
199 </dependencies>
200 </profile>
201 </profiles>
202 </project>