Base POM for Java Projects
Maven base parent POM for Java projects.
<parent>
<groupId>org.kasource</groupId>
<artifactId>java-base-pom</artifactId>
<version>0.3</version>
</parent>
Set common tags such as:
- licenses
- organization
- developers
- issueManagement
- ciManagement
- distributionManagement
Provides plugin management for basic plugins and plugin configurations needed to perform release to OSSRH
JDK Version
The default JDK version is 11.
JDK version to use can be specified with the maven property jdk.version. Override in child POMs to change JDK version.
<properties>
<jdk.version>11</jdk.version>
</properties>
SCM
SCM is configured by properties (given artifactId is the same as the repository name), add the following the child POMs.
<scm>
<connection>${scm.connection.url}</connection>
<developerConnection>${scm.connection.url}</developerConnection>
<url>${scm.url}</url>
<tag>HEAD</tag>
</scm>