parenting
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.marvelution</groupId>
<artifactId>parenting</artifactId>
<version>1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009-present Marvelution B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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.marvelution</groupId>
<artifactId>parenting</artifactId>
<version>1</version>
<packaging>pom</packaging>
<modules>
<module>licenses</module>
<module>open-source-parent</module>
<module>proprietary-parent</module>
</modules>
<name>${project.groupId}:${project.artifactId}</name>
<description>Common project configuration</description>
<url>http://www.marvelution.com</url>
<inceptionYear>2009</inceptionYear>
<organization>
<name>Marvelution B.V.</name>
<url>http://www.marvelution.com</url>
</organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:${git.origin}</connection>
<developerConnection>scm:git:${git.origin}</developerConnection>
<url>https://bitbucket.org/marvelution/${git.repository.name}</url>
</scm>
<issueManagement>
<system>JIRA</system>
<url>https://moss-cave.atlassian.net/</url>
</issueManagement>
<ciManagement>
<system>Bamboo</system>
<url>https://moss-cave.atlassian.net/builds</url>
</ciManagement>
<distributionManagement>
<repository>
<id>${release.serverId}</id>
<url>${release.url}</url>
</repository>
<snapshotRepository>
<id>${snapshot.serverId}</id>
<url>${snapshot.url}</url>
</snapshotRepository>
</distributionManagement>
<prerequisites>
<maven>3.0.4</maven>
</prerequisites>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.jdk.revision>1.8</project.jdk.revision>
<!-- License configuration -->
<licenses.version>1</licenses.version>
<license.name>alv2</license.name>
<license.full>org/marvelution/licenses/full-${license.name}.txt</license.full>
<license.header>org/marvelution/licenses/header-${license.name}.txt</license.header>
<!-- Source configuration -->
<git.repository.name>parenting</git.repository.name>
<git.origin>git@bitbucket.org:marvelution/${git.repository.name}.git</git.origin>
<!-- Deployment configuration -->
<nexus.serverId>marvelution-public</nexus.serverId>
<nexus.baseUrl>http://repository.marvelution.org</nexus.baseUrl>
<release.serverId>${nexus.serverId}</release.serverId>
<release.url>${nexus.baseUrl}/service/local/staging/deploy/maven2/</release.url>
<snapshot.serverId>${nexus.serverId}</snapshot.serverId>
<snapshot.url>${nexus.baseUrl}/content/repositories/snapshots/</snapshot.url>
<!-- Staging Configuration -->
<staging.serverId>${nexus.serverId}</staging.serverId>
<staging.nexusUrl>${nexus.baseUrl}</staging.nexusUrl>
<staging.progressTimeout>15</staging.progressTimeout>
<staging.directory>${project.build.directory}/staging</staging.directory>
<!-- Maven Plugin Configuration -->
<maven.surefire.version>2.19.1</maven.surefire.version>
<license.plugin.version>2.11</license.plugin.version>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
<resource>
<directory>${project.basedir}/src/main/filtered-resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${project.basedir}/src/test/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*</include>
</includes>
</testResource>
<testResource>
<directory>${project.basedir}/src/test/filtered-resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>${project.jdk.revision}</source>
<target>${project.jdk.revision}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<configuration>
<gpgArguments>
<arg>--no-random-seed-file</arg>
<arg>--no-permission-warning</arg>
</gpgArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>2.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.5</version>
<configuration>
<resourceBundles>
<resourceBundle>org.marvelution:licenses:${licenses.version}</resourceBundle>
</resourceBundles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-repository-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${java.io.tmpdir}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${java.io.tmpdir}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<instructions>
<Bundle-Description>${project.description}</Bundle-Description>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>${staging.serverId}</serverId>
<nexusUrl>${staging.nexusUrl}</nexusUrl>
<altStagingDirectory>${staging.directory}</altStagingDirectory>
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
<stagingProgressTimeoutMinutes>${staging.progressTimeout}</stagingProgressTimeoutMinutes>
<tags>
<localUsername>${user.name}</localUsername>
<javaVersion>${java.version}</javaVersion>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.marvelution</groupId>
<artifactId>licenses</artifactId>
<version>${licenses.version}</version>
</dependency>
</dependencies>
<configuration>
<header>${license.header}</header>
<encoding>${project.build.sourceEncoding}</encoding>
<useDefaultMapping>true</useDefaultMapping>
<strictCheck>true</strictCheck>
<aggregate>true</aggregate>
<headerDefinitions>
<headerDefinition>org/marvelution/licenses/header-definitions.xml</headerDefinition>
</headerDefinitions>
<mapping>
<java>SLASHSTAR_STYLE</java>
<ftl>FTL_STYLE</ftl>
<vm>VELOCITY_STYLE</vm>
<md>XML_STYLE</md>
<xslt>XML_STYLE</xslt>
<xjb>XML_STYLE</xjb>
<jelly>XML_STYLE</jelly>
<ini>SCRIPT_STYLE</ini>
<aj>JAVADOC_STYLE</aj>
<groovy>SLASHSTAR_STYLE</groovy>
<help>SCRIPT_STYLE</help>
<proto>DOUBLESLASH_STYLE</proto>
<scala>SLASHSTAR_STYLE</scala>
<sm>DOUBLESLASH_STYLE</sm>
</mapping>
<includes>
<include>**/pom.xml</include>
<include>**/*.xml</include>
<include>**/*.xsd</include>
<include>**/*.xjb</include>
<include>**/*.properties</include>
<include>**/*.ini</include>
<include>**/*.java</include>
<include>**/*.groovy</include>
<include>**/*.scala</include>
<include>**/*.aj</include>
<include>**/*.js</include>
<include>**/*.css</include>
<include>**/*.help</include>
<include>**/*.proto</include>
<include>**/*.sm</include>
<include>**/*.bat</include>
<include>**/*.xsl</include>
<include>**/*.html</include>
<include>**/*.vm</include>
<include>**/*.md</include>
<include>**/*.sh</include>
<include>**/*.bash</include>
<include>**/*.rb</include>
</includes>
<excludes>
<exclude>**/target/**</exclude>
<exclude>**/.*/**</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/nbactions*.xml</exclude>
<exclude>**/nb-configuration.xml</exclude>
<exclude>**/atlassian-ide-plugin.xml</exclude>
<exclude>**/release.properties</exclude>
<exclude>**/build-number.txt</exclude>
<exclude>**/META-INF/services/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- Disable sources-jar -->
<profile>
<id>disable-sources-jar</id>
<activation>
<property>
<name>!sources.skip</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<includePom>true</includePom>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Disable staging -->
<profile>
<id>disable-staging</id>
<activation>
<property>
<name>!staging.skip</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<!-- Verify license headers; use: mvn -Plicense-check -N -->
<profile>
<id>license-check</id>
<build>
<defaultGoal>com.mycila:license-maven-plugin:check</defaultGoal>
</build>
</profile>
<!-- Format license headers; use: mvn -Plicense-format -N -->
<profile>
<id>license-format</id>
<build>
<defaultGoal>com.mycila:license-maven-plugin:format</defaultGoal>
</build>
</profile>
<!-- Turn off strict javadoc checks in Java-8 -->
<profile>
<id>javadoc-java8</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<!-- Release profile -->
<profile>
<id>release</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-project-release</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
<searchTransitive>true</searchTransitive>
<failWhenParentIsSnapshot>true</failWhenParentIsSnapshot>
</requireReleaseDeps>
<requirePluginVersions>
<message>Build reproducibility : always define plugin versions</message>
<banSnapshots>true</banSnapshots>
<banRelease>true</banRelease>
<banLatest>true</banLatest>
<banTimestamps>true</banTimestamps>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
<useAgent>true</useAgent>
</configuration>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<stagingDescriptions>
<finish>Version ${project.version} of ${project.name} ready for testing</finish>
<drop>Dropped ${project.version} of ${project.name}</drop>
<release>Released ${project.version} of ${project.name}</release>
</stagingDescriptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<developers>
<developer>
<id>markrekveld</id>
<name>Mark Rekveld</name>
<email>markrekveld@marvelution.com</email>
<url>http://www.marvelution.com</url>
<timezone>+1</timezone>
<organization>Marvelution B.V.</organization>
<organizationUrl>http://www.marvelution.com</organizationUrl>
<roles>
<role>Marvelution Member</role>
</roles>
</developer>
</developers>
</project>