]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - sandbox/argeo.slc.jemmytest/pom.xml
Improve execution core
[gpl/argeo-slc.git] / sandbox / argeo.slc.jemmytest / pom.xml
index 8c197e19d9cec80d26297dd8ccb31679a137ba39..c324c166cb25b947eb3c0906ae43dc950271ea5d 100644 (file)
@@ -4,14 +4,21 @@
        <parent>
                <groupId>org.argeo.slc</groupId>
                <artifactId>argeo-slc</artifactId>
-               <version>0.11.2-SNAPSHOT</version>
+               <version>0.11.3-SNAPSHOT</version>
                <relativePath>../../org.argeo.slc</relativePath>
        </parent>
        <groupId>org.argeo.slc.sandbox</groupId>
        <artifactId>org.argeo.slc.sandbox.jemmytest</artifactId>
        <name>SLC Sandbox JemmyTest</name>
        <packaging>jar</packaging>
-       <properties></properties>
+       <properties>
+               <bundlesToStart>
+                       org.springframework.osgi.extender,
+                       org.argeo.slc.detached,
+                       org.argeo.slc.sandbox.jemmytest,
+                       org.argeo.slc.support.equinox
+               </bundlesToStart>
+       </properties>
        <build>
                <plugins>
                        <plugin>
@@ -20,7 +27,7 @@
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
-                               <extensions>true</extensions>
+                               <version>${version.maven-bundle-plugin}</version>
                                <configuration>
                                        <instructions>
                                                <Export-Package>
@@ -32,6 +39,7 @@
                                                <Require-Bundle>
                                                        org.argeo.slc.detached
                         </Require-Bundle>
+                                               <Spring-Context>*;create-asynchronously:=false</Spring-Context>
                                        </instructions>
 
                                </configuration>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <configuration></configuration>
                        </plugin>
+                       <plugin>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>unpack</goal>
+                                               </goals>
+                                               <phase>initialize</phase>
+                                               <configuration>
+                                                       <outputDirectory>target/equinox</outputDirectory>
+                                                       <artifactItems>
+                                                               <artifactItem>
+                                                                       <groupId>org.argeo.slc.runtime</groupId>
+                                                                       <artifactId>org.argeo.slc.osgiboot</artifactId>
+                                                                       <version>${project.version}</version>
+                                                                       <type>tar.gz</type>
+                                                                       <classifier>osgiboot</classifier>
+                                                               </artifactItem>
+                                                       </artifactItems>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <configuration>
+                                       <tasks>
+                                               <path id="slc.osgi.locations.raw">
+                                                       <dirset dir="${user.dir}/modules">
+                                                               <include name="*" />
+                                                               <exclude name=".svn" />
+                                                       </dirset>
+                                                       <path refid="maven.compile.classpath" />
+                                               </path>
+                                               <pathconvert dirsep="/" property="slc.osgi.locations"
+                                                       refid="slc.osgi.locations.raw" />
+
+                                               <property name="slc.osgi.start" value="${bundlesToStart}" />
+                                               <ant antfile="target/equinox/osgiboot.xml" />
+
+                                       </tasks>
+                               </configuration>
+                       </plugin>
+
                </plugins>
        </build>
        <profiles></profiles>
        <dependencies>
+
+
                <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.detached</artifactId>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.lib.detached</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.launcher</artifactId>
                        <version>${project.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>org.apache.commons</groupId>
-                                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
-                               </exclusion>
-                       </exclusions>
                </dependency>
-
                <dependency>
                        <groupId>org.argeo.dep.jemmy</groupId>
                        <artifactId>org.argeo.dep.jemmy.nb61</artifactId>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.detached.launcher</artifactId>
                        <version>${project.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>org.apache.commons</groupId>
-                                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
-                               </exclusion>
-                       </exclusions>
                </dependency>
 
                <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.agent</artifactId>
+                       <groupId>org.springframework.osgi</groupId>
+                       <artifactId>org.springframework.osgi.extender</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.equinox</artifactId>
                        <version>${project.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>org.apache.commons</groupId>
-                                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
-                               </exclusion>
-                       </exclusions>
                </dependency>
 
+               <!--
+                       <dependency> <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.detached</artifactId>
+                       <version>${project.version}</version> <exclusions> <exclusion>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
+                       </exclusion> </exclusions> </dependency> <dependency>
+                       <groupId>org.argeo.dep.jemmy</groupId>
+                       <artifactId>org.argeo.dep.jemmy.nb61</artifactId> </dependency>
+
+                       <dependency> <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.detached.launcher</artifactId>
+                       <version>${project.version}</version> <exclusions> <exclusion>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
+                       </exclusion> </exclusions> </dependency> <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.agent</artifactId>
+                       <version>${project.version}</version> <exclusions> <exclusion>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
+                       </exclusion> </exclusions> </dependency>
+               -->
        </dependencies>
 </project>
\ No newline at end of file