-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cyclonedx plugin configuration for generating SBOMs (#3014)
- Loading branch information
1 parent
d4a1fc4
commit 9a4fb82
Showing
2 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | ||
https://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<profiles> | ||
<profile> | ||
<!-- | ||
cyclonedx does not pick up the repos defined in our pom, so we have to redefine them in the settings.xml. | ||
This file can be used directly with `mvn -s build/cyclonedx-settings.xml`, or the contents can be merged | ||
with a user's `~/.m2/settings.xml`. | ||
--> | ||
<id>cyclonedx</id> | ||
<repositories> | ||
<!-- include central so that it is searched before our alternate repos --> | ||
<repository> | ||
<id>central</id> | ||
<name>Maven Repository Switchboard</name> | ||
<layout>default</layout> | ||
<url>https://repo1.maven.org/maven2</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
<!-- geotools --> | ||
<repository> | ||
<id>osgeo</id> | ||
<url>https://repo.osgeo.org/repository/release</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
<!-- confluent --> | ||
<repository> | ||
<id>confluent</id> | ||
<url>https://packages.confluent.io/maven/</url> | ||
</repository> | ||
<!-- nightly geomesa snapshots --> | ||
<repository> | ||
<id>locationtech-snapshots</id> | ||
<url>https://repo.eclipse.org/content/groups/snapshots</url> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
<!-- nightly geotools snapshots --> | ||
<repository> | ||
<id>osgeo-snapshots</id> | ||
<url>https://repo.osgeo.org/repository/snapshot</url> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
</profiles> | ||
</settings> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters