blob: 02094d312abbc069993f07d8aac20b6eb790572e [file] [log] [blame]
<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>
<parent>
<groupId>org.eclipse.gendoc</groupId>
<artifactId>parent</artifactId>
<version>0.7.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.gendoc.incubation.update-site</artifactId>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>milestone</id>
<!-- This profile is only activated when building in Eclipse with m2e -->
<activation>
<property>
<name>milestone</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<finalName>${project.name}-${unqualifiedVersion}-${milestone.version}-${profile.id}</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<!-- This profile is only activated when building in Eclipse with m2e -->
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<finalName>${project.name}-${unqualifiedVersion}-${profile.id}</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>