Skip to content

Commit

Permalink
Add snapshot repository to pom.xml and streamline GitHub Actions work…
Browse files Browse the repository at this point in the history
…flows
  • Loading branch information
marevol committed Nov 17, 2023
1 parent 939d6e3 commit 9fea9db
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,5 @@ 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: Build with Maven
run: mvn -B source:jar javadoc:jar package --file pom.xml
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,14 @@
</build>
<repositories>
<repository>
<id>codelibs.org</id>
<name>CodeLibs Repository</name>
<url>https://maven.codelibs.org/</url>
<id>snapshots.oss.sonatype.org</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
Expand Down

0 comments on commit 9fea9db

Please # to comment.