Skip to content

Commit 3887325

Browse files
committed
CI env; force to use maven central
1 parent 474d8a3 commit 3887325

7 files changed

Lines changed: 9 additions & 12 deletions

File tree

.github/workflows/full-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
with:
2020
java-version: ${{ matrix.java_version }}
2121
- name: Install
22-
run: mvn clean install -DskipTests -q -pl '!docs'
22+
run: mvn clean install -DskipTests -q -pl '!docs' -s ./etc/central-settings.xml
2323
env:
2424
BUILD_PORT: 0
2525
BUILD_SECURE_PORT: 0
2626
- name: Build
27-
run: mvn clean checkstyle:checkstyle package -pl '!docs' -P checkstyle
27+
run: mvn clean checkstyle:checkstyle package -pl '!docs' -P checkstyle -s ./etc/central-settings.xml
2828
env:
2929
BUILD_PORT: 0
3030
BUILD_SECURE_PORT: 0

.github/workflows/quick-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
with:
2121
java-version: ${{ matrix.java_version }}
2222
- name: Install
23-
run: mvn clean install -DskipTests -q -pl '!docs'
23+
run: mvn clean install -DskipTests -q -pl '!docs' -s ./etc/central-settings.xml
2424
env:
2525
BUILD_PORT: 0
2626
BUILD_SECURE_PORT: 0
2727
- name: Build
28-
run: mvn clean checkstyle:checkstyle package -pl '!docs' -P checkstyle
28+
run: mvn clean checkstyle:checkstyle package -pl '!docs' -P checkstyle -s ./etc/central-settings.xml
2929
env:
3030
BUILD_PORT: 0
3131
BUILD_SECURE_PORT: 0

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ before_install:
1010

1111
jdk:
1212
- openjdk8
13-
- openjdk9
14-
- openjdk10
1513
- openjdk11
16-
- openjdk12
1714
- openjdk13
1815

1916
branches:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<mirror>
66
<id>maven-central</id>
77
<name>Maven Central</name>
8-
<url>http://repo1.maven.org/maven2</url>
8+
<url>https://repo1.maven.org/maven2</url>
99
<mirrorOf>central</mirrorOf>
1010
</mirror>
1111
</mirrors>

etc/travis-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
DIR=$(cd "$(dirname "$0")"; pwd)
44

5-
sh $DIR/maven.sh clean install -q -DskipTests -s $DIR/travis-settings.xml
5+
sh $DIR/maven.sh clean install -q -DskipTests -s $DIR/central-settings.xml

etc/travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
DIR=$(cd "$(dirname "$0")"; pwd)
44

5-
sh $DIR/maven.sh clean checkstyle:checkstyle -P checkstyle package -s $DIR/travis-settings.xml
5+
sh $DIR/maven.sh clean checkstyle:checkstyle -P checkstyle package -s $DIR/central-settings.xml

modules/jooby-gradle-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@
6363
<repositories>
6464
<repository>
6565
<id>central</id>
66-
<url>http://central.maven.org/maven2</url>
66+
<url>https://central.maven.org/maven2</url>
6767
</repository>
6868
<repository>
6969
<id>gradle</id>
7070
<url>https://repo.gradle.org/gradle/libs-releases-local</url>
7171
</repository>
7272
<repository>
7373
<id>gradle-plugins</id>
74-
<url>http://repo.spring.io/plugins-release</url>
74+
<url>https://repo.spring.io/plugins-release</url>
7575
</repository>
7676
</repositories>
7777
</project>

0 commit comments

Comments
 (0)