1.1 --- a/ko-osgi-test/pom.xml Sat Jan 04 08:11:47 2014 +0100
1.2 +++ b/ko-osgi-test/pom.xml Sat Jan 04 16:18:56 2014 +0100
1.3 @@ -6,8 +6,9 @@
1.4 <artifactId>pom</artifactId>
1.5 <version>0.7-SNAPSHOT</version>
1.6 </parent>
1.7 + <name>KO Tests in an OSGi Container</name>
1.8 <artifactId>ko-osgi-test</artifactId>
1.9 - <packaging>jar</packaging>
1.10 + <packaging>bundle</packaging>
1.11 <description>Runs the TCK for Knockout in an OSGi Container</description>
1.12 <properties>
1.13 <netbeans.compile.on.save>none</netbeans.compile.on.save>
1.14 @@ -15,6 +16,10 @@
1.15 <build>
1.16 <plugins>
1.17 <plugin>
1.18 + <groupId>org.apache.felix</groupId>
1.19 + <artifactId>maven-bundle-plugin</artifactId>
1.20 + </plugin>
1.21 + <plugin>
1.22 <groupId>org.apache.maven.plugins</groupId>
1.23 <artifactId>maven-compiler-plugin</artifactId>
1.24 <version>2.3.2</version>
1.25 @@ -23,6 +28,23 @@
1.26 <target>1.7</target>
1.27 </configuration>
1.28 </plugin>
1.29 + <plugin>
1.30 + <artifactId>maven-failsafe-plugin</artifactId>
1.31 + <version>2.16</version>
1.32 + <configuration>
1.33 + <additionalClasspathElements>
1.34 + <additionalClasspathElement>${project.build.directory}/${project.build.finalName}.jar</additionalClasspathElement>
1.35 + </additionalClasspathElements>
1.36 + </configuration>
1.37 + <executions>
1.38 + <execution>
1.39 + <goals>
1.40 + <goal>integration-test</goal>
1.41 + <goal>verify</goal>
1.42 + </goals>
1.43 + </execution>
1.44 + </executions>
1.45 + </plugin>
1.46 </plugins>
1.47 </build>
1.48 <dependencies>
1.49 @@ -51,7 +73,6 @@
1.50 <groupId>${project.groupId}</groupId>
1.51 <artifactId>net.java.html.json.tck</artifactId>
1.52 <version>${project.version}</version>
1.53 - <scope>test</scope>
1.54 </dependency>
1.55 <dependency>
1.56 <groupId>org.netbeans.api</groupId>
1.57 @@ -66,6 +87,11 @@
1.58 </dependency>
1.59 <dependency>
1.60 <groupId>${project.groupId}</groupId>
1.61 + <artifactId>ko-fx</artifactId>
1.62 + <version>${project.version}</version>
1.63 + </dependency>
1.64 + <dependency>
1.65 + <groupId>${project.groupId}</groupId>
1.66 <artifactId>net.java.html.boot.fx</artifactId>
1.67 <version>${project.version}</version>
1.68 <scope>test</scope>
1.69 @@ -99,13 +125,6 @@
1.70 <groupId>org.eclipse</groupId>
1.71 <artifactId>org.eclipse.osgi</artifactId>
1.72 <version>3.8.0.v20120529-1548</version>
1.73 - <scope>test</scope>
1.74 - </dependency>
1.75 - <dependency>
1.76 - <groupId>${project.groupId}</groupId>
1.77 - <artifactId>ko-fx</artifactId>
1.78 - <version>${project.version}</version>
1.79 - <scope>test</scope>
1.80 </dependency>
1.81 </dependencies>
1.82 </project>
1.83 \ No newline at end of file