sonatype-oss-kotlin-parent
a parent pom for easy publishing of pure kotlin projects to sonatype-ossrh
Provides
- jetbrains
dokkaplugin configuration to generate javadoc from kotlin maven-gpg-pluginconfiguration for code signingmaven-source-pluginto provide source jars- easy version upgrade: all versions are properties you can easily overwrite in your project
What You Need
- use parent
<parent> <groupId>net.thimmwork</groupId> <artifactId>sonatype-oss-kotlin-parent</artifactId> <version>1.0</version> </parent>
scmtag with links to your source code management- if your scm points to github, you can put your credentials in the
settings.xmlwith a server with idgithub. Or you can override theproject.scm.idproperty to point to the server of your choice developerstaglicensestag (if your code is under another license than Apache Licence, Version 2.0)- provide a
settings.xmlin your.m2folder
Release your project
To release your project, use either the mvn-release-plugin or the profile sonatype-oss-release
Additional Reference
If this is your first project, read any of these tutorials that will guide you through the process to set up everything you need: