Skip to content
Snippets Groups Projects
pom.xml 1.94 KiB
Newer Older
  • Learn to ignore specific revisions
  • <project>
    	<modelVersion>4.0.0</modelVersion>
    	<packaging>bundle</packaging>
    	<groupId>info.kwarc.sally4</groupId>
    	<artifactId>core</artifactId>
    	<version>0.0.1-SNAPSHOT</version>
    	<name>Sally4 Core</name>
    
    	<properties>
    		<maven-bundle-plugin.version>2.4.0</maven-bundle-plugin.version>
    		<osgi.version>5.0.0</osgi.version>
    		<camel.version>2.12.3</camel.version>
    	</properties>
    
    	<dependencies>
    		<dependency>
    			<groupId>org.apache.camel</groupId>
    			<artifactId>camel-freemarker</artifactId>
    			<version>${camel.version}</version>
    		</dependency>
    
    		<dependency>
    			<groupId>org.apache.camel</groupId>
    			<artifactId>camel-jaxb</artifactId>
    			<version>${camel.version}</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>
    
    
    	</dependencies>
    
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.felix</groupId>
    				<artifactId>maven-bundle-plugin</artifactId>
    				<version>2.4.0</version>
    				<extensions>true</extensions>
    				<configuration>
    					<instructions>
    						<Bundle-Activator>info.kwarc.sally4.core.impl.Activator</Bundle-Activator>
    						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
    						<Private-Package>info.kwarc.sally4.core.impl</Private-Package>
    						<Export-Package>info.kwarc.sally4.core*;info.kwarc.sally.comm*</Export-Package>
    						<Import-Package>*;</Import-Package>
    					</instructions>
    				</configuration>
    			</plugin>
    			<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>