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
8888 <flatten-maven-plugin .version>1.6.0</flatten-maven-plugin .version>
8989 <checksum-maven-plugin .version>1.11</checksum-maven-plugin .version>
9090 <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>
9192 <cc .code-coverage-ratio>0.80</cc .code-coverage-ratio>
9293 <!-- <dependency-check-maven.version>8.4.0</dependency-check-maven.version>
9394 <failBuildOnCVSS.score>8</failBuildOnCVSS.score> -->
@@ -335,6 +336,36 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
335336 </execution >
336337 </executions >
337338 </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 >
338369 <plugin >
339370 <artifactId >maven-deploy-plugin</artifactId >
340371 <executions >
Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ echo "Successfully set project version = $VERSION"
4646
4747echo " Deploying project to ${REPOSITORY_URL} /${REPOSITORY_NAME} "
4848
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
5050
5151echo " Successfully deployed project to ${REPOSITORY_URL} /${REPOSITORY_NAME} "
You can’t perform that action at this time.
0 commit comments