|
130 | 130 | <plugin> |
131 | 131 | <groupId>org.apache.maven.plugins</groupId> |
132 | 132 | <artifactId>maven-release-plugin</artifactId> |
133 | | - <version>3.0.0-M7</version> |
| 133 | + <version>3.0.1</version> |
134 | 134 | <configuration> |
135 | 135 | <mavenExecutorId>forked-path</mavenExecutorId> |
136 | 136 | <useReleaseProfile>false</useReleaseProfile> |
|
152 | 152 | <plugin> |
153 | 153 | <groupId>org.apache.maven.plugins</groupId> |
154 | 154 | <artifactId>maven-enforcer-plugin</artifactId> |
155 | | - <version>3.1.0</version> |
| 155 | + <version>3.4.1</version> |
156 | 156 | </plugin> |
157 | 157 | <plugin> |
158 | 158 | <groupId>org.apache.maven.plugins</groupId> |
|
167 | 167 | <plugin> |
168 | 168 | <groupId>org.apache.maven.plugins</groupId> |
169 | 169 | <artifactId>maven-javadoc-plugin</artifactId> |
170 | | - <version>3.4.1</version> |
| 170 | + <version>3.6.0</version> |
171 | 171 | </plugin> |
172 | 172 | <plugin> |
173 | 173 | <groupId>org.apache.maven.plugins</groupId> |
174 | 174 | <artifactId>maven-gpg-plugin</artifactId> |
175 | 175 | <!-- Older versions have issues with the gpg passphrase --> |
176 | | - <version>3.0.1</version> |
| 176 | + <version>3.1.0</version> |
| 177 | + </plugin> |
| 178 | + <plugin> |
| 179 | + <groupId>org.cyclonedx</groupId> |
| 180 | + <artifactId>cyclonedx-maven-plugin</artifactId> |
| 181 | + <version>2.7.9</version> |
| 182 | + </plugin> |
| 183 | + <plugin> |
| 184 | + <groupId>org.asciidoctor</groupId> |
| 185 | + <artifactId>asciidoctor-maven-plugin</artifactId> |
| 186 | + <version>2.2.4</version> |
177 | 187 | </plugin> |
178 | 188 | </plugins> |
179 | 189 | </pluginManagement> |
| 190 | + |
180 | 191 | </build> |
181 | 192 |
|
182 | 193 | <profiles> |
| 194 | + |
| 195 | + <profile> |
| 196 | + <!-- Generates SBOM. Skip with '-DskipSBOM'.--> |
| 197 | + <id>sbom</id> |
| 198 | + <activation> |
| 199 | + <property> |
| 200 | + <name>!skipSBOM</name> |
| 201 | + </property> |
| 202 | + </activation> |
| 203 | + <build> |
| 204 | + <plugins> |
| 205 | + <plugin> |
| 206 | + <groupId>org.cyclonedx</groupId> |
| 207 | + <artifactId>cyclonedx-maven-plugin</artifactId> |
| 208 | + <configuration> |
| 209 | + <schemaVersion>1.4</schemaVersion> |
| 210 | + <projectType>library</projectType> |
| 211 | + </configuration> |
| 212 | + <executions> |
| 213 | + <execution> |
| 214 | + <phase>package</phase> |
| 215 | + <goals> |
| 216 | + <goal>makeAggregateBom</goal> |
| 217 | + </goals> |
| 218 | + </execution> |
| 219 | + </executions> |
| 220 | + </plugin> |
| 221 | + </plugins> |
| 222 | + </build> |
| 223 | + </profile> |
| 224 | + |
183 | 225 | <!-- |
184 | 226 | This profile provides configuration for the plugins that are required are in |
185 | 227 | order to deploy non SNAPSHOT artifacts. |
|
0 commit comments