Skip to content

Commit

Permalink
Add cyclonedx
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Jul 11, 2024
1 parent 0d45ab0 commit 5d0caf6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions embedded-db-plugin-jupiter-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<properties>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<cyclonedx.skip>true</cyclonedx.skip>
</properties>

<dependencies>
Expand Down
30 changes: 23 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<jackson-bom.version>2.17.2</jackson-bom.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<java.version>11</java.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.target>${java.version}</maven.compiler.target>
<jdbi.version>2.78</jdbi.version>
<junit.version>4.13.2</junit.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version>
Expand All @@ -39,6 +41,7 @@
<spring-jdbc.version>5.3.31</spring-jdbc.version>
<sql2o.version>1.6.0</sql2o.version>
<hamcrest.version>2.2</hamcrest.version>
<cyclonedx-maven-plugin.version>2.8.0</cyclonedx-maven-plugin.version>
</properties>
<name>${project.artifactId}</name>
<description>Library that provides a JUnit rule for setting up unit test using an embedded in-memory database (H2)
Expand All @@ -52,13 +55,13 @@
<roles>
<role>creator</role>
</roles>
<url>http://zapodot.org</url>
<url>https://zapodot.org</url>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<name>Apache-2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
Expand Down Expand Up @@ -268,6 +271,11 @@
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down Expand Up @@ -316,10 +324,6 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
Expand Down Expand Up @@ -402,6 +406,18 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down

0 comments on commit 5d0caf6

Please sign in to comment.