-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>argeo-slc</artifactId>
- <version>0.11.1-SNAPSHOT</version>
- <relativePath>../org.argeo.slc</relativePath>
+ <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>bundle</packaging>
+ <packaging>jar</packaging>
+ <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>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.3</version>
- <extensions>true</extensions>
+ <version>${version.maven-bundle-plugin}</version>
<configuration>
- <manifestLocation>
- src/main/resources/META-INF
- </manifestLocation>
<instructions>
- <Bundle-SymbolicName>
- ${pom.artifactId}
- </Bundle-SymbolicName>
- <Bundle-Activator>
- org.argeo.slc.jemmytest.JemmyTestActivator
- </Bundle-Activator>
<Export-Package>
org.argeo.slc.jemmytest.*
- </Export-Package>
+ </Export-Package>
<Import-Package>
- *,org.springframework.beans.factory.xml
- </Import-Package>
+ *,org.springframework.beans.factory.config
+ </Import-Package>
<Require-Bundle>
org.argeo.slc.detached
- </Require-Bundle>
+ </Require-Bundle>
+ <Spring-Context>*;create-asynchronously:=false</Spring-Context>
</instructions>
+
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.3</source>
- <target>1.3</target>
+ <source>1.4</source>
+ <target>1.4</target>
</configuration>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
- <skipTests>true</skipTests>
+ <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.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.launcher</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
<groupId>org.argeo.dep.jemmy</groupId>
<artifactId>org.argeo.dep.jemmy.nb61</artifactId>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
+ <groupId>org.argeo.slc</groupId>
+ <artifactId>org.argeo.slc.detached.launcher</artifactId>
+ <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>
+ <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