Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 73c53a1

Browse files
committed
settings.xml
1 parent a78c4f7 commit 73c53a1

File tree

3 files changed

+32
-10
lines changed

3 files changed

+32
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: 📦 Upload artifact
2323
uses: actions/upload-artifact@v2
2424
with:
25-
name: rexedia
25+
name: simplehttpserver
2626
path: |
2727
**/target/pom.xml
2828
**/target/*.jar
@@ -36,4 +36,4 @@ jobs:
3636
repo-token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: 🚀 Deploy to Maven
39-
run: mvn deploy -DskipTests -Dregistry=https://maven.pkg.github.com/Ktt-Development -Dtoken=${{ secrets.REPO_AND_PACKAGES }}
39+
run: mvn -B deploy -DskipTests

.mvn/settings.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
6+
<activeProfiles>
7+
<activeProfile>github</activeProfile>
8+
</activeProfiles>
9+
10+
<profiles>
11+
<profile>
12+
<id>github</id>
13+
<repositories>
14+
<repository>
15+
<id>github</id>
16+
<name>GitHub Ktt-Development Apache Maven Packages</name>
17+
<url>https://maven.pkg.github.com/Ktt-Development/simplehttpserver</url>
18+
</repository>
19+
</repositories>
20+
</profile>
21+
</profiles>
22+
23+
<servers>
24+
<server>
25+
<id>github</id>
26+
<username>Katsute</username>
27+
<password>${{ secrets.REPO_AND_PACKAGES }}</password>
28+
</server>
29+
</servers>
30+
</settings>

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
<tag>HEAD</tag>
1919
</scm>
2020

21-
<distributionManagement>
22-
<repository>
23-
<id>github</id>
24-
<name>GitHub Ktt-Development Apache Maven Packages</name>
25-
<url>https://maven.pkg.github.com/Ktt-Development/${project.artifactId}</url>
26-
</repository>
27-
</distributionManagement>
28-
2921
<properties>
3022
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3123
</properties>

0 commit comments

Comments
 (0)