Skip to content

jinahya/central-parent

Repository files navigation

central-parent

Java CI with Maven Maven Central

A parent pom for deploying artifacts to the Central Repository.

Configure

pom.xml

Just set this artifact as parent.

<parent>
  <groupId>io.github.jinahya</groupId>
  <artifactId>central-parent</artifactId>
</parent>

settings.xml

Put your credentials to the $M2_HOME/settings.xml. See Publishing By Using the Maven Plugin.

<server>
  <id>central</id>
  <username><!-- your token username --></username>
  <password><!-- your token password --></password>
</server>

Deploy

See Publishing By Using the Maven Plugin for more options.

$ git switch -d x.y.z
$ mvn -Pcentral clean deploy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages