Skip to content

Commit

Permalink
Update maven example
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 6, 2024
1 parent 297aa98 commit ba67458
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 9 additions & 4 deletions docs/modules/examples/pages/maven/maven-central.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ file:
- `JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME` or `JRELEASER_NEXUS2_USERNAME`
- `JRELEASER_NEXUS2_MAVEN_CENTRAL_PASSWORD` or `JRELEASER_NEXUS2_PASSWORD`
Alternatively, you may set these for link:https://central.sonatype.org/publish/generate-token/[token based authentication]:

- `JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME` or `JRELEASER_NEXUS2_USERNAME`
- `JRELEASER_NEXUS2_MAVEN_CENTRAL_TOKEN` or `JRELEASER_NEXUS2_TOKEN`
== Maven

The following `pom.xml` file shows the minimum required configuration
Expand Down Expand Up @@ -230,22 +235,22 @@ The following `pom.xml` file shows the minimum required configuration
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
Expand Down
8 changes: 4 additions & 4 deletions docs/modules/examples/pages/maven/staging-artifacts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,22 @@ as plugin configuration to generate all required artifacts.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit ba67458

Please sign in to comment.