1
1
package org .baderlab .csplugins .enrichmentmap .integration ;
2
2
3
- import static org .ops4j .pax .exam .CoreOptions .*;
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 ;
4
10
import static org .ops4j .pax .exam .karaf .options .KarafDistributionOption .karafDistributionConfiguration ;
5
11
6
12
import org .ops4j .pax .exam .Configuration ;
@@ -18,15 +24,16 @@ public abstract class PaxExamConfiguration {
18
24
public Option [] config () {
19
25
20
26
// These have to match what's in the pom.xml files.
21
- final String cyVersion = "3.5.0" ;
22
- final String emVersion = "3.2.0-SNAPSHOT" ;
27
+ final String cyVersion = "3.7.1-SNAPSHOT" ;
28
+ final String emVersion = "3.2.0-BETA1" ;
29
+ final String karafVersion = "4.2.1" ;
23
30
final String groupId = "org.baderlab.csplugins" ;
24
31
final String appBundle = "EnrichmentMap" ;
25
32
26
33
return options (
27
34
karafDistributionConfiguration ()
28
- .frameworkUrl (maven ().groupId ("org.apache.karaf" ).artifactId ("apache-karaf" ).type ("zip" ).versionAsInProject ( ))
29
- .karafVersion ("3.0.2" ).name ("Apache Karaf" ).useDeployFolder (false ),
35
+ .frameworkUrl (maven ().groupId ("org.apache.karaf" ).artifactId ("apache-karaf" ).type ("zip" ).version ( karafVersion ))
36
+ .karafVersion (karafVersion ).name ("Apache Karaf" ).useDeployFolder (false ),
30
37
systemProperty ("org.osgi.framework.system.packages.extra" ).value ("com.sun.xml.internal.bind" ),
31
38
junitBundles (),
32
39
vmOption ("-Xmx512M" ),
@@ -59,6 +66,7 @@ public Option[] config() {
59
66
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("datasource-impl" ).version (cyVersion ).startLevel (9 ),
60
67
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("equations-impl" ).version (cyVersion ).startLevel (9 ),
61
68
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("event-impl" ).version (cyVersion ).startLevel (9 ),
69
+ mavenBundle ().groupId ("org.cytoscape" ).artifactId ("util-impl" ).version (cyVersion ).startLevel (9 ),
62
70
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("model-impl" ).version (cyVersion ).startLevel (11 ),
63
71
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("work-impl" ).version (cyVersion ).startLevel (11 ),
64
72
mavenBundle ().groupId ("org.cytoscape" ).artifactId ("work-headless-impl" ).version (cyVersion ).startLevel (11 ),
0 commit comments