|
40 | 40 | <version>3.2.4</version> |
41 | 41 | </parent> |
42 | 42 |
|
43 | | - <profiles> |
| 43 | + <profiles> |
44 | 44 | <profile> |
45 | 45 | <id>default</id> |
46 | 46 | <activation> |
47 | 47 | <activeByDefault>true</activeByDefault> |
48 | | - </activation> |
49 | | - <properties> |
50 | | - <java.version>18</java.version> |
51 | | - </properties> |
52 | | - <build> |
53 | | - <plugins> |
54 | | - <plugin> |
55 | | - <groupId>org.spdx</groupId> |
56 | | - <artifactId>spdx-maven-plugin</artifactId> |
57 | | - <!-- please check for updates on |
58 | | - https://search.maven.org/search?q=a:spdx-maven-plugin --> |
59 | | - <version>${plugin.version.spdx}</version> |
60 | | - <executions> |
61 | | - <execution> |
62 | | - <id>build-spdx</id> |
63 | | - <phase>package</phase> |
64 | | - <goals> |
65 | | - <goal>createSPDX</goal> |
66 | | - </goals> |
67 | | - </execution> |
68 | | - </executions> |
69 | | - <configuration> |
70 | | - <!-- See documentation below for additional configuration --> |
71 | | - <spdxFile>sbom/${project.groupId}_${project.artifactId}-${project.version}.spdx</spdxFile> |
72 | | - </configuration> |
73 | | - </plugin> |
74 | | - <plugin> |
75 | | - <groupId>org.cyclonedx</groupId> |
76 | | - <artifactId>cyclonedx-maven-plugin</artifactId> |
77 | | - <version>${plugin.version.cyclonedx}</version> |
78 | | - <executions> |
79 | | - <execution> |
80 | | - <phase>package</phase> |
81 | | - <goals> |
82 | | - <goal>makeAggregateBom</goal> |
83 | | - </goals> |
84 | | - </execution> |
85 | | - </executions> |
86 | | - <configuration> |
87 | | - <outputName>${project.groupId}_${project.artifactId}-${project.version}.cyclonedx</outputName> |
88 | | - <outputFormat>json</outputFormat> |
89 | | - <outputDirectory>sbom/</outputDirectory> |
90 | | - </configuration> |
91 | | - </plugin> |
| 48 | + </activation> |
| 49 | + <properties> |
| 50 | + <java.version>18</java.version> |
| 51 | + </properties> |
| 52 | + <build> |
| 53 | + <plugins> |
| 54 | + <plugin> |
| 55 | + <groupId>org.spdx</groupId> |
| 56 | + <artifactId>spdx-maven-plugin</artifactId> |
| 57 | + <!-- please check for updates on |
| 58 | + https://search.maven.org/search?q=a:spdx-maven-plugin --> |
| 59 | + <version>${plugin.version.spdx}</version> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <id>build-spdx</id> |
| 63 | + <phase>package</phase> |
| 64 | + <goals> |
| 65 | + <goal>createSPDX</goal> |
| 66 | + </goals> |
| 67 | + </execution> |
| 68 | + </executions> |
| 69 | + <configuration> |
| 70 | + <!-- See documentation below for additional configuration --> |
| 71 | + <spdxFile>sbom/${project.groupId}_${project.artifactId}-${project.version}.spdx</spdxFile> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <groupId>org.cyclonedx</groupId> |
| 76 | + <artifactId>cyclonedx-maven-plugin</artifactId> |
| 77 | + <version>${plugin.version.cyclonedx}</version> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <phase>package</phase> |
| 81 | + <goals> |
| 82 | + <goal>makeAggregateBom</goal> |
| 83 | + </goals> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + <configuration> |
| 87 | + <outputName>${project.groupId}_${project.artifactId}-${project.version}.cyclonedx</outputName> |
| 88 | + <outputFormat>json</outputFormat> |
| 89 | + <outputDirectory>sbom/</outputDirectory> |
| 90 | + </configuration> |
| 91 | + </plugin> |
92 | 92 | <plugin> |
93 | | - <groupId>org.apache.maven.plugins</groupId> |
94 | | - <artifactId>maven-surefire-plugin</artifactId> |
95 | | - <configuration> |
96 | | - <consoleOutputReporter> |
97 | | - <disable>false</disable> |
98 | | - </consoleOutputReporter> |
99 | | - </configuration> |
100 | | - </plugin> |
101 | | - </plugins> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-surefire-plugin</artifactId> |
| 95 | + <configuration> |
| 96 | + <consoleOutputReporter> |
| 97 | + <disable>false</disable> |
| 98 | + </consoleOutputReporter> |
| 99 | + </configuration> |
| 100 | + </plugin> |
| 101 | + </plugins> |
102 | 102 | </build> |
103 | 103 | </profile> |
104 | 104 |
|
105 | | - <profile> |
106 | | - <id>github-action</id> |
107 | | - <build> |
108 | | - <plugins> |
109 | | - <plugin> |
110 | | - <groupId>org.apache.maven.plugins</groupId> |
111 | | - <artifactId>maven-surefire-plugin</artifactId> |
112 | | - <configuration> |
113 | | - <consoleOutputReporter> |
114 | | - <disable>true</disable> |
115 | | - </consoleOutputReporter> |
116 | | - <excludes> |
117 | | - <exclude>**/CouchDbServiceTest.java</exclude> |
118 | | - <exclude>**/AdvisoryWorkflowSemanticVersioningTest.java</exclude> |
119 | | - </excludes> |
120 | | - </configuration> |
121 | | - </plugin> |
122 | | - </plugins> |
123 | | - </build> |
124 | | - <properties> |
125 | | - <java.version>18</java.version> |
126 | | - </properties> |
127 | | - </profile> |
128 | | - </profiles> |
| 105 | + <profile> |
| 106 | + <id>github-action</id> |
| 107 | + <build> |
| 108 | + <plugins> |
| 109 | + <plugin> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-surefire-plugin</artifactId> |
| 112 | + <configuration> |
| 113 | + <consoleOutputReporter> |
| 114 | + <disable>true</disable> |
| 115 | + </consoleOutputReporter> |
| 116 | + <excludes> |
| 117 | + <exclude>**/CouchDbServiceTest.java</exclude> |
| 118 | + <exclude>**/AdvisoryWorkflowSemanticVersioningTest.java</exclude> |
| 119 | + <exclude>**/AdvisorySearchUtilTest.java</exclude> |
| 120 | + </excludes> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + </plugins> |
| 124 | + </build> |
| 125 | + <properties> |
| 126 | + <java.version>18</java.version> |
| 127 | + </properties> |
| 128 | + </profile> |
| 129 | + </profiles> |
129 | 130 |
|
130 | 131 | <dependencies> |
131 | 132 | <dependency> |
|
0 commit comments