]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
1ba3ac654741460f49c252da25680f081732bd76
[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 org.argeo.slc.support.equinox,
77 org.argeo.slc.demo.basic,
78 org.argeo.slc.demo.manager
79 </slc.osgi.start>
80 </systemProperties>
81 </configuration>
82 </plugin>
83 </plugins>
84 </build>
85 </profile>
86 <profile>
87 <id>agent</id>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.argeo.slc.maven</groupId>
92 <artifactId>maven-argeo-osgi-plugin</artifactId>
93 <configuration>
94 <execDir>target/exec/agent</execDir>
95 <jvmArgs>
96 <jvmArg>-Xmx128m</jvmArg>
97 <!-- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8001</jvmArg> -->
98 </jvmArgs>
99 <systemProperties>
100 <slc.osgi.start>
101 org.springframework.osgi.extender,
102 org.argeo.slc.support.equinox,
103 org.argeo.slc.demo.basic,
104 org.argeo.slc.demo.agent,
105 org.argeo.slc.demo.manager
106 </slc.osgi.start>
107 </systemProperties>
108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112 </profile>
113 </profiles>
114 </project>