File tree Expand file tree Collapse file tree 4 files changed +9
-21
lines changed
Expand file tree Collapse file tree 4 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 2424 echo -e "$MAVEN_GPG_SIGN_KEY" | gpg --batch --import -
2525 gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys $gpgkey
2626 rm -rf $HOME/.m2/settings.xml
27- echo -e "<settings>\n<servers>\n<server>\n<id>ossrh </id>\n<username>$username</username>\n<password>$password</password>\n</server>\n</servers>\n</settings>" > $HOME/.m2/settings.xml
27+ echo -e "<settings>\n<servers>\n<server>\n<id>central </id>\n<username>$username</username>\n<password>$password</password>\n</server>\n</servers>\n</settings>" > $HOME/.m2/settings.xml
2828 - name : Deploy
2929 run : |
3030 mvn clean deploy -Dgpg.passphrase=$passphrase
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.thoughtworks.gauge.maven</groupId >
77 <artifactId >gauge-mvn-archetypes</artifactId >
8- <version >1.6.0 </version >
8+ <version >1.6.1 </version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.thoughtworks.gauge.maven</groupId >
77 <artifactId >gauge-mvn-archetypes</artifactId >
8- <version >1.6.0 </version >
8+ <version >1.6.1 </version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55
66 <groupId >com.thoughtworks.gauge.maven</groupId >
77 <artifactId >gauge-mvn-archetypes</artifactId >
8- <version >1.6.0 </version >
8+ <version >1.6.1 </version >
99 <packaging >pom</packaging >
1010
1111 <name >Gauge Maven Archetypes</name >
102102 </plugin >
103103
104104 <plugin >
105- <groupId >org.sonatype.plugins </groupId >
106- <artifactId >nexus-staging -maven-plugin</artifactId >
107- <version >1 .7.0</version >
105+ <groupId >org.sonatype.central </groupId >
106+ <artifactId >central-publishing -maven-plugin</artifactId >
107+ <version >0 .7.0</version >
108108 <extensions >true</extensions >
109109 <configuration >
110- <serverId >ossrh</serverId >
111- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
112- <autoReleaseAfterClose >true</autoReleaseAfterClose >
110+ <publishingServerId >central</publishingServerId >
111+ <autoPublish >true</autoPublish >
113112 </configuration >
114113 </plugin >
115114
125124 </pluginManagement >
126125 </build >
127126
128- <distributionManagement >
129- <snapshotRepository >
130- <id >ossrh</id >
131- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
132- </snapshotRepository >
133- <repository >
134- <id >ossrh</id >
135- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
136- </repository >
137- </distributionManagement >
138-
139127 <developers >
140128 <developer >
141129 <name >Kashish Munjal</name >
You can’t perform that action at this time.
0 commit comments