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