|
30 | 30 | <url>https://github.com/crawlab-team/crawlab-java-sdk</url>
|
31 | 31 | </scm>
|
32 | 32 |
|
| 33 | + <distributionManagement> |
| 34 | + <repository> |
| 35 | + <id>central</id> |
| 36 | + <name>Central Repository</name> |
| 37 | + <url>https://central.sonatype.com/content/repositories/releases</url> |
| 38 | + </repository> |
| 39 | + <snapshotRepository> |
| 40 | + <id>central</id> |
| 41 | + <name>Central Snapshots</name> |
| 42 | + <url>https://central.sonatype.com/content/repositories/snapshots</url> |
| 43 | + </snapshotRepository> |
| 44 | + </distributionManagement> |
| 45 | + |
33 | 46 | <properties>
|
34 | 47 | <maven.compiler.source>17</maven.compiler.source>
|
35 | 48 | <maven.compiler.target>17</maven.compiler.target>
|
|
55 | 68 | <id>release</id>
|
56 | 69 | <build>
|
57 | 70 | <plugins>
|
| 71 | + <plugin> |
| 72 | + <groupId>org.sonatype.central</groupId> |
| 73 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 74 | + <version>0.6.0</version> |
| 75 | + <extensions>true</extensions> |
| 76 | + <configuration> |
| 77 | + <publishingServerId>central</publishingServerId> |
| 78 | + <autoPublish>true</autoPublish> |
| 79 | + <waitUntil>published</waitUntil> |
| 80 | + </configuration> |
| 81 | + </plugin> |
58 | 82 | <plugin>
|
59 | 83 | <groupId>org.apache.maven.plugins</groupId>
|
60 | 84 | <artifactId>maven-source-plugin</artifactId>
|
|
118 | 142 | <id>snapshot</id>
|
119 | 143 | <build>
|
120 | 144 | <plugins>
|
| 145 | + <plugin> |
| 146 | + <groupId>org.sonatype.central</groupId> |
| 147 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 148 | + <version>0.6.0</version> |
| 149 | + <extensions>true</extensions> |
| 150 | + <configuration> |
| 151 | + <publishingServerId>central</publishingServerId> |
| 152 | + <autoPublish>true</autoPublish> |
| 153 | + <waitUntil>published</waitUntil> |
| 154 | + </configuration> |
| 155 | + </plugin> |
121 | 156 | <plugin>
|
122 | 157 | <groupId>org.apache.maven.plugins</groupId>
|
123 | 158 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments