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