|
181 | 181 | </resource> |
182 | 182 | </resources> |
183 | 183 | <plugins> |
| 184 | + <plugin> |
| 185 | + <groupId>org.sonatype.plugins</groupId> |
| 186 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 187 | + </plugin> |
184 | 188 | <plugin> |
185 | 189 | <groupId>org.jacoco</groupId> |
186 | 190 | <artifactId>jacoco-maven-plugin</artifactId> |
|
241 | 245 | </execution> |
242 | 246 | </executions> |
243 | 247 | </plugin> |
| 248 | + <plugin> |
| 249 | + <groupId>org.apache.maven.plugins</groupId> |
| 250 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 251 | + <configuration> |
| 252 | + <sourcepath>${project.build.directory}/delombok;${project.build.directory}/generated-sources/protobuf</sourcepath> |
| 253 | + <source>${java.version}</source> |
| 254 | + <quiet>true</quiet> |
| 255 | + <excludePackageNames>salesforce.cdp.hyperdb.v1.*</excludePackageNames> |
| 256 | + <outputDirectory>${project.build.directory}/apidocs</outputDirectory> |
| 257 | + <failOnWarnings>false</failOnWarnings> |
| 258 | + </configuration> |
| 259 | + </plugin> |
| 260 | + <plugin> |
| 261 | + <groupId>com.googlecode.maven-download-plugin</groupId> |
| 262 | + <artifactId>download-maven-plugin</artifactId> |
| 263 | + <version>1.11.3</version> |
| 264 | + <executions> |
| 265 | + <execution> |
| 266 | + <id>download-hyper-cpp</id> |
| 267 | + <goals> |
| 268 | + <goal>wget</goal> |
| 269 | + </goals> |
| 270 | + <phase>process-test-resources</phase> |
| 271 | + <configuration> |
| 272 | + <url>${hyper-download-url}.${hyperapi.version}.zip</url> |
| 273 | + <unpack>true</unpack> |
| 274 | + <outputDirectory>${download.cache.directory}/hyper-unzipped</outputDirectory> |
| 275 | + </configuration> |
| 276 | + </execution> |
| 277 | + </executions> |
| 278 | + </plugin> |
| 279 | + <plugin> |
| 280 | + <groupId>org.apache.maven.plugins</groupId> |
| 281 | + <artifactId>maven-antrun-plugin</artifactId> |
| 282 | + <version>3.1.0</version> |
| 283 | + <executions> |
| 284 | + <execution> |
| 285 | + <id>flatten-hyperd</id> |
| 286 | + <goals> |
| 287 | + <goal>run</goal> |
| 288 | + </goals> |
| 289 | + <phase>process-test-resources</phase> |
| 290 | + <configuration> |
| 291 | + <target> |
| 292 | + <copy overwrite="false" todir="${hyperd.directory}"> |
| 293 | + <fileset dir="${download.cache.directory}/hyper-unzipped"> |
| 294 | + <include name="**/lib/hyper/hyperd"/> |
| 295 | + <include name="**/lib/hyper/hyperd.exe"/> |
| 296 | + <include name="**/lib/**/*.dylib"/> |
| 297 | + <include name="**/lib/**/*.dll"/> |
| 298 | + <include name="**/lib/**/*.so"/> |
| 299 | + </fileset> |
| 300 | + <flattenmapper/> |
| 301 | + </copy> |
| 302 | + </target> |
| 303 | + </configuration> |
| 304 | + </execution> |
| 305 | + <execution> |
| 306 | + <id>chmod-hyperd</id> |
| 307 | + <goals> |
| 308 | + <goal>run</goal> |
| 309 | + </goals> |
| 310 | + <phase>process-test-resources</phase> |
| 311 | + <configuration> |
| 312 | + <target> |
| 313 | + <chmod perm="700"> |
| 314 | + <fileset dir="${hyperd.directory}"> |
| 315 | + <include name="**/hyperd"/> |
| 316 | + </fileset> |
| 317 | + </chmod> |
| 318 | + </target> |
| 319 | + </configuration> |
| 320 | + </execution> |
| 321 | + </executions> |
| 322 | + </plugin> |
| 323 | + <plugin> |
| 324 | + <groupId>org.assertj</groupId> |
| 325 | + <artifactId>assertj-assertions-generator-maven-plugin</artifactId> |
| 326 | + <version>2.2.0</version> |
| 327 | + <configuration> |
| 328 | + <classes> |
| 329 | + <class>com.salesforce.datacloud.jdbc.core.accessor.QueryJDBCAccessor</class> |
| 330 | + </classes> |
| 331 | + <hierarchical>false</hierarchical> |
| 332 | + <targetDir>src/test/java</targetDir> |
| 333 | + <cleanTargetDir>false</cleanTargetDir> |
| 334 | + <generateAssertions>true</generateAssertions> |
| 335 | + <generateJUnitSoftAssertions>false</generateJUnitSoftAssertions> |
| 336 | + <generateBddAssertions>false</generateBddAssertions> |
| 337 | + <generateSoftAssertions>true</generateSoftAssertions> |
| 338 | + </configuration> |
| 339 | + </plugin> |
244 | 340 | </plugins> |
245 | 341 | </build> |
246 | 342 |
|
|
0 commit comments