]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - sandbox/argeo.slc.jemmytest/pom.xml
Add sources to SDK update site
[gpl/argeo-slc.git] / sandbox / argeo.slc.jemmytest / pom.xml
index 7fa39d7c95a78d5eeb02762456ab1a4ce3349538..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>
                        <version>${project.version}</version>
                </dependency>
 
+               <dependency>
+                       <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>
+               </dependency>
+
                <!--
                        <dependency> <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.detached</artifactId>