]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/site/org.argeo.slc.demo.deploy/pom.xml
Improve server structure
[gpl/argeo-slc.git] / demo / site / org.argeo.slc.demo.deploy / 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-demo</artifactId>
7 <version>0.11.3-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <groupId>org.argeo.slc.demo</groupId>
11 <artifactId>org.argeo.slc.demo.deploy</artifactId>
12 <name>Argeo SLC Demo Deploy</name>
13 <packaging>pom</packaging>
14 <properties>
15 <bundlesToStart>
16 org.springframework.osgi.extender,
17 org.argeo.slc.demo.basic
18 </bundlesToStart>
19 </properties>
20 <build>
21 <defaultGoal>antrun:run</defaultGoal>
22 <plugins>
23 <plugin>
24 <artifactId>maven-dependency-plugin</artifactId>
25 <executions>
26 <execution>
27 <goals>
28 <goal>unpack</goal>
29 </goals>
30 <phase>initialize</phase>
31 <configuration>
32 <outputDirectory>target/equinox</outputDirectory>
33 <artifactItems>
34 <artifactItem>
35 <groupId>org.argeo.slc.runtime</groupId>
36 <artifactId>org.argeo.slc.osgiboot</artifactId>
37 <version>${project.version}</version>
38 <type>tar.gz</type>
39 <classifier>osgiboot</classifier>
40 </artifactItem>
41 </artifactItems>
42 </configuration>
43 </execution>
44 </executions>
45
46 </plugin>
47 <plugin>
48 <artifactId>maven-antrun-plugin</artifactId>
49 <configuration>
50 <tasks>
51 <path id="slc.osgi.locations.raw">
52 <dirset dir="${user.dir}/..">
53 <include name="*" />
54 <exclude name=".svn" />
55 <exclude name="*.deploy" />
56 </dirset>
57 <path refid="maven.compile.classpath" />
58 </path>
59 <pathconvert dirsep="/" property="slc.osgi.locations"
60 refid="slc.osgi.locations.raw" />
61
62 <property name="slc.osgi.start" value="${bundlesToStart}" />
63 <ant antfile="target/equinox/osgiboot.xml" />
64
65 </tasks>
66 </configuration>
67 </plugin>
68
69 </plugins>
70 </build>
71 <profiles>
72 <profile>
73 <id>agent</id>
74 <properties>
75 <bundlesToStart>
76 org.springframework.osgi.extender,
77 org.argeo.slc.demo.basic,
78 org.argeo.slc.demo.manager,
79 org.argeo.slc.demo.agent
80 </bundlesToStart>
81 </properties>
82 <dependencies>
83 <dependency>
84 <groupId>org.argeo.slc.demo</groupId>
85 <artifactId>org.argeo.slc.demo.agent</artifactId>
86 <version>${project.version}</version>
87 </dependency>
88 </dependencies>
89 </profile>
90 </profiles>
91 <dependencies>
92
93 <dependency>
94 <groupId>org.argeo.slc.runtime</groupId>
95 <artifactId>org.argeo.slc.support.equinox</artifactId>
96 </dependency>
97
98 <dependency>
99 <groupId>org.argeo.slc.demo</groupId>
100 <artifactId>org.argeo.slc.demo.basic</artifactId>
101 <version>${project.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.argeo.slc.demo</groupId>
105 <artifactId>org.argeo.slc.demo.manager</artifactId>
106 <version>${project.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.argeo.slc.demo</groupId>
110 <artifactId>org.argeo.slc.demo.log4j</artifactId>
111 <version>${project.version}</version>
112 </dependency>
113 </dependencies>
114 </project>