Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 535ae70b3c26718a01443870df6c289a3ace218c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<project>
  <modelVersion>4.0.0</modelVersion>
  <name>jSLP-Test</name>
  <groupId>ch.ethz.iks.slp</groupId>
  <artifactId>jslp-test</artifactId>
  <version>1.1.0.RC1</version>
  <packaging>bundle</packaging>
    
  <build>

    <plugins>
	  <!-- http://felix.apache.org/site/maven-bundle-plugin-bnd.html -->
      <plugin>
  	    <groupId>org.apache.felix</groupId>
    	<artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
	      	<instructions>
				<Bundle-Version>${pom.version}</Bundle-Version>
				<Bundle-Name>jslp-test</Bundle-Name>
				<Bundle-SymbolicName>ch.ethz.iks.slp.test</Bundle-SymbolicName>
				<Bundle-Vendor>Jan S. Rellermeyer, IKS, ETH Zurich</Bundle-Vendor>
            	<Import-Package>org.osgi.framework, ch.ethz.iks.slp, junit.framework, junit.textui</Import-Package>
            	<Private-Package>*</Private-Package>
            	<Bundle-Activator>ch.ethz.iks.slp.impl.TestActivator</Bundle-Activator>
            	<!-- BND just produces Bundle-ManifestVersion: 2 headers which we don't want -->
				<_removeheaders>Bundle-ManifestVersion</_removeheaders> 
    	  	</instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <dependencies>
		<dependency>
			<groupId>org.osgi</groupId>
			<artifactId>org.osgi</artifactId>
			<version>3.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
        	<groupId>junit</groupId>
         	<artifactId>junit</artifactId>
         	<version>3.8.1</version>
         	<scope>provided</scope>
      	</dependency>
      	<dependency>
      		<groupId>ch.ethz.iks.slp</groupId>
      		<artifactId>jslp-osgi</artifactId>
      		<version>${pom.version}</version>
      		<scope>system</scope>
      		<systemPath>${user.dir}/../target/jslp-osgi-${pom.version}.jar</systemPath>
      	</dependency>
   </dependencies>

</project>

Back to the top