blob: 8dccf08dc6d4d90bb5f4d645ed4be513eb81a8f2 [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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.tigerstripe</groupId>
<artifactId>tigerstripe-core-parent</artifactId>
<version>0.11.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Tigerstripe Core Parent</name>
<ciManagement>
<system>Jenkins</system>
<url>https://ci.eclipse.org/tigerstripe/job/tigerstripe/</url>
</ciManagement>
<scm>
<connection>scm:git:git://git.eclipse.org/gitroot/tigerstripe/org.eclipse.tigerstripe</connection>
<developerConnection>scm:git:git://git.eclipse.org/gitroot/tigerstripe/org.eclipse.tigerstripe</developerConnection>
<url>https://git.eclipse.org/r/#/admin/projects/tigerstripe/org.eclipse.tigerstripe</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>repository</id>
<name>Repository</name>
<url>${distribution.repository.url}</url>
</repository>
<snapshotRepository>
<id>repository-snapshots</id>
<name>Repository Snapshots</name>
<url>${distribution.snapshotRepository.url}</url>
</snapshotRepository>
<site>
<id>website</id>
<name>website</name>
<url>${distribution.site.url}${site.url}</url>
</site>
</distributionManagement>
<properties>
<!-- Build properties -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<!-- Dependency versions -->
<slf4j.version>1.7.26</slf4j.version>
<!-- Plugin versions -->
<build-helper.version>3.0.0</build-helper.version>
<compiler-plugin.version>3.8.0</compiler-plugin.version>
<jar-plugin.version>3.1.1</jar-plugin.version>
</properties>
<modules>
<module>org.eclipse.tigerstripe.api</module>
<module>org.eclipse.tigerstripe.core</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<!-- Used by tigerstripe core to show version information in Eclipse and in newly generated files. -->
<Bundle-Version>${bundleVersion}</Bundle-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>release-profile</id>
<properties>
<bundleVersion>${project.version}</bundleVersion>
</properties>
</profile>
<profile>
<id>set-bundle-version</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<bundleVersion>${release.majorVersion}.${release.minorVersion}.${release.incrementalVersion}.${maven.build.timestamp}</bundleVersion>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>populate-version-details</id>
<phase>validate</phase>
<goals>
<goal>parse-version</goal>
</goals>
<configuration>
<propertyPrefix>release</propertyPrefix>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>