File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
88
88
<flatten-maven-plugin .version>1.6.0</flatten-maven-plugin .version>
89
89
<checksum-maven-plugin .version>1.11</checksum-maven-plugin .version>
90
90
<jacoco-maven-plugin .version>0.8.12</jacoco-maven-plugin .version>
91
+ <build-helper-maven-plugin .version>3.6.0</build-helper-maven-plugin .version>
91
92
<cc .code-coverage-ratio>0.80</cc .code-coverage-ratio>
92
93
<!-- <dependency-check-maven.version>8.4.0</dependency-check-maven.version>
93
94
<failBuildOnCVSS.score>8</failBuildOnCVSS.score> -->
@@ -335,6 +336,36 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
335
336
</execution >
336
337
</executions >
337
338
</plugin >
339
+ <plugin >
340
+ <groupId >org.codehaus.mojo</groupId >
341
+ <artifactId >build-helper-maven-plugin</artifactId >
342
+ <version >${build-helper-maven-plugin.version} </version >
343
+ <executions >
344
+ <execution >
345
+ <id >attach-artifacts</id >
346
+ <phase >deploy</phase >
347
+ <goals >
348
+ <goal >attach-artifact</goal >
349
+ </goals >
350
+ <configuration >
351
+ <artifacts >
352
+ <artifact >
353
+ <!-- suppress UnresolvedMavenProperty -->
354
+ <file >${session.executionRootDirectory} /LICENSE.txt</file >
355
+ <type >txt</type >
356
+ <classifier >LICENSE</classifier >
357
+ </artifact >
358
+ <artifact >
359
+ <!-- suppress UnresolvedMavenProperty -->
360
+ <file >${session.executionRootDirectory} /THIRD_PARTY_LICENSES.txt</file >
361
+ <type >txt</type >
362
+ <classifier >THIRD_PARTY_LICENSES</classifier >
363
+ </artifact >
364
+ </artifacts >
365
+ </configuration >
366
+ </execution >
367
+ </executions >
368
+ </plugin >
338
369
<plugin >
339
370
<artifactId >maven-deploy-plugin</artifactId >
340
371
<executions >
Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ echo "Successfully set project version = $VERSION"
46
46
47
47
echo " Deploying project to ${REPOSITORY_URL} /${REPOSITORY_NAME} "
48
48
49
- mvn -q -Drepository.url=" $REPOSITORY_URL " -Drepository.name=" $REPOSITORY_NAME " -DskipTests
49
+ mvn -q deploy -Drepository.url=" $REPOSITORY_URL " -Drepository.name=" $REPOSITORY_NAME " -DskipTests
50
50
51
51
echo " Successfully deployed project to ${REPOSITORY_URL} /${REPOSITORY_NAME} "
You can’t perform that action at this time.
0 commit comments