MVN

io.github.open-source-release-demo : publish-java

Maven & Gradle

Nov 27, 2021
2 stars

publish-java · Demo of how to publish a Java Gradle based project to Maven Central

<dependency>
    <groupId>io.github.open-source-release-demo</groupId>
    <artifactId>publish-java</artifactId>
    <version>0.1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.github.open-source-release-demo : publish-java to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.1.0

All Versions

Choose a version of io.github.open-source-release-demo : publish-java to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.1.x
publish-java-0.1.0

How to add a dependency to Maven

Add the following io.github.open-source-release-demo : publish-java maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>io.github.open-source-release-demo</groupId>
    <artifactId>publish-java</artifactId>
    <version>0.1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.github.open-source-release-demo : publish-java gradle dependency to your build.gradle file:

implementation 'io.github.open-source-release-demo:publish-java:0.1.0'

Gradle Kotlin DSL: Add the following io.github.open-source-release-demo : publish-java gradle kotlin dependency to your build.gradle.kts file:

implementation("io.github.open-source-release-demo:publish-java:0.1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.github.open-source-release-demo : publish-java sbt scala dependency to your build.sbt file:

libraryDependencies += "io.github.open-source-release-demo" % "publish-java" % "0.1.0"