File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,17 @@ Put this information into `~/.m2/settings.xml` (Maven settings). Your
4747 <username>git</username>
4848 </server>
4949 </servers>
50+ <profiles>
51+ <profile>
52+ <id>my_profile_id</id>
53+ <activation>
54+ <activeByDefault>true</activeByDefault>
55+ </activation>
56+ <properties>
57+ <gpg.keyname><!-- The GPG ID of your publishing key --></gpg.keyname>
58+ </properties>
59+ </profile>
60+ </profiles>
5061 </settings>
5162
5263Some links about Sonatype:
@@ -56,6 +67,12 @@ Some links about Sonatype:
5667* http://central.sonatype.org/pages/apache-maven.html
5768
5869
70+ See the following documentation for details on specifying which gpg to use for
71+ publishing in your local settings.xml:
72+
73+ * https://central.sonatype.org/publish/requirements/gpg/
74+ * https://maven.apache.org/plugins/maven-gpg-plugin/usage.html
75+
5976## Setting up GPG
6077You need a key. It is fine to create/use your own, but you'll probably want
6178one with your MaxMind email address.
Original file line number Diff line number Diff line change 174174 <goals >
175175 <goal >sign</goal >
176176 </goals >
177+ <configuration >
178+ <keyname >${gpg.keyname} </keyname >
179+ <passphraseServerId >${gpg.keyname} </passphraseServerId >
180+ </configuration >
177181 </execution >
178182 </executions >
179183 </plugin >
You can’t perform that action at this time.
0 commit comments