]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/org.argeo.slc.demo.manager/pom.xml
Simplify equinox launching
[gpl/argeo-slc.git] / demo / org.argeo.slc.demo.manager / 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.manager</artifactId>
12 <name>Argeo SLC Demo Manager</name>
13 <packaging>jar</packaging>
14 <properties></properties>
15 <build>
16 <plugins>
17 <plugin>
18 <groupId>org.apache.felix</groupId>
19 <artifactId>maven-bundle-plugin</artifactId>
20 <version>${version.maven-bundle-plugin}</version>
21 <configuration>
22 <instructions>
23 <Import-Package>org.apache.commons.logging,org.springframework.beans.factory.config</Import-Package>
24 <Require-Bundle>org.springframework.jms,com.springsource.org.castor,org.argeo.dep.osgi.activemq,org.argeo.slc.support.equinox,org.argeo.slc.support.activemq,org.argeo.slc.specs,org.argeo.slc.support.simple,org.springframework.aop,org.springframework.oxm,com.springsource.net.sf.cglib,com.springsource.org.aopalliance,org.argeo.dep.osgi.maven.embedder</Require-Bundle>
25 <Spring-Context>conf/*</Spring-Context>
26 </instructions>
27 </configuration>
28 </plugin>
29 <plugin>
30 <groupId>org.codehaus.mojo</groupId>
31 <artifactId>exec-maven-plugin</artifactId>
32 <version>1.1-beta-1</version>
33 <!--
34 <configuration>
35 <mainClass>org.argeo.slc.detached.launcher.Main</mainClass>
36 <systemProperties> <systemProperty>
37 <key>slc.osgi.scanClasspath</key> <value>true</value>
38 </systemProperty> <systemProperty> <key>slc.osgi.start</key>
39 <value>*</value> </systemProperty> </systemProperties>
40 <classpathScope>test</classpathScope> </configuration>
41 -->
42 <configuration>
43 <executable>${java.home}${file.separator}bin${file.separator}java</executable>
44 <arguments>
45 <argument>-Xbootclasspath/p:${settings.localRepository}${file.separator}org${file.separator}apache${file.separator}xerces${file.separator}com.springsource.org.apache.xerces${file.separator}2.8.1${file.separator}com.springsource.org.apache.xerces-2.8.1.jar${path.separator}${settings.localRepository}${file.separator}org${file.separator}apache${file.separator}xmlcommons${file.separator}com.springsource.org.apache.xmlcommons${file.separator}1.3.3${file.separator}com.springsource.org.apache.xmlcommons-1.3.3.jar</argument>
46 <argument>-Dslc.osgi.scanClasspath=true</argument>
47 <argument>-Dslc.osgi.start=*</argument>
48 <argument>-classpath</argument>
49 <classpath />
50 <argument>org.argeo.slc.detached.launcher.Main</argument>
51 </arguments>
52 <workingDirectory>target</workingDirectory>
53 </configuration>
54 </plugin>
55 <plugin>
56 <artifactId>maven-antrun-plugin</artifactId>
57 <configuration>
58 <tasks>
59 <property name="xerces.jar"
60 location="${settings.localRepository}/org/apache/xerces/com.springsource.org.apache.xerces/2.8.1/com.springsource.org.apache.xerces-2.8.1.jar" />
61 <property name="xmlcommons.jar"
62 location="${settings.localRepository}/org/apache/xmlcommons/com.springsource.org.apache.xmlcommons/1.3.3/com.springsource.org.apache.xmlcommons-1.3.3.jar" />
63
64 <echo message="${xmlcommons.jar}" />
65 <echo message="${xerces.jar}" />
66 <!--
67 <property name="xerces.jar"
68 refid="maven.dependency.org.apache.xerces:com.springsource.org.apache.xerces::jar.path"
69 /> <property name="xmlcommons.jar"
70 refid="maven.dependency.org.apache.xmlcommons:com.springsource.org.apache.xmlcommons::jar.path"
71 />
72 -->
73 <java classname="org.argeo.slc.detached.launcher.Main" fork="true">
74 <classpath>
75 <path refid="maven.compile.classpath" />
76 </classpath>
77 <sysproperty key="slc.osgi.scanClasspath" value="true" />
78 <sysproperty key="slc.osgi.start" value="*" />
79 <jvmarg
80 value="-Xbootclasspath/p:${xmlcommons.jar}${path.separator}${xerces.jar}" />
81 </java>
82 </tasks>
83 </configuration>
84 </plugin>
85 <plugin>
86 <artifactId>maven-dependency-plugin</artifactId>
87 <executions>
88 <execution>
89 <id>manager</id>
90 <phase>initialize</phase>
91 <goals>
92 <goal>list</goal>
93 </goals>
94 <configuration>
95 <outputFile>target/classes/META-INF/slc/dep/manager.maven</outputFile>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100
101 </plugins>
102 </build>
103 <dependencies>
104
105 <dependency>
106 <groupId>org.argeo.slc.runtime</groupId>
107 <artifactId>org.argeo.slc.support.equinox</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>org.argeo.slc.runtime</groupId>
111 <artifactId>org.argeo.slc.support.activemq</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>org.argeo.slc.runtime</groupId>
115 <artifactId>org.argeo.slc.support.castor</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>org.argeo.slc.runtime</groupId>
119 <artifactId>org.argeo.slc.support.maven</artifactId>
120 <version>${project.version}</version>
121 </dependency>
122
123 <dependency>
124 <groupId>org.argeo.slc</groupId>
125 <artifactId>org.argeo.slc.detached.launcher</artifactId>
126 <version>${project.version}</version>
127 </dependency>
128
129 <dependency>
130 <groupId>org.argeo.slc.demo</groupId>
131 <artifactId>org.argeo.slc.demo.basic</artifactId>
132 <version>${project.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.argeo.slc.demo</groupId>
136 <artifactId>org.argeo.slc.demo.log4j</artifactId>
137 <version>${project.version}</version>
138 </dependency>
139
140
141 <dependency>
142 <groupId>com.thoughtworks.xstream</groupId>
143 <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
144 <version>1.2.2</version>
145 </dependency>
146
147 <dependency>
148 <groupId>org.apache.xerces</groupId>
149 <artifactId>
150 com.springsource.org.apache.xerces
151 </artifactId>
152 <version>2.8.1</version>
153 </dependency>
154 <dependency>
155 <groupId>org.apache.xmlcommons</groupId>
156 <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
157 <version>1.3.3</version>
158 </dependency>
159
160 </dependencies>
161 </project>