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