]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/org.argeo.slc.demo.manager/pom.xml
Remove maven dep
[gpl/argeo-slc.git] / demo / org.argeo.slc.demo.manager / pom.xml
index dfb9204e738523ea5afadf0b15a655272be8644f..cae507a91ec1de96fff7d69e7a67b00ed9efc52c 100644 (file)
@@ -21,7 +21,7 @@
                                <configuration>
                                        <instructions>
                                                <Import-Package>org.apache.commons.logging,org.springframework.beans.factory.config</Import-Package>
-                                               <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</Require-Bundle>
+                                               <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>
                                                <Spring-Context>conf/*</Spring-Context>
                                        </instructions>
                                </configuration>
                                                        location="${settings.localRepository}/org/apache/xerces/com.springsource.org.apache.xerces/2.8.1/com.springsource.org.apache.xerces-2.8.1.jar" />
                                                <property name="xmlcommons.jar"
                                                        location="${settings.localRepository}/org/apache/xmlcommons/com.springsource.org.apache.xmlcommons/1.3.3/com.springsource.org.apache.xmlcommons-1.3.3.jar" />
-                                               
-                                               <echo message="${xmlcommons.jar}"/>
-                                               <echo message="${xerces.jar}"/>
-                                                       <!-- 
-                                               <property name="xerces.jar"
-                                                       refid="maven.dependency.org.apache.xerces:com.springsource.org.apache.xerces::jar.path" />
-                                               <property name="xmlcommons.jar"
-                                                       refid="maven.dependency.org.apache.xmlcommons:com.springsource.org.apache.xmlcommons::jar.path" />
-                                                -->
+
+                                               <echo message="${xmlcommons.jar}" />
+                                               <echo message="${xerces.jar}" />
+                                               <!--
+                                                       <property name="xerces.jar"
+                                                       refid="maven.dependency.org.apache.xerces:com.springsource.org.apache.xerces::jar.path"
+                                                       /> <property name="xmlcommons.jar"
+                                                       refid="maven.dependency.org.apache.xmlcommons:com.springsource.org.apache.xmlcommons::jar.path"
+                                                       />
+                                               -->
                                                <java classname="org.argeo.slc.detached.launcher.Main" fork="true">
                                                        <classpath>
                                                                <path refid="maven.compile.classpath" />
                                                        </classpath>
-                                                       <sysproperty key="slc.osgi.scanClasspath" value="true"/>
-                                                       <sysproperty key="slc.osgi.start" value="*"/>
-                                                       <jvmarg value="-Xbootclasspath/p:${xmlcommons.jar}${path.separator}${xerces.jar}"/>
+                                                       <sysproperty key="slc.osgi.scanClasspath" value="true" />
+                                                       <sysproperty key="slc.osgi.start" value="*" />
+                                                       <jvmarg
+                                                               value="-Xbootclasspath/p:${xmlcommons.jar}${path.separator}${xerces.jar}" />
                                                </java>
                                        </tasks>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>manager</id>
+                                               <phase>initialize</phase>
+                                               <goals>
+                                                       <goal>list</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <outputFile>target/classes/META-INF/slc/dep/manager.maven</outputFile>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
 
                </plugins>
        </build>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.support.castor</artifactId>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.maven</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
 
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <version>${project.version}</version>
                </dependency>
 
+
+               <dependency>
+                       <groupId>com.thoughtworks.xstream</groupId>
+                       <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
+                       <version>1.2.2</version>
+               </dependency>
+
                <dependency>
                        <groupId>org.apache.xerces</groupId>
                        <artifactId>