Skip to content

Commit

Permalink
🔀 Merge origin/23-setup-central-publishing-plugin into origin/main (
Browse files Browse the repository at this point in the history
  • Loading branch information
lengors authored Aug 8, 2024
2 parents 68035a6 + e1fd892 commit 005509b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<maven.compiler.target>21</maven.compiler.target>

<!-- Dependency and plugins versions -->
<maven.central-publishing.version>0.5.0</maven.central-publishing.version>
<maven.checkerframework.version>3.46.0</maven.checkerframework.version>
<maven.checkstyle.version>3.4.0</maven.checkstyle.version>
<maven.compiler.version>3.13.0</maven.compiler.version>
Expand Down Expand Up @@ -154,6 +155,18 @@
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${maven.central-publishing.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down
13 changes: 13 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>central</id>
<username>${MAVEN_CENTRAL_USERNAME}</username>
<password>${MAVEN_CENTRAL_PASSWORD}</password>
</server>
</servers>
</settings>

0 comments on commit 005509b

Please sign in to comment.