Skip to content

thimmwork/sonatype-oss-kotlin-parent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

sonatype-oss-kotlin-parent

a parent pom for easy publishing of pure kotlin projects to sonatype-ossrh

Provides

  • jetbrains dokka plugin configuration to generate javadoc from kotlin
  • maven-gpg-plugin configuration for code signing
  • maven-source-plugin to 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>
  • scm tag with links to your source code management
  • if your scm points to github, you can put your credentials in the settings.xml with a server with id github. Or you can override the project.scm.id property to point to the server of your choice
  • developers tag
  • licenses tag (if your code is under another license than Apache Licence, Version 2.0)
  • provide a settings.xml in your .m2 folder

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:

About

a parent pom for easy publishing of pure kotlin projects to sonatype-ossrh

Resources

Stars

Watchers

Forks

Packages

No packages published