|
21 | 21 | </dependency> |
22 | 22 | </dependencies> |
23 | 23 |
|
24 | | - <build> |
25 | | - <plugins> |
26 | | - <plugin> |
27 | | - <groupId>org.sonatype.plugins</groupId> |
28 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
29 | | - <version>${nexus-staging-maven-plugin.version}</version> |
30 | | - <extensions>true</extensions> |
31 | | - <configuration> |
32 | | - <serverId>ossrh</serverId> |
33 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
34 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
35 | | - </configuration> |
36 | | - </plugin> |
37 | | - |
38 | | - <plugin> |
39 | | - <groupId>org.apache.maven.plugins</groupId> |
40 | | - <artifactId>maven-source-plugin</artifactId> |
41 | | - <executions> |
42 | | - <execution> |
43 | | - <id>attach-sources</id> |
44 | | - <goals> |
45 | | - <goal>jar</goal> |
46 | | - </goals> |
47 | | - </execution> |
48 | | - </executions> |
49 | | - </plugin> |
50 | | - |
51 | | - <plugin> |
52 | | - <groupId>org.apache.maven.plugins</groupId> |
53 | | - <artifactId>maven-javadoc-plugin</artifactId> |
54 | | - <executions> |
55 | | - <execution> |
56 | | - <id>attach-javadocs</id> |
57 | | - <goals> |
58 | | - <goal>jar</goal> |
59 | | - </goals> |
60 | | - </execution> |
61 | | - </executions> |
62 | | - <configuration> |
63 | | - <additionalparam>-Xdoclint:none</additionalparam> |
64 | | - </configuration> |
65 | | - </plugin> |
66 | | - |
67 | | - </plugins> |
68 | | - </build> |
| 24 | + <distributionManagement> |
| 25 | + <snapshotRepository> |
| 26 | + <id>ossrh</id> |
| 27 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 28 | + </snapshotRepository> |
| 29 | + <repository> |
| 30 | + <id>ossrh</id> |
| 31 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 32 | + </repository> |
| 33 | + </distributionManagement> |
69 | 34 |
|
70 | 35 | <profiles> |
71 | 36 | <profile> |
|
85 | 50 | </execution> |
86 | 51 | </executions> |
87 | 52 | </plugin> |
| 53 | + |
| 54 | + <plugin> |
| 55 | + <groupId>org.sonatype.plugins</groupId> |
| 56 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 57 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 58 | + <extensions>true</extensions> |
| 59 | + <configuration> |
| 60 | + <serverId>ossrh</serverId> |
| 61 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 62 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 63 | + </configuration> |
| 64 | + </plugin> |
| 65 | + |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-source-plugin</artifactId> |
| 69 | + <executions> |
| 70 | + <execution> |
| 71 | + <id>attach-sources</id> |
| 72 | + <goals> |
| 73 | + <goal>jar</goal> |
| 74 | + </goals> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <id>attach-javadocs</id> |
| 85 | + <goals> |
| 86 | + <goal>jar</goal> |
| 87 | + </goals> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + <configuration> |
| 91 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 92 | + </configuration> |
| 93 | + </plugin> |
88 | 94 | </plugins> |
89 | 95 | </build> |
90 | 96 | </profile> |
|
0 commit comments