Kotlin Sonatype Parent-POM

parent pom for easy deployment of pure kotlin projects to Sonatype OSS-RH

License

License

Categories

Categories

Kotlin Languages Net
GroupId

GroupId

net.thimmwork
ArtifactId

ArtifactId

sonatype-oss-kotlin-parent
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Kotlin Sonatype Parent-POM
parent pom for easy deployment of pure kotlin projects to Sonatype OSS-RH
Project URL

Project URL

https://github.com/thimmwork/sonatype-oss-kotlin-parent
Source Code Management

Source Code Management

https://github.com/thimmwork/sonatype-oss-kotlin-parent/tree/master

Download sonatype-oss-kotlin-parent

How to add to project

<!-- https://jarcasting.com/artifacts/net.thimmwork/sonatype-oss-kotlin-parent/ -->
<dependency>
    <groupId>net.thimmwork</groupId>
    <artifactId>sonatype-oss-kotlin-parent</artifactId>
    <version>1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.thimmwork/sonatype-oss-kotlin-parent/
implementation 'net.thimmwork:sonatype-oss-kotlin-parent:1.0'
// https://jarcasting.com/artifacts/net.thimmwork/sonatype-oss-kotlin-parent/
implementation ("net.thimmwork:sonatype-oss-kotlin-parent:1.0")
'net.thimmwork:sonatype-oss-kotlin-parent:pom:1.0'
<dependency org="net.thimmwork" name="sonatype-oss-kotlin-parent" rev="1.0">
  <artifact name="sonatype-oss-kotlin-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.thimmwork', module='sonatype-oss-kotlin-parent', version='1.0')
)
libraryDependencies += "net.thimmwork" % "sonatype-oss-kotlin-parent" % "1.0"
[net.thimmwork/sonatype-oss-kotlin-parent "1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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:

Versions

Version
1.0