EclipseBundlePool/pom.xml

93 lines
3.9 KiB
XML
Raw Permalink Normal View History

<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.minres.bundlepool</groupId>
<artifactId>com.minres.bundlepool.tycho</artifactId>
<version>2.0.0</version>
<packaging>pom</packaging>
<properties>
<tycho.version>1.7.0</tycho.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>default-cli</id>
<phase>package</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<featureDefinitions>
<feature> <!-- Generate a feature including artifacts that are listed below inside the feature element-->
<id>groovy-templates.feature</id>
<version>3.0.10</version>
<label>Groovy Templates 3.0.10 Feature</label>
<providerName>A provider</providerName>
<description>${project.description}</description>
<copyright>A copyright</copyright>
<license>A licence</license>
<artifacts>
<artifact>
<id>org.codehaus.groovy:groovy-templates:jar:3.0.10</id>id>
<transitive>true</transitive>
<source>true</source>
</artifact>
</artifacts>
</feature>
</featureDefinitions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Attach zipped P2 repository to be installed and deployed
in the Maven repository during the deploy phase. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/${project.artifactId}-${project.version}.zip</file>
<type>zip</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>