This repository was archived by the owner on Oct 24, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -7,29 +7,22 @@ Run the Maven `release:prepare` goal:
77```
88$ git checkout master
99$ git pull
10- $ ./mvnw --batch-mode -DdryRun=true - DreleaseVersion=1.0.0 -DdevelopmentVersion=999-SNAPSHOT release:clean release:prepare
10+ $ ./mvnw --batch-mode -DreleaseVersion=1.0.0 -DdevelopmentVersion=999-SNAPSHOT release:clean release:prepare
1111```
1212
1313The value of ` releaseVersion ` is decided by the draft name of
1414[ Releases] ( https://github.com/domaframework/doma-quarkus/releases ) .
1515
16-
1716## Build with GitHub Action
1817
1918The GitHub Action workflow [ Java CI with Maven] ( .github/workflows/ci.yml ) handles the above push event.
2019
2120The workflow builds the "doma-quarkus-parent", the "doma-quarkus-deployment" and the "doma-quarkus" artifacts
22- and pushes them to Maven Central [ Sonatype OSSRH] ( https://central.sonatype.org/pages/ossrh-guide.html ) .
21+ and pushes them to [ Sonatype OSSRH] ( https://central.sonatype.org/pages/ossrh-guide.html ) .
2322
2423## Publish artifacts to Maven Central
2524
26- Follow the instructions below:
27-
28- - Open [ Nexus Repository Manager] ( https://oss.sonatype.org/ ) .
29- - Log in to the manager.
30- - Select "Staging Repositories" from the side menu.
31- - Check the repository of Doma.
32- - Push the "Release" button.
25+ The Nexus Staging Maven Plugin handles this process.
3326
3427In a few minutes, all artifacts are copied to the [ Maven Central Repository] ( https://repo1.maven.org/ ) .
3528
Original file line number Diff line number Diff line change 4343 <source-plugin .version>3.2.1</source-plugin .version>
4444 <javadoc-plugin .version>3.2.0</javadoc-plugin .version>
4545 <gpg-plugin .version>1.6</gpg-plugin .version>
46- <versions-plugin .version>2.8.1</versions-plugin .version>
4746 <nexus-staging-plugin .version>1.6.8</nexus-staging-plugin .version>
4847 <release-plugin .version>3.0.0-M1</release-plugin .version>
4948 </properties >
137136 <configuration >
138137 <serverId >ossrh</serverId >
139138 <nexusUrl >https://oss.sonatype.org/</nexusUrl >
140- <autoReleaseAfterClose >false </autoReleaseAfterClose >
139+ <autoReleaseAfterClose >true </autoReleaseAfterClose >
141140 </configuration >
142141 </plugin >
143142 </plugins >
174173 <tagNameFormat >v@{project.version}</tagNameFormat >
175174 </configuration >
176175 </plugin >
177- <plugin >
178- <groupId >org.codehaus.mojo</groupId >
179- <artifactId >versions-maven-plugin</artifactId >
180- <version >${versions-plugin.version} </version >
181- </plugin >
182176 </plugins >
183177 </pluginManagement >
184178 </build >
You can’t perform that action at this time.
0 commit comments