|
12 | 12 | <modules> |
13 | 13 | <module>scylla-cdc-base</module> |
14 | 14 | <module>scylla-cdc-lib</module> |
15 | | -<!-- |
16 | | - Find a way to disable more than one plugin via central-publishing-maven-plugin configuration. |
17 | | -
|
18 | 15 | <module>scylla-cdc-replicator</module> |
19 | 16 | <module>scylla-cdc-printer</module> |
20 | | ---> |
21 | 17 | <module>scylla-cdc-driver3</module> |
22 | 18 | </modules> |
23 | 19 |
|
|
27 | 23 | <maven.compiler.target>11</maven.compiler.target> |
28 | 24 | <flogger.version>0.8</flogger.version> |
29 | 25 | <gpg.passphrase/> |
| 26 | + <release.autopublish>false</release.autopublish> |
30 | 27 | </properties> |
31 | 28 |
|
32 | 29 | <dependencyManagement> |
|
86 | 83 | <configuration> |
87 | 84 | <tagNameFormat>scylla-cdc-@{project.version}</tagNameFormat> |
88 | 85 | <autoVersionSubmodules>true</autoVersionSubmodules> |
89 | | - <!-- useReleaseProfile>false</useReleaseProfile> |
90 | 86 | <releaseProfiles>release</releaseProfiles> |
91 | | - <goals>deploy</goals--> |
| 87 | + <useReleaseProfile>false</useReleaseProfile> |
92 | 88 | <localCheckout>true</localCheckout> |
93 | 89 | <pushChanges>false</pushChanges> |
94 | | - <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
| 90 | + <arguments>-Dgpg.passphrase=${gpg.passphrase} -Drelease.autopublish=${release.autopublish}</arguments> |
95 | 91 | </configuration> |
96 | 92 | <dependencies> |
97 | 93 | <dependency> |
|
104 | 100 | </plugins> |
105 | 101 | </pluginManagement> |
106 | 102 | <plugins> |
107 | | - <plugin> |
108 | | - <groupId>org.sonatype.central</groupId> |
109 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
110 | | - <version>0.7.0</version> |
111 | | - <extensions>true</extensions> |
112 | | - <configuration> |
113 | | - <publishingServerId>central</publishingServerId> |
114 | | - <autoPublish>true</autoPublish> |
115 | | - <skipPublishing>false</skipPublishing> |
116 | | - <waitForPublishCompletion>true</waitForPublishCompletion> |
117 | | - <waitUntil>validated</waitUntil> |
118 | | - </configuration> |
119 | | - </plugin> |
120 | 103 | <plugin> |
121 | 104 | <groupId>org.apache.maven.plugins</groupId> |
122 | 105 | <artifactId>maven-surefire-plugin</artifactId> |
|
142 | 125 | <artifactId>maven-release-plugin</artifactId> |
143 | 126 | <version>3.1.1</version> |
144 | 127 | </plugin> |
| 128 | + <plugin> |
| 129 | + <groupId>org.sonatype.central</groupId> |
| 130 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 131 | + <version>0.8.0</version> |
| 132 | + <extensions>true</extensions> |
| 133 | + <configuration> |
| 134 | + <publishingServerId>central</publishingServerId> |
| 135 | + <excludeArtifacts>scylla-cdc-printer,scylla-cdc-replicator</excludeArtifacts> |
| 136 | + <autoPublish>${release.autopublish}</autoPublish> |
| 137 | + <waitUntil>validated</waitUntil> |
| 138 | + </configuration> |
| 139 | + </plugin> |
145 | 140 | </plugins> |
146 | 141 | </build> |
147 | 142 |
|
|
163 | 158 | <plugin> |
164 | 159 | <groupId>org.apache.maven.plugins</groupId> |
165 | 160 | <artifactId>maven-gpg-plugin</artifactId> |
166 | | - <version>3.2.4</version> |
| 161 | + <version>3.2.7</version> |
167 | 162 | <executions> |
168 | 163 | <execution> |
169 | 164 | <id>sign-artifacts</id> |
|
193 | 188 | </execution> |
194 | 189 | </executions> |
195 | 190 | </plugin> |
196 | | - <!-- |
197 | | - TODO: re-enable when there are javadocs. |
198 | 191 | <plugin> |
199 | 192 | <artifactId>maven-javadoc-plugin</artifactId> |
200 | 193 | <executions> |
|
206 | 199 | </execution> |
207 | 200 | </executions> |
208 | 201 | </plugin> |
209 | | - --> |
210 | 202 | <plugin> |
211 | 203 | <groupId>org.apache.maven.plugins</groupId> |
212 | 204 | <artifactId>maven-gpg-plugin</artifactId> |
213 | | - <version>3.2.4</version> |
214 | 205 | <executions> |
215 | 206 | <execution> |
216 | 207 | <id>sign-artifacts</id> |
|
0 commit comments