Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/mvn-release-prepare-perform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
git config --global user.name 'microbean'

echo "::group::Running mvn prepare"

./mvnw --batch-mode ${MVN_DEBUG} --errors ${MVN_TRANSFER_LOGGING} release:prepare
-DdryRun="${DRY_RUN}"
-Darguments="${MVN_TRANSFER_LOGGING}"
-Dscm.url="${SCM_GIT_HTTPS_URL}"

scm_tag="$(grep '^scm.tag=' release.properties | cut -f 2 -d =)"

echo "Prepared ${scm_tag}" >> "${GITHUB_STEP_SUMMARY}"
Expand All @@ -89,13 +89,13 @@ jobs:
echo "::endgroup::"

echo "::group::Running mvn perform"

./mvnw --batch-mode ${MVN_DEBUG} --errors ${MVN_TRANSFER_LOGGING} release:perform
-Darguments="${MVN_TRANSFER_LOGGING} -Dscmpublish.dryRun=${DRY_RUN} -Dscmpublish.pubScmUrl=${SCM_GIT_HTTPS_URL} -DskipTests -DautoPublish=true -DwaitUntil=published"
-Darguments="${MVN_TRANSFER_LOGGING} -Dscmpublish.dryRun=${DRY_RUN} -Dscmpublish.pubScmUrl=${SCM_GIT_HTTPS_URL} -DskipTests -DautoPublish=true -DwaitUntil=published -DwaitMaxTime=3600"
-DdryRun="${DRY_RUN}"
-Dgoals="process-classes,post-site,scm-publish:publish-scm,deploy"
-Dscm.url="${SCM_GIT_HTTPS_URL}"

echo "Released ${scm_tag} successfully" >> "${GITHUB_STEP_SUMMARY}";

echo "::endgroup::"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ as a Maven dependency:
Always check https://search.maven.org/artifact/org.microbean/microbean-construct
for up-to-date available versions.
-->
<version>0.0.14</version>
<version>0.0.15</version>
</dependency>
```

Expand Down
44 changes: 2 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@
</issueManagement>

<distributionManagement>
<!-- See https://central.sonatype.org/publish/publish-maven/#distribution-management-and-authentication (superseded) -->
<!-- Ostensibly no longer needed with central-publishing-maven-plugin (see https://central.sonatype.org/publish/publish-portal-maven/) -->
<!--
<repository>
<id>sonatype-oss-repository-hosting</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
-->
<site>
<id>Github Pages</id>
<name>microBean™ Construct Site</name>
Expand Down Expand Up @@ -106,10 +98,8 @@
<maven.site.deploy.skip>true</maven.site.deploy.skip>
<relativizeDecorationLinks>false</relativizeDecorationLinks>

<!-- Superseded by central-publishing-maven-plugin -->
<!-- nexus-staging-maven-plugin properties -->
<!-- See https://github.com/sonatype/nexus-maven-plugins/blob/0aee3defb33cb133ff536aba59b11d32a368b1e6/staging/maven-plugin/src/main/java/org/sonatype/nexus/maven/staging/AbstractStagingMojo.java#L169-L175 -->
<!-- <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> -->
<!-- central-publishing-maven-plugin properties -->
<deploymentName>${project.name} v${project.version}</deploymentName>

<!-- Other properties -->
<project.build.sourceEncoding>UTF8</project.build.sourceEncoding>
Expand Down Expand Up @@ -206,7 +196,6 @@
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<!-- <version>3.1.0</version> -->
<version>3.2.7</version>
</plugin>
<plugin>
Expand Down Expand Up @@ -234,7 +223,6 @@
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<!-- <version>3.0.0-M6</version> --> <!-- see https://issues.apache.org/jira/browse/MRELEASE-1038 -->
<version>3.1.1</version>
</plugin>
<plugin>
Expand Down Expand Up @@ -288,27 +276,6 @@
<artifactId>jandex-maven-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<!-- Superseded by central-publishing-maven-plugin -->
<!--
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.15</version>
</dependency>
</dependencies>
<configuration>
<serverId>sonatype-oss-repository-hosting</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
-->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
Expand Down Expand Up @@ -360,13 +327,6 @@
</systemPropertyVariables>
</configuration>
</plugin>
<!-- Superseded by central-publishing-maven-plugin -->
<!--
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
-->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
Expand Down