blob: d828711a12dccfbe1a0257317c4d2836c0c544c7 [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>
<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>