]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Working sed filter
[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.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.jcr,
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>