Skip to content

Commit c711475

Browse files
committed
Fix some integration test issues.
1 parent b94cd77 commit c711475

File tree

2 files changed

+43
-35
lines changed

2 files changed

+43
-35
lines changed

EnrichmentMapIntegrationTest/pom.xml

Lines changed: 37 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,6 @@
4545
</artifactItems>
4646
</configuration>
4747
</execution>
48-
<execution>
49-
<id>unpack-api-docs</id>
50-
<phase>generate-test-resources</phase>
51-
<goals>
52-
<goal>unpack</goal>
53-
</goals>
54-
<configuration>
55-
<artifactItems>
56-
<artifactItem>
57-
<groupId>org.cytoscape</groupId>
58-
<artifactId>swing-app-api</artifactId>
59-
<version>${cy3.version}</version>
60-
<includes>package-list</includes>
61-
<type>javadoc</type>
62-
<outputDirectory>target/dependencies</outputDirectory>
63-
</artifactItem>
64-
</artifactItems>
65-
</configuration>
66-
</execution>
6748
</executions>
6849
</plugin>
6950
<plugin>
@@ -247,28 +228,30 @@
247228
<version>${cy3.version}</version>
248229
<scope>test</scope>
249230
</dependency>
250-
251231
<dependency>
252232
<groupId>org.cytoscape</groupId>
253233
<artifactId>ding-presentation-impl</artifactId>
254234
<version>${cy3.version}</version>
255235
<scope>test</scope>
256236
</dependency>
257-
258237
<dependency>
259238
<groupId>org.cytoscape</groupId>
260239
<artifactId>vizmap-gui-impl</artifactId>
261240
<version>${cy3.version}</version>
262241
<scope>test</scope>
263242
</dependency>
264-
243+
<dependency>
244+
<groupId>org.cytoscape</groupId>
245+
<artifactId>vizmap-gui-core-impl</artifactId>
246+
<version>${cy3.version}</version>
247+
<scope>test</scope>
248+
</dependency>
265249
<dependency>
266250
<groupId>org.cytoscape</groupId>
267251
<artifactId>session-impl</artifactId>
268252
<version>${cy3.version}</version>
269253
<scope>test</scope>
270254
</dependency>
271-
272255
<dependency>
273256
<groupId>org.cytoscape</groupId>
274257
<artifactId>io-impl</artifactId>
@@ -287,6 +270,37 @@
287270
<version>${cy3.version}</version>
288271
<scope>test</scope>
289272
</dependency>
273+
<dependency>
274+
<groupId>org.cytoscape</groupId>
275+
<artifactId>swing-util-impl</artifactId>
276+
<version>${cy3.version}</version>
277+
<scope>test</scope>
278+
</dependency>
279+
<dependency>
280+
<groupId>org.cytoscape.distribution</groupId>
281+
<artifactId>application-metadata-impl</artifactId>
282+
<version>${cy3.version}</version>
283+
<scope>test</scope>
284+
</dependency>
285+
<dependency>
286+
<groupId>org.cytoscape</groupId>
287+
<artifactId>api-bundle</artifactId>
288+
<version>${cy3.version}</version>
289+
<scope>test</scope>
290+
</dependency>
291+
<dependency>
292+
<groupId>org.cytoscape.distribution</groupId>
293+
<artifactId>third-party</artifactId>
294+
<version>${cy3.version}</version>
295+
<scope>test</scope>
296+
</dependency>
297+
<dependency>
298+
<groupId>org.cytoscape</groupId>
299+
<artifactId>util-impl</artifactId>
300+
<version>${cy3.version}</version>
301+
<scope>test</scope>
302+
</dependency>
303+
290304

291305
<!-- Pax Exam Dependencies -->
292306

EnrichmentMapIntegrationTest/src/test/java/org/baderlab/csplugins/enrichmentmap/integration/PaxExamConfiguration.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
package org.baderlab.csplugins.enrichmentmap.integration;
22

3-
import static org.ops4j.pax.exam.CoreOptions.frameworkStartLevel;
4-
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
5-
import static org.ops4j.pax.exam.CoreOptions.maven;
6-
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
7-
import static org.ops4j.pax.exam.CoreOptions.options;
8-
import static org.ops4j.pax.exam.CoreOptions.systemProperty;
9-
import static org.ops4j.pax.exam.CoreOptions.vmOption;
3+
import static org.ops4j.pax.exam.CoreOptions.*;
104
import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
115

126
import org.ops4j.pax.exam.Configuration;
@@ -25,7 +19,7 @@ public Option[] config() {
2519

2620
// These have to match what's in the pom.xml files.
2721
final String cyVersion = "3.7.1";
28-
final String emVersion = "3.3.1-SNAPSHOT";
22+
final String emVersion = "3.3.5-SNAPSHOT";
2923
final String karafVersion = "4.2.1";
3024
final String groupId = "org.baderlab.csplugins";
3125
final String appBundle = "EnrichmentMap";
@@ -42,10 +36,10 @@ public Option[] config() {
4236
frameworkStartLevel(50),
4337

4438
// Specify all of our repositories
45-
// repository("http://code.cytoscape.org/nexus/content/repositories/snapshots/"),
46-
// repository("http://code.cytoscape.org/nexus/content/repositories/releases/"),
47-
// repository("http://code.cytoscape.org/nexus/content/repositories/thirdparty/"),
48-
39+
repository("https://nrnb-nexus.ucsd.edu/repository/cytoscape_releases/"),
40+
repository("https://nrnb-nexus.ucsd.edu/repository/cytoscape_snapshots/"),
41+
repository("https://nrnb-nexus.ucsd.edu/repository/cytoscape_thirdparty/"),
42+
4943
// Misc. bundles required to run minimal Cytoscape
5044
mavenBundle().groupId("org.apache.servicemix.specs").artifactId("org.apache.servicemix.specs.jaxb-api-2.1").version("1.2.0").startLevel(3),
5145
mavenBundle().groupId("org.apache.servicemix.bundles").artifactId("org.apache.servicemix.bundles.jaxb-impl").version("2.1.6_1").startLevel(3),

0 commit comments

Comments
 (0)