hndrs/slack-spring-boot-starter

Add Detailed POM information

MarvinSchramm opened this issue · 0 comments

  • Add Library POM Descriptions
  • Add License to POM
  • Add Developers to POM
  • Add SCM to POM
  • Add Organisation to POM
  • Add Isse Management to POM

https://maven.apache.org/pom.html#Developers
https://maven.apache.org/pom.html#Issue_Management
https://maven.apache.org/pom.html#Organization

example

publishing {
    publications {
        create<MavenPublication>("mavenJava") {
            pom {
                name.set("My Library")
                description.set("A concise description of my library")
                url.set("http://www.example.com/library")
                properties.set(mapOf(
                    "myProp" to "value",
                    "prop.with.dots" to "anotherValue"
                ))
                licenses {
                    license {
                        name.set("The Apache License, Version 2.0")
                        url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
                    }
                }
                developers {
                    developer {
                        id.set("johnd")
                        name.set("John Doe")
                        email.set("john.doe@example.com")
                    }
                }
                scm {
                    connection.set("scm:git:git://example.com/my-library.git")
                    developerConnection.set("scm:git:ssh://example.com/my-library.git")
                    url.set("http://example.com/my-library/")
                }
            }
        }
    }
}