pom.xml 1.78 KB
Newer Older
1
<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">
2 3 4
  <modelVersion>4.0.0</modelVersion>

	<parent>
5
		<groupId>org.ow2.frascati.tinfi.osgi.examples</groupId>
6
	    <artifactId>frascati-tinfi-helloworld</artifactId>
7
		<version>1.6-SNAPSHOT</version>
8
	    <relativePath>../pom.xml</relativePath>
9 10
	</parent>

11
    <artifactId>frascati-tinfi-helloworld-interfaces</artifactId>
12
    <packaging>jar</packaging>
13
    <name>Tinfi OSGi Example HelloWorld - Interfaces</name>
14 15
 
	<dependencies>
16 17 18 19 20 21
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
            <version>${osgi.version}</version>
            <scope>provided</scope>
        </dependency>
22 23 24 25 26 27 28 29 30 31 32
	</dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
				<executions>
					<execution>
						<id>bundle-bundle</id>
						<phase>package</phase>
33
						<goals><goal>bundle</goal></goals>
34 35 36 37 38
					</execution>
				</executions>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
39
						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
40 41
						<Bundle-Name>OSGi Felix HelloWorld interfaces</Bundle-Name>
						<Bundle-Vendor>USTL - INRIA</Bundle-Vendor>
42
						<Bundle-Description>${project.name}</Bundle-Description>
43 44 45 46 47 48 49 50 51
						<Bundle-Activator>example.hw.itf.Activator</Bundle-Activator>
						<Export-Package>example.hw.itf</Export-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>