|
7 | 7 | <name>Beam SDK for Astra</name> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 | <version>0.2-SNAPSHOT</version> |
| 10 | + <url>https://github.com/clun/beam-sdks-java-io-astra</url> |
10 | 11 |
|
11 | 12 | <properties> |
12 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
28 | 29 | <version.maven.plugin.dependency>3.5.0</version.maven.plugin.dependency> |
29 | 30 | <version.maven.plugin.enforcer>3.3.0</version.maven.plugin.enforcer> |
30 | 31 | <version.maven.plugin.exec>1.6.0</version.maven.plugin.exec> |
| 32 | + <version.maven.plugin.gpg>3.0.1</version.maven.plugin.gpg> |
31 | 33 | <version.maven.plugin.jar>3.3.0</version.maven.plugin.jar> |
32 | 34 | <version.maven.plugin.javadoc>3.4.1</version.maven.plugin.javadoc> |
33 | 35 | <version.maven.plugin.license>2.0.0</version.maven.plugin.license> |
| 36 | + <version.maven.plugin.nexus>1.6.8</version.maven.plugin.nexus> |
34 | 37 | <version.maven.plugin.release>2.5.2</version.maven.plugin.release> |
35 | 38 | <version.maven.plugin.resources>3.3.1</version.maven.plugin.resources> |
36 | 39 | <version.maven.plugin.shade>3.4.1</version.maven.plugin.shade> |
| 40 | + <version.maven.plugin.source>2.2.1</version.maven.plugin.source> |
37 | 41 | <version.maven.plugin.surefire>2.22.2</version.maven.plugin.surefire> |
38 | 42 | </properties> |
39 | 43 |
|
|
135 | 139 | <configuration> |
136 | 140 | <source>${maven.plugin.compiler.source}</source> |
137 | 141 | <target>${maven.plugin.compiler.target}</target> |
| 142 | + <showWarnings>false</showWarnings> |
| 143 | + </configuration> |
| 144 | + </plugin> |
| 145 | + |
| 146 | + <plugin> |
| 147 | + <artifactId>maven-source-plugin</artifactId> |
| 148 | + <version>${version.maven.plugin.source}</version> |
| 149 | + <executions> |
| 150 | + <execution> |
| 151 | + <id>attach-sources</id> |
| 152 | + <goals> |
| 153 | + <goal>jar-no-fork</goal> |
| 154 | + </goals> |
| 155 | + </execution> |
| 156 | + </executions> |
| 157 | + </plugin> |
| 158 | + |
| 159 | + <plugin> |
| 160 | + <artifactId>maven-release-plugin</artifactId> |
| 161 | + <version>${version.maven.plugin.release}</version> |
| 162 | + <configuration> |
| 163 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 164 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 165 | + <useReleaseProfile>false</useReleaseProfile> |
| 166 | + <releaseProfiles>release</releaseProfiles> |
| 167 | + <goals>deploy</goals> |
138 | 168 | </configuration> |
139 | 169 | </plugin> |
140 | 170 |
|
|
144 | 174 | <version>${version.maven.plugin.dependency}</version> |
145 | 175 | </plugin> |
146 | 176 |
|
| 177 | + <plugin> |
| 178 | + <groupId>org.sonatype.plugins</groupId> |
| 179 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 180 | + <version>${version.maven.plugin.nexus}</version> |
| 181 | + <extensions>true</extensions> |
| 182 | + <configuration> |
| 183 | + <serverId>ossrh</serverId> |
| 184 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 185 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 186 | + <skipLocalStaging>true</skipLocalStaging> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + |
| 190 | + <plugin> |
| 191 | + <groupId>org.apache.maven.plugins</groupId> |
| 192 | + <artifactId>maven-gpg-plugin</artifactId> |
| 193 | + <version>${version.maven.plugin.gpg}</version> |
| 194 | + </plugin> |
| 195 | + |
147 | 196 | <plugin> |
148 | 197 | <groupId>org.codehaus.mojo</groupId> |
149 | 198 | <artifactId>license-maven-plugin</artifactId> |
|
196 | 245 |
|
197 | 246 | </build> |
198 | 247 |
|
| 248 | + <profiles> |
| 249 | + <profile> |
| 250 | + <id>release</id> |
| 251 | + <build> |
| 252 | + <plugins> |
| 253 | + <plugin> |
| 254 | + <groupId>org.apache.maven.plugins</groupId> |
| 255 | + <artifactId>maven-gpg-plugin</artifactId> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>sign-artifacts</id> |
| 259 | + <phase>verify</phase> |
| 260 | + <goals> |
| 261 | + <goal>sign</goal> |
| 262 | + </goals> |
| 263 | + </execution> |
| 264 | + </executions> |
| 265 | + </plugin> |
| 266 | + </plugins> |
| 267 | + </build> |
| 268 | + </profile> |
| 269 | + </profiles> |
| 270 | + |
199 | 271 | <organization> |
200 | 272 | <name>DataStax</name> |
201 | 273 | <url>http://datastax.com</url> |
|
0 commit comments