Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,24 @@ commands:
- attach_workspace:
at: C:\Users\circleci\project

create_maven_settings:
steps:
- run:
name: Create Maven settings.xml
command: |
mkdir -p ~/.m2
cat > ~/.m2/settings.xml \<< EOF
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
<servers>
<server>
<id>ossindex</id>
<username>${OSSINDEX_USERNAME}</username>
<password>${OSSINDEX_TOKEN}</password>
</server>
</servers>
</settings>
EOF

jobs:
license-check:
parameters:
Expand Down Expand Up @@ -429,6 +447,7 @@ jobs:
compute_size: << parameters.compute_size >>
- install_maven:
compute_size: << parameters.compute_size >>
- create_maven_settings
- restore_cache:
keys:
- << parameters.maven_cache_name_prefix >>-dependency-check-data-{{ checksum "/tmp/dependency-check-data/odc.mv.db" }}
Expand Down
1 change: 1 addition & 0 deletions elemental-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
<nvdApiServerId>nvd-api</nvdApiServerId>

<ossIndexServerId>ossindex</ossIndexServerId>
<!-- The OSS Index Server (https://ossindex.sonatype.org) can sometimes be flaky -->
<ossIndexWarnOnlyOnRemoteErrors>true</ossIndexWarnOnlyOnRemoteErrors>

Expand Down
Loading