Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
428 lines (410 sloc) 13.8 KB
<?xml version="1.0" encoding="UTF-8"?>
<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>io.dekorate</groupId>
<artifactId>dekorate-project</artifactId>
<packaging>pom</packaging>
<version>0.8-SNAPSHOT</version>
<name>Dekorate</name>
<description>A collection of annotations and processors for Kubernetes</description>
<url>https://dekorate.io</url>
<inceptionYear>2018</inceptionYear>
<organization>
<name>Red Hat</name>
<url>http://redhat.com</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- including A developer as it's required by the maven poms going into
central -->
<developers>
<developer>
<id>geeks</id>
<name>Snowdrop Development Team</name>
<organization>snowdrop</organization>
<organizationUrl>http://snowdrop.me/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:dekorateio/dekorate.git</connection>
<developerConnection>scm:git:git@github.com:dekorateio/dekorate.git</developerConnection>
<url>http://github.com/dekorateio/dekorate</url>
<tag>${project.version}</tag>
</scm>
<distributionManagement>
<repository>
<id>oss-sonatype-staging</id>
<name>Sonatype Staging Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
<properties>
<!-- Dependencies -->
<version.sundrio>0.19.1</version.sundrio>
<!-- Testing Dependencies -->
<version.junit-jupiter>5.5.0</version.junit-jupiter>
<version.junit-platform>1.4.0</version.junit-platform>
<version.assertj>3.11.1</version.assertj>
<!-- Plugins -->
<version.maven-compiler-plugin>3.8.0</version.maven-compiler-plugin>
<version.maven-invoker-plugin>3.1.0</version.maven-invoker-plugin>
<version.maven-failsafe-plugin>3.0.0-M3</version.maven-failsafe-plugin>
<version.maven-surefire-plugin>3.0.0-M3</version.maven-surefire-plugin>
<version.maven-shade-plugin>3.0.0</version.maven-shade-plugin>
<!-- Relese Plugins -->
<version.maven-gpg-plugin>1.6</version.maven-gpg-plugin>
<version.maven-enforcer-plugin>1.3.1</version.maven-enforcer-plugin>
<version.maven-javadoc-plugin>2.10.3</version.maven-javadoc-plugin>
<version.maven-source-plugin>2.4</version.maven-source-plugin>
<version.groovydoc-maven-plugin>2.1</version.groovydoc-maven-plugin>
</properties>
<modules>
<module>dependencies</module>
<module>core</module>
<module>frameworks</module>
<module>annotations</module>
<module>testing</module>
<module>starters</module>
<module>doc</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.sundr</groupId>
<artifactId>builder-annotations</artifactId>
<version>${version.sundrio}</version>
</dependency>
<dependency>
<groupId>io.sundr</groupId>
<artifactId>transform-annotations</artifactId>
<version>${version.sundrio}</version>
</dependency>
<!-- Testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${version.junit-jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${version.junit-jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${version.junit-jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${version.junit-platform}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>${version.junit-platform}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${version.assertj}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven-compiler-plugin}</version>
<configuration>
<source>${java.source}</source>
<target>${java.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>${version.maven-invoker-plugin}</version>
<inherited>true</inherited>
<configuration>
<debug>false</debug>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<showErrors>true</showErrors>
<streamLogs>true</streamLogs>
<mavenOpts>-Xmx1024m</mavenOpts>
<goals>
<goal>clean</goal>
<goal>install</goal>
</goals>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
<phase>install</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven-surefire-plugin}</version>
<inherited>true</inherited>
<configuration>
<trimStackTrace>false</trimStackTrace>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<aggregate>true</aggregate>
<header>header.txt</header>
<properties>
<owner>Red Hat, Inc.</owner>
</properties>
<includes>
<include>**/*.java</include>
<include>**/*.groovy</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>gradle</id>
<url>https://repo.gradle.org/gradle/libs-releases-local/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>gradle</id>
<url>https://repo.gradle.org/gradle/libs-releases-local/</url>
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${version.maven-gpg-plugin}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${version.maven-enforcer-plugin}</version>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
</requireReleaseDeps>
</rules>
<fail>false</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven-javadoc-plugin}</version>
<configuration>
<includeDependencySources>${javadoc.include.deps}</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>${javadoc.source.includes}</dependencySourceInclude>
</dependencySourceIncludes>
<excludePackageNames>${javadoc.package.excludes}</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven-source-plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk9</id>
<activation>
<jdk>[1,1.9)</jdk>
</activation>
<properties>
<java.source>1.8</java.source>
<java.target>1.8</java.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${sun.tools.version}</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>jdk11</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<properties>
<java.source>11</java.source>
<java.target>11</java.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.sundr</groupId>
<artifactId>builder-annotations</artifactId>
<version>${version.sundrio}</version>
<exclusions>
<exclusion>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.sundr</groupId>
<artifactId>transform-annotations</artifactId>
<version>${version.sundrio}</version>
<exclusions>
<exclusion>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>with-examples</id>
<modules>
<module>examples</module>
</modules>
</profile>
<profile>
<id>with-incubator</id>
<modules>
<module>incubator</module>
</modules>
</profile>
<profile>
<id>with-javadoc-and-sources</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven-javadoc-plugin}</version>
<configuration>
<includeDependencySources>${javadoc.include.deps}</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>${javadoc.source.includes}</dependencySourceInclude>
</dependencySourceIncludes>
<excludePackageNames>${javadoc.package.excludes}</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven-source-plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
You can’t perform that action at this time.