pom.xml 1.86 KB
Newer Older
Constantin Jucovschi's avatar
Constantin Jucovschi committed
1 2 3 4 5 6
<project>
	<modelVersion>4.0.0</modelVersion>

	<name>DeepaMehta 4 Plugin Example</name>
	<groupId>de.deepamehta</groupId>
	<artifactId>deepamehta-plugin-example</artifactId>
7
	<version>0.2-SNAPSHOT</version>
Constantin Jucovschi's avatar
Constantin Jucovschi committed
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
	<packaging>bundle</packaging>

	<properties>
		<maven-bundle-plugin.version>2.4.0</maven-bundle-plugin.version>
		<osgi.version>5.0.0</osgi.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>de.deepamehta</groupId>
			<artifactId>deepamehta-core</artifactId>
			<version>4.3</version>
		</dependency>

		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.apache.felix.ipojo.annotations</artifactId>
			<version>1.11.2</version>
		</dependency>
		
		<dependency>
			<groupId>org.osgi</groupId>
			<artifactId>org.osgi.core</artifactId>
			<version>${osgi.version}</version>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.osgi</groupId>
			<artifactId>org.osgi.compendium</artifactId>
			<version>${osgi.version}</version>
			<scope>provided</scope>
		</dependency>


	</dependencies>

	<build>
		<plugins>
			<!-- BND Maven Plugin Configuration -->
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
						<Import-Package>*;</Import-Package>
						<Export-Package>de.deepamehta.plugin.example*</Export-Package>
					</instructions>
				</configuration>
			</plugin>
			<!-- iPOJO Maven Plugin Configuration : nothing to do -->
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-ipojo-plugin</artifactId>
				<version>1.11.2</version>
				<executions>
					<execution>
						<goals>
							<goal>ipojo-bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>


</project>