Skip to content

Commit 5b2e585

Browse files
author
Matt
committed
moving settings.xml to classpath root
1 parent 3abf706 commit 5b2e585

File tree

3 files changed

+35
-11
lines changed

3 files changed

+35
-11
lines changed

.github/workflows/github-action-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ jobs:
3737
env:
3838
GITHUB_USERNAME: makbn
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
run: mvn --settings .mvn/settings.xml deploy
40+
run: mvn -e --settings settings.xml deploy
4141

.mvn/settings.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

settings.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
3+
4+
<activeProfiles>
5+
<activeProfile>github</activeProfile>
6+
</activeProfiles>
7+
8+
<profiles>
9+
<profile>
10+
<id>github</id>
11+
<repositories>
12+
<repository>
13+
<id>central</id>
14+
<url>https://repo1.maven.org/maven2</url>
15+
</repository>
16+
<repository>
17+
<id>github</id>
18+
<url>https://maven.pkg.github.com/makbn/java_leaflet</url>
19+
<snapshots>
20+
<enabled>true</enabled>
21+
</snapshots>
22+
</repository>
23+
</repositories>
24+
</profile>
25+
</profiles>
26+
27+
<servers>
28+
<server>
29+
<id>github</id>
30+
<username>${env.GITHUB_ACTOR}</username>
31+
<password>${env.GITHUB_TOKEN}</password>
32+
</server>
33+
</servers>
34+
</settings>

0 commit comments

Comments
 (0)