From 7d18129a6d40dfe19ce7aa7d641fd0cf5acc66e8 Mon Sep 17 00:00:00 2001 From: Josua Blejeru Date: Fri, 11 Aug 2023 23:44:49 +0200 Subject: [PATCH] Java: Build updates in prep for package publication --- .github/workflows/java.yml | 10 ++++------ java/pom.xml | 7 +++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 55b4da6..a24dc52 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -32,10 +32,8 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Build with Maven - run: | - mvn -B compile - - name: Test with Maven - run: | - mvn -B test + run: mvn -B test + + - name: Build with Maven + run: mvn clean install diff --git a/java/pom.xml b/java/pom.xml index 229b2a0..32ee464 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -1,8 +1,7 @@ + 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"> 4.0.0 org.gs1 @@ -65,4 +64,4 @@ - + \ No newline at end of file