Skip to content

Commit

Permalink
refactoring mvn warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
  • Loading branch information
senivam committed May 16, 2024
1 parent effa557 commit 14c5c43
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 13 deletions.
2 changes: 1 addition & 1 deletion etc/jenkins/jenkins_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

export DEBUG=true

mvn -V -U -B -e clean install glassfish-copyright:check -Dcopyright.quiet=false
mvn -V -U -B -e clean install glassfish-copyright:check -Dcopyright.quiet=false -DskipSBOM
52 changes: 40 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,10 @@
junit.jupiter.execution.parallel.mode.default=same_thread
</configurationParameters>
</properties>
<systemProperties>
<property>
<name>jersey.config.test.container.port</name>
<value>${jersey.config.test.container.port}</value>
</property>
</systemProperties>
<systemPropertyVariables>
<jersey.config.test.container.port>${jersey.config.test.container.port}
</jersey.config.test.container.port>
</systemPropertyVariables>
<threadCount>124</threadCount>
</configuration>
<dependencies>
Expand Down Expand Up @@ -636,12 +634,10 @@
<skipTests>${skip.tests}</skipTests>
<skipITs>${skip.tests}</skipITs>
<argLine>${failsafe.coverage.argline}</argLine>
<systemProperties>
<property>
<name>jersey.config.test.container.port</name>
<value>${jersey.config.test.container.port}</value>
</property>
</systemProperties>
<systemPropertyVariables>
<jersey.config.test.container.port>${jersey.config.test.container.port}
</jersey.config.test.container.port>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -1186,6 +1182,37 @@
</site>
</distributionManagement>
</profile>
<profile>
<id>sbom</id>
<activation>
<property>
<name>!skipSBOM</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx.mvn.plugin.version}</version>
<inherited>true</inherited>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
<configuration>
<!-- <schemaVersion>1.4</schemaVersion>-->
<projectType>framework</projectType>
<excludeTestProject>true</excludeTestProject>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sonar</id>
<properties>
Expand Down Expand Up @@ -2138,6 +2165,7 @@
but the jersey-common module which has to have the separate version for OSGi reasons.
-->
<compiler.common.mvn.plugin.version>3.9.0</compiler.common.mvn.plugin.version>
<cyclonedx.mvn.plugin.version>2.8.0</cyclonedx.mvn.plugin.version>
<dependency.mvn.plugin.version>3.6.1</dependency.mvn.plugin.version>
<deploy.mvn.plugin.version>3.1.2</deploy.mvn.plugin.version>
<ear.mvn.plugin.version>3.3.0</ear.mvn.plugin.version>
Expand Down

0 comments on commit 14c5c43

Please sign in to comment.