]> source.dussan.org Git - aspectj.git/commitdiff
Remove obsolete .mvn/settings-read-github-packages.xml 51/head
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 15 May 2021 01:38:12 +0000 (08:38 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 15 May 2021 01:38:12 +0000 (08:38 +0700)
The GitHub workflow also does not reference it anymore, which I forgot
to do earlier.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
.github/workflows/maven.yml
.mvn/settings-read-github-packages.xml [deleted file]

index 585f75ac3bf79f1784b127d980f77ca655003395..b4d9fe61512b2468ff9fcdd09730515580f151ff 100644 (file)
@@ -32,11 +32,11 @@ jobs:
           ant -version
 
       - name: Compile + package code
-        run: ./mvnw -B --settings .mvn/settings-read-github-packages.xml --file pom.xml -DskipTests package
+        run: ./mvnw -B --file pom.xml -DskipTests package
 
       - name: Run Tests
         # Tests in module ajde call Swing/AWT classes. Without frame buffer they throw
         # HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
         uses: GabrielBB/xvfb-action@v1
         with:
-          run: ./mvnw -B --settings .mvn/settings-read-github-packages.xml --file pom.xml -Daspectj.tests.verbose=false verify
+          run: ./mvnw -B --file pom.xml -Daspectj.tests.verbose=false verify
diff --git a/.mvn/settings-read-github-packages.xml b/.mvn/settings-read-github-packages.xml
deleted file mode 100644 (file)
index fa1465a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<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">
-
-<!--
-  GitHub Actions currently requires authentication even for read-only access to Maven artifacts stored in GitHub
-  Packages. There is no such thing as public package repositories without authentication. See here:
-  https://github.community/t/how-to-allow-unauthorised-read-access-to-github-packages-maven-repository/115517/4
-
-  How to use it:
-  https://github.com/jcansdale-test/maven-consume
-
-  How to XML-encode an access token online (no problem to use the website, it is meant for public access anyway):
-  https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=none
--->
-
-  <servers>
-    <server>
-      <id>github</id>
-      <username>kriegaex</username>
-      <!-- Public access token with 'read:packages' scope -->
-      <password>&#103;&#104;&#112;&#95;&#68;&#74;&#97;&#71;&#119;&#108;&#80;&#75;&#55;&#116;&#68;&#55;&#102;&#73;&#51;&#107;&#103;&#111;&#109;&#71;&#100;&#78;&#115;&#86;&#105;&#88;&#67;&#100;&#50;&#98;&#50;&#55;&#74;&#104;&#66;&#77;</password>
-    </server>
-  </servers>
-
-</settings>