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 26, 2023
1 parent 21207a0 commit 831000f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
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 package --file pom.xml
16 changes: 14 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>fess-thumbnail-playwright</artifactId>
<packaging>jar</packaging>
<name>Playwright Thumbnail Generator</name>
<version>14.11.1-SNAPSHOT</version>
<version>14.12.0-SNAPSHOT</version>
<scm>
<connection>scm:git:[email protected]:codelibs/fess-thumbnail-playwright.git</connection>
<developerConnection>scm:git:[email protected]:codelibs/fess-thumbnail-playwright.git</developerConnection>
Expand All @@ -13,7 +13,7 @@
<parent>
<groupId>org.codelibs.fess</groupId>
<artifactId>fess-parent</artifactId>
<version>14.11.0</version>
<version>14.12.0-SNAPSHOT</version>
<relativePath />
</parent>
<build>
Expand All @@ -37,6 +37,18 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<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>
<dependency>
<groupId>javax.annotation</groupId>
Expand Down

0 comments on commit 831000f

Please sign in to comment.