fix #2783 Add snapshot repository to pom.xml and streamline GitHub Actions workflows
This commit is contained in:
parent
6d0530a778
commit
0f2ef0ce07
3 changed files with 12 additions and 18 deletions
9
.github/workflows/codeql-analysis.yml
vendored
9
.github/workflows/codeql-analysis.yml
vendored
|
@ -81,15 +81,6 @@ jobs:
|
|||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-m2
|
||||
- name: Checkout fess-parent
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: codelibs/fess-parent
|
||||
path: fess-parent
|
||||
- name: Install fess-parent
|
||||
run: |
|
||||
cd fess-parent
|
||||
mvn install
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
|
|
9
.github/workflows/maven.yml
vendored
9
.github/workflows/maven.yml
vendored
|
@ -31,15 +31,6 @@ jobs:
|
|||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- name: Checkout fess-parent
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: codelibs/fess-parent
|
||||
path: fess-parent
|
||||
- name: Install fess-parent
|
||||
run: |
|
||||
cd fess-parent
|
||||
mvn install
|
||||
- name: Download Plugins with Maven
|
||||
run: mvn -B antrun:run --file pom.xml
|
||||
- name: Build with Maven
|
||||
|
|
12
pom.xml
12
pom.xml
|
@ -900,6 +900,18 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>snapshots-repo</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<!-- lastaflute -->
|
||||
<dependency>
|
||||
|
|
Loading…
Add table
Reference in a new issue