|
43 | 43 | <maven.compiler.target>1.8</maven.compiler.target> |
44 | 44 | </properties> |
45 | 45 |
|
| 46 | + <distributionManagement> |
| 47 | + <snapshotRepository> |
| 48 | + <id>ossrh</id> |
| 49 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 50 | + </snapshotRepository> |
| 51 | + <repository> |
| 52 | + <id>ossrh</id> |
| 53 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 54 | + </repository> |
| 55 | + </distributionManagement> |
| 56 | + |
46 | 57 | <build> |
47 | 58 | <directory>${project.basedir}/build</directory> |
48 | 59 | <resources> |
|
136 | 147 | </execution> |
137 | 148 | </executions> |
138 | 149 | </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-gpg-plugin</artifactId> |
| 153 | + <version>3.0.1</version> |
| 154 | + <executions> |
| 155 | + <execution> |
| 156 | + <id>sign-artifacts</id> |
| 157 | + <phase>verify</phase> |
| 158 | + <goals> |
| 159 | + <goal>sign</goal> |
| 160 | + </goals> |
| 161 | + <configuration> |
| 162 | + <keyname>${gpg.keyname}</keyname> |
| 163 | + <passphraseServerId>${gpg.keyname}</passphraseServerId> |
| 164 | + <skip>true</skip> <!-- don't have a key to sign with for CI; set to false when releasing --> |
| 165 | + </configuration> |
| 166 | + </execution> |
| 167 | + </executions> |
| 168 | + </plugin> |
| 169 | + <plugin> |
| 170 | + <groupId>org.sonatype.plugins</groupId> |
| 171 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 172 | + <version>1.6.7</version> |
| 173 | + <extensions>true</extensions> |
| 174 | + <configuration> |
| 175 | + <serverId>ossrh</serverId> |
| 176 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 177 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 178 | + </configuration> |
| 179 | + </plugin> |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-release-plugin</artifactId> |
| 183 | + <version>2.5.3</version> |
| 184 | + <configuration> |
| 185 | + <checkModificationExcludes> |
| 186 | + <checkModificationExclude>pom.xml</checkModificationExclude> |
| 187 | + </checkModificationExcludes> |
| 188 | + </configuration> |
| 189 | + </plugin> |
139 | 190 | </plugins> |
140 | 191 | </build> |
141 | 192 |
|
|
0 commit comments