|
82 | 82 | </plugin>
|
83 | 83 | </plugins>
|
84 | 84 | </pluginManagement>
|
| 85 | + <plugins> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-source-plugin</artifactId> |
| 89 | + <version>2.2.1</version> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <id>attach-sources</id> |
| 93 | + <goals> |
| 94 | + <goal>jar-no-fork</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 102 | + <version>2.9.1</version> |
| 103 | + <executions> |
| 104 | + <execution> |
| 105 | + <id>attach-javadocs</id> |
| 106 | + <goals> |
| 107 | + <goal>jar</goal> |
| 108 | + </goals> |
| 109 | + <configuration> |
| 110 | + <!-- |
| 111 | + TODO-RS: Java 8 is more strict about some javadoc tags. |
| 112 | + We'll need to update quite a few to remove this workaround. |
| 113 | + --> |
| 114 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 115 | + </configuration> |
| 116 | + </execution> |
| 117 | + </executions> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.sonatype.plugins</groupId> |
| 121 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 122 | + <version>1.6.7</version> |
| 123 | + <extensions>true</extensions> |
| 124 | + <configuration> |
| 125 | + <serverId>ossrh</serverId> |
| 126 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 127 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 128 | + </configuration> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <groupId>org.apache.maven.plugins</groupId> |
| 132 | + <artifactId>maven-gpg-plugin</artifactId> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <id>sign-artifacts</id> |
| 136 | + <phase>verify</phase> |
| 137 | + <goals> |
| 138 | + <goal>sign</goal> |
| 139 | + </goals> |
| 140 | + <configuration> |
| 141 | + <keyname>${gpg.sqs.keyname}</keyname> |
| 142 | + <passphraseServerId>gpg.sqs.passphrase</passphraseServerId> |
| 143 | + </configuration> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + </plugins> |
85 | 148 | </build>
|
| 149 | + |
| 150 | + <distributionManagement> |
| 151 | + <snapshotRepository> |
| 152 | + <id>ossrh</id> |
| 153 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 154 | + </snapshotRepository> |
| 155 | + <repository> |
| 156 | + <id>ossrh</id> |
| 157 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 158 | + </repository> |
| 159 | + </distributionManagement> |
86 | 160 | </project>
|
0 commit comments