Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Use a Maven POM to fetch backend JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Dec 2, 2024
1 parent 08cf671 commit 2248778
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Download the backend JAR
run: ./download-backend.sh
run: mvn -B dependency:copy-dependency -DexcludeTransitive=true
- name: Build the Docker image
run: docker build . --file Dockerfile --tag playground-docker:$(date +%s)
run: docker build --tag playground-docker:$(date +%s) .
5 changes: 0 additions & 5 deletions download-backend.sh

This file was deleted.

25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.eclipse.epsilon.labs.playground</groupId>
<artifactId>playground-docker</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
</properties>

<dependencies>
<dependency>
<groupId>org.eclipse.epsilon.labs.playground.micronaut</groupId>
<artifactId>http-server</artifactId>
<version>0.1-SNAPSHOT</version>
<classifier>all</classifier>
</dependency>
</dependencies>

</project>

0 comments on commit 2248778

Please sign in to comment.