]> git.argeo.org Git - gpl/argeo-slc.git/blob - pom.xml
ba02d1727ea04621fab3f4ca236934d50541e8e8
[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.12.1-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <groupId>org.argeo.slc</groupId>
11 <artifactId>demo</artifactId>
12 <packaging>pom</packaging>
13 <name>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 </plugins>
30 </build>
31 <profiles>
32 <profile>
33 <id>server</id>
34 <build>
35 <plugins>
36 <plugin>
37 <groupId>org.argeo.maven.plugins</groupId>
38 <artifactId>maven-argeo-osgi-plugin</artifactId>
39 <configuration>
40 <execDir>target/exec/server</execDir>
41 <systemProperties>
42 <argeo.osgi.start>
43 org.springframework.osgi.extender,
44 org.argeo.server.ads.server,
45 org.argeo.slc.server.hsqldb,
46 org.argeo.slc.server.main,
47 org.argeo.slc.ria
48 </argeo.osgi.start>
49 <argeo.osgi.bundles>
50 ${basedir}/site;in=*;ex=pom.xml;ex=target,
51 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
52 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
53 </argeo.osgi.bundles>
54 </systemProperties>
55 </configuration>
56 </plugin>
57 </plugins>
58 </build>
59 <dependencies>
60 <dependency>
61 <groupId>org.argeo.slc.dep</groupId>
62 <artifactId>org.argeo.slc.dep.server</artifactId>
63 <version>${project.version}</version>
64 </dependency>
65 <dependency>
66 <groupId>org.argeo.slc.server</groupId>
67 <artifactId>org.argeo.slc.ria</artifactId>
68 </dependency>
69
70 </dependencies>
71 </profile>
72 <profile>
73 <id>agent</id>
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>org.argeo.maven.plugins</groupId>
78 <artifactId>maven-argeo-osgi-plugin</artifactId>
79 <configuration>
80 <execDir>target/exec/agent</execDir>
81 <systemProperties>
82 <argeo.osgi.start>
83 org.springframework.osgi.extender,
84 org.argeo.slc.support.equinox,
85 org.argeo.slc.agent,
86 org.argeo.slc.agent.jms
87 </argeo.osgi.start>
88 <argeo.osgi.bundles>
89 ${basedir}/site;in=*;ex=pom.xml;ex=target,
90 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
91 </argeo.osgi.bundles>
92 </systemProperties>
93 </configuration>
94 </plugin>
95 </plugins>
96 </build>
97 <dependencies>
98 <dependency>
99 <groupId>org.argeo.slc.dep</groupId>
100 <artifactId>org.argeo.slc.dep.agent</artifactId>
101 <version>${project.version}</version>
102 </dependency>
103 </dependencies>
104 </profile>
105 <profile>
106 <id>detached</id>
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.argeo.maven.plugins</groupId>
111 <artifactId>maven-argeo-osgi-plugin</artifactId>
112 <configuration>
113 <execDir>target/exec/detached</execDir>
114 <fork>true</fork>
115 <systemProperties>
116 <argeo.osgi.start>
117 org.springframework.osgi.extender,
118 org.argeo.slc.detached,
119 org.argeo.slc.demo.det
120 </argeo.osgi.start>
121 <argeo.osgi.bundles>
122 ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
123 ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
124 </argeo.osgi.bundles>
125 <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
126 </systemProperties>
127 </configuration>
128 </plugin>
129 </plugins>
130 </build>
131 <dependencies>
132 <dependency>
133 <groupId>org.argeo.slc.dep</groupId>
134 <artifactId>org.argeo.slc.dep.detached</artifactId>
135 <version>${project.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>net.sourceforge.mx4j</groupId>
139 <artifactId>com.springsource.mx4j</artifactId>
140 </dependency>
141 <dependency>
142 <groupId>org.eclipse.osgi</groupId>
143 <artifactId>org.eclipse.osgi</artifactId>
144 </dependency>
145 </dependencies>
146 </profile>
147 <profile>
148 <id>server_mysql</id>
149 <build>
150 <plugins>
151 <plugin>
152 <groupId>org.argeo.maven.plugins</groupId>
153 <artifactId>maven-argeo-osgi-plugin</artifactId>
154 <configuration>
155 <execDir>target/exec/server</execDir>
156 <jvmArgs>
157 <jvmArg>-Xmx256m</jvmArg>
158 <!--
159 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
160 -->
161 </jvmArgs>
162 <systemProperties>
163 <argeo.osgi.start>
164 org.argeo.dep.osgi.catalina.start,
165 org.springframework.osgi.extender,
166 org.springframework.osgi.web.extender,
167 org.springframework.osgi.samples.simplewebapp,
168 org.argeo.slc.server.activemq,
169 org.argeo.slc.server.mysql,
170 org.argeo.slc.server.hibernate,
171 org.argeo.slc.server.services,
172 org.argeo.slc.server.jms,
173 org.argeo.slc.webapp,
174 org.argeo.slc.ria
175 </argeo.osgi.start>
176 </systemProperties>
177 </configuration>
178 </plugin>
179 </plugins>
180 </build>
181 <dependencies>
182 <dependency>
183 <groupId>org.argeo.slc.dep</groupId>
184 <artifactId>org.argeo.slc.dep.server</artifactId>
185 <version>${project.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>org.argeo.slc.server</groupId>
189 <artifactId>org.argeo.slc.ria</artifactId>
190 </dependency>
191 </dependencies>
192 </profile>
193 </profiles>
194 </project>