Skip to content

Commit d441014

Browse files
committed
Add an extra maven settings file for site to work
maven has a bug if the file doesn't exist in submodules and in this case we are running only from submodule so it needs the rest of the details too.
1 parent e8083fd commit d441014

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2006-2025 the original author or authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
https://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
21+
22+
<servers>
23+
<!-- Used for sonatype snapshots and releases -->
24+
<server>
25+
<id>ossrh</id>
26+
<username>${env.CI_DEPLOY_USERNAME}</username>
27+
<password>${env.CI_DEPLOY_PASSWORD}</password>
28+
</server>
29+
30+
<!-- Used for gh-pages-scm publish via maven-scm-publish-plugin -->
31+
<server>
32+
<id>gh-pages-scm</id>
33+
<configuration>
34+
<scmVersionType>branch</scmVersionType>
35+
<scmVersion>gh-pages</scmVersion>
36+
</configuration>
37+
</server>
38+
39+
<!-- Github deployments (site) -->
40+
<server>
41+
<id>github</id>
42+
<password>${env.GITHUB_TOKEN}</password>
43+
</server>
44+
45+
<!-- NVD API Access (dependency-check-plugin) -->
46+
<server>
47+
<id>nvd</id>
48+
<password>${env.NVD_API_KEY}</password>
49+
</server>
50+
</servers>
51+
52+
</settings>

0 commit comments

Comments
 (0)