]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/pom.xml
Modular distributions
[gpl/argeo-slc.git] / demo / pom.xml
index 389311602659093146b2cd5be08e23c777e05e07..9f0a494c9beff6ea74129f0366d32bf0d8ce5e22 100644 (file)
                        <artifactId>org.argeo.slc.osgiboot</artifactId>
                </dependency>
 
-               <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.agent</artifactId>
-                       <version>${project.version}</version>
-               </dependency>
-
-               <!-- Unit Tests -->
+               <!--
+                       Unit Tests -->
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.unit</artifactId>
                        <scope>test</scope>
                </dependency>
 
+
        </dependencies>
 
        <profiles>
                                                                <slc.osgi.bundles>
                                                                        ${user.home}/dev/src/sparta/dist/runtime/target;in=*.jar,
                                                                        ${basedir}/site;in=*;ex=pom.xml;ex=target,
-                                                                       ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*
+                                                                       ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
+                                                                       ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
                                                                </slc.osgi.bundles>
                                                        </systemProperties>
                                                </configuration>
                                </dependency>
                        </dependencies>
                </profile>
+               <profile>
+                       <id>detached</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.argeo.maven.plugins</groupId>
+                                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                                               <configuration>
+                                                       <execDir>target/exec/detached</execDir>
+                                                       <fork>true</fork>
+                                                       <systemProperties>
+                                                               <slc.osgi.start>
+                                                                       org.springframework.osgi.extender,
+                                                                       org.argeo.slc.detached,
+                                                                       org.argeo.slc.demo.det
+                                                               </slc.osgi.start>
+                                                               <slc.osgi.bundles>
+                                                                       ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
+                                                                       ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
+                                                               </slc.osgi.bundles>
+                                                               <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
+                                                       </systemProperties>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+                       <dependencies>
+                               <dependency>
+                                       <groupId>org.argeo.slc.dep</groupId>
+                                       <artifactId>org.argeo.slc.dep.detached</artifactId>
+                                       <version>${project.version}</version>
+                               </dependency>
+                               <dependency>
+                                       <groupId>net.sourceforge.mx4j</groupId>
+                                       <artifactId>com.springsource.mx4j</artifactId>
+                               </dependency>
+                               <dependency>
+                                       <groupId>org.eclipse.osgi</groupId>
+                                       <artifactId>org.eclipse.osgi</artifactId>
+                                       <version>3.5.0.v20090311-1300</version>
+                               </dependency>
+                       </dependencies>
+               </profile>
                <profile>
                        <id>standalone</id>
                        <build>