File tree Expand file tree Collapse file tree 1 file changed +40
-29
lines changed Expand file tree Collapse file tree 1 file changed +40
-29
lines changed Original file line number Diff line number Diff line change 134134 </plugin >
135135 </plugins >
136136 </pluginManagement >
137- <plugins >
138- <plugin >
139- <groupId >org.apache.maven.plugins</groupId >
140- <artifactId >maven-gpg-plugin</artifactId >
141- <executions >
142- <execution >
143- <id >sign-artifacts</id >
144- <phase >verify</phase >
145- <goals >
146- <goal >sign</goal >
147- </goals >
148- </execution >
149- </executions >
150- </plugin >
151- <plugin >
152- <groupId >org.sonatype.plugins</groupId >
153- <artifactId >nexus-staging-maven-plugin</artifactId >
154- </plugin >
155- <plugin >
156- <groupId >org.apache.maven.plugins</groupId >
157- <artifactId >maven-release-plugin</artifactId >
158- <configuration >
159- <autoVersionSubmodules >true</autoVersionSubmodules >
160- <useReleaseProfile >false</useReleaseProfile >
161- <releaseProfiles >release</releaseProfiles >
162- <goals >deploy nexus-staging:release</goals >
163- </configuration >
164- </plugin >
165- </plugins >
166137 </build >
167138
168139 <profiles >
140+ <profile >
141+ <id >gpg-sign</id >
142+ <activation >
143+ <activeByDefault >false</activeByDefault >
144+ <property >
145+ <name >gpg.passphrase</name >
146+ </property >
147+ </activation >
148+ <build >
149+ <plugins >
150+ <plugin >
151+ <groupId >org.apache.maven.plugins</groupId >
152+ <artifactId >maven-gpg-plugin</artifactId >
153+ <executions >
154+ <execution >
155+ <id >sign-artifacts</id >
156+ <phase >verify</phase >
157+ <goals >
158+ <goal >sign</goal >
159+ </goals >
160+ </execution >
161+ </executions >
162+ </plugin >
163+ <plugin >
164+ <groupId >org.sonatype.plugins</groupId >
165+ <artifactId >nexus-staging-maven-plugin</artifactId >
166+ </plugin >
167+ <plugin >
168+ <groupId >org.apache.maven.plugins</groupId >
169+ <artifactId >maven-release-plugin</artifactId >
170+ <configuration >
171+ <autoVersionSubmodules >true</autoVersionSubmodules >
172+ <useReleaseProfile >false</useReleaseProfile >
173+ <releaseProfiles >release</releaseProfiles >
174+ <goals >deploy nexus-staging:release</goals >
175+ </configuration >
176+ </plugin >
177+ </plugins >
178+ </build >
179+ </profile >
169180 <profile >
170181 <id >release</id >
171182 <activation >
You can’t perform that action at this time.
0 commit comments