]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Improve detached launcher
[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"
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.3-SNAPSHOT</version>
8 <relativePath>../org.argeo.slc</relativePath>
9 </parent>
10 <groupId>org.argeo.slc.demo</groupId>
11 <artifactId>deploy</artifactId>
12 <packaging>pom</packaging>
13 <name>Argeo SLC Demo Deploy</name>
14 <modules>
15 <module>site</module>
16 </modules>
17 <build>
18 <plugins>
19 <plugin>
20 <groupId>org.argeo.slc.maven</groupId>
21 <artifactId>maven-argeo-osgi-plugin</artifactId>
22 <configuration>
23 <systemProperties>
24 <slc.osgi.bundles>${basedir}/site;in=*;ex=**/.svn/**,${basedir}/../server/org.argeo.slc.siteserver/bundles;in=*;ex=**/.svn/**</slc.osgi.bundles>
25 </systemProperties>
26 </configuration>
27 </plugin>
28 </plugins>
29 </build>
30 <dependencies>
31 <dependency>
32 <groupId>org.argeo.slc.runtime</groupId>
33 <artifactId>org.argeo.slc.support.equinox</artifactId>
34 </dependency>
35 <dependency>
36 <groupId>org.argeo.slc.runtime</groupId>
37 <artifactId>org.argeo.slc.osgiboot</artifactId>
38 <version>${project.version}</version>
39 </dependency>
40 <!-- Server -->
41 <dependency>
42 <groupId>org.argeo.slc.server</groupId>
43 <artifactId>bundles</artifactId>
44 <version>${project.version}</version>
45 <type>pom</type>
46 </dependency>
47 </dependencies>
48
49 <profiles>
50 <profile>
51 <id>server</id>
52 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.argeo.slc.maven</groupId>
56 <artifactId>maven-argeo-osgi-plugin</artifactId>
57 <configuration>
58 <execDir>target/exec/server</execDir>
59 <jvmArgs>
60 <jvmArg>-Xmx256m</jvmArg>
61 <!-- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg> -->
62 </jvmArgs>
63 <systemProperties>
64 <slc.osgi.start>
65 org.argeo.dep.osgi.catalina.start,
66 org.springframework.osgi.extender,
67 org.springframework.osgi.web.extender,
68 org.springframework.osgi.samples.simplewebapp,
69 org.argeo.slc.server.activemq,
70 org.argeo.slc.server.hsqldb,
71 org.argeo.slc.server.hibernate,
72 org.argeo.slc.server.services,
73 org.argeo.slc.server.jms,
74 org.argeo.slc.webapp,
75 org.argeo.slc.ria
76 </slc.osgi.start>
77 </systemProperties>
78 </configuration>
79 </plugin>
80 </plugins>
81 </build>
82 </profile>
83 <profile>
84 <id>agent</id>
85 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.argeo.slc.maven</groupId>
89 <artifactId>maven-argeo-osgi-plugin</artifactId>
90 <configuration>
91 <execDir>target/exec/agent</execDir>
92 <jvmArgs>
93 <jvmArg>-Xmx128m</jvmArg>
94 <!-- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8001</jvmArg> -->
95 </jvmArgs>
96 <systemProperties>
97 <slc.osgi.start>
98 org.springframework.osgi.extender,
99 org.argeo.slc.support.equinox,
100 org.argeo.slc.agent,
101 org.argeo.slc.demo.basic,
102 org.argeo.slc.demo.manager
103 </slc.osgi.start>
104 </systemProperties>
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
109 </profile>
110 </profiles>
111 </project>