Skip to content

Commit

Permalink
Maven Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Oct 22, 2024
1 parent 341dd00 commit 1e5b130
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven-central-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
SIGN_KEY: ${{ secrets.JIRAID }}
SIGN_KEY_ID: ${{ secrets.JIRAPASS }}
SIGN_KEY_PASS: ${{ secrets.GPG_PASSPHRASE }}
TOKEN_USER_NAME: ${{ secrets.TOKEN_USER_NAME }}
TOKEN_PASSWORD: ${{ secrets.TOKEN_PASSWORD }}

- name: Maven version
id: get-version
Expand Down
6 changes: 3 additions & 3 deletions .m2/settings.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<settings>
<servers>
<server>
<id>ossrh</id>
<username>${env.JIRAID}</username>
<password>${env.JIRAPASS}</password>
<id>central</id>
<username>${env.TOKEN_USER_NAME}</username>
<password>${env.TOKEN_PASSWORD}</password>
</server>
</servers>
</settings>
18 changes: 9 additions & 9 deletions multiapi-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<swagger-parser.version>2.1.12</swagger-parser.version>
<commons-lang3.version>3.13.0</commons-lang3.version>
<commons-io.version>2.13.0</commons-io.version>
<commons-lang3.version>3.15.0</commons-lang3.version>
<commons-io.version>2.16.1</commons-io.version>
<commons-collections4.version>4.4</commons-collections4.version>
<jackson.version>2.15.3</jackson.version>
<jackson.version>2.17.2</jackson.version>
<freemarker.version>2.3.32</freemarker.version>
<assertj-core.version>3.24.2</assertj-core.version>
<junit-jupiter-engine.version>5.10.1</junit-jupiter-engine.version>
<assertj-core.version>3.25.3</assertj-core.version>
<junit-jupiter-engine.version>5.10.3</junit-jupiter-engine.version>
<swagger-core.version>2.2.9</swagger-core.version>
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>

<commons-text.version>1.12.0</commons-text.version>
<lombok.version>1.18.30</lombok.version>
<slf4j-api.version>2.0.11</slf4j-api.version>
<commons-codec.version>1.16.0</commons-codec.version>
<maven-artifact.version>3.9.1</maven-artifact.version>
<lombok.version>1.18.34</lombok.version>
<slf4j-api.version>2.0.16</slf4j-api.version>
<commons-codec.version>1.17.0</commons-codec.version>
<maven-artifact.version>3.9.6</maven-artifact.version>
</properties>

<dependencies>
Expand Down
27 changes: 19 additions & 8 deletions scs-multiapi-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@
<maven-plugin-annotations.version>3.6.4</maven-plugin-annotations.version>
<maven-project.version>2.2.1</maven-project.version>
<maven-core.version>3.9.1</maven-core.version>
<maven-plugin-plugin.version>3.9.0</maven-plugin-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
<maven-plugin-plugin.version>3.13.1</maven-plugin-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
<sortpom-maven-plugin.version>3.2.1</sortpom-maven-plugin.version>
<itf.version>0.12.0</itf.version>
Expand All @@ -271,7 +271,7 @@
<dependency>
<groupId>com.sngular</groupId>
<artifactId>multiapi-engine</artifactId>
<version>6.0.0</version>
<version>6.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down Expand Up @@ -427,7 +427,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.1.2</version>
<version>3.3.0</version>
<configuration>
<systemProperties>
<maven.version>${maven.version}</maven.version>
Expand All @@ -454,7 +454,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<version>3.6.0</version>
<configuration>
<minimizeJar>false</minimizeJar>
<createDependencyReducedPom>true</createDependencyReducedPom>
Expand Down Expand Up @@ -524,7 +524,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
<version>3.5.0</version>
<configuration>
<configLocation>../checkstyle.xml</configLocation>
</configuration>
Expand All @@ -546,7 +546,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand All @@ -563,6 +563,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 1e5b130

Please sign in to comment.