From c6dcce4236cbd0c5e04910f501225e5516841270 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Fri, 17 Sep 2021 10:40:18 +0200 Subject: [PATCH] Initial Maven setup Currently not building anything just setting up the build and Github action For #371 --- .github/workflows/maven.yml | 25 ++++++++++ .mvn/extensions.xml | 8 ++++ pom.xml | 91 +++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 .github/workflows/maven.yml create mode 100644 .mvn/extensions.xml create mode 100644 pom.xml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..911b0f8 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,25 @@ +# This workflow will build a Java project with Gradle +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Java CI with Gradle +on: + push: + branches-ignore: + - documentation + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '11' + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./mvn clean verify diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..cfc4f26 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,8 @@ + + + + org.eclipse.tycho.extras + tycho-pomless + 2.4.0 + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2522dda --- /dev/null +++ b/pom.xml @@ -0,0 +1,91 @@ + + 4.0.0 + eclipse.asciidoctor.editor + releng + 1.0.0-SNAPSHOT + pom + + + + tycho-snapshots + https://repo.eclipse.org/content/repositories/tycho-snapshots/ + + + + + 2.5.0-SNAPSHOT + UTF-8 + + + + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho.version} + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho.version} + true + + + + org.eclipse.tycho + tycho-packaging-plugin + ${tycho.version} + + + package + package-feature + + ${project.artifactId}_${unqualifiedVersion}.${buildQualifier} + + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho.version} + + + ../target-platform/target-platform.target + + false + + + + linux + gtk + x86_64 + + + win32 + win32 + x86_64 + + + macosx + cocoa + x86_64 + + + + + + + + + + + + \ No newline at end of file