Skip to content

Commit

Permalink
Added basic functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Mar 31, 2024
1 parent 7e0de93 commit d671263
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 834 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_maven_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# CI with maven build and scan
#
# version 1.1.0
#
# see : https://universe.fugerit.org/src/docs/conventions/workflows/build_maven_package.html

name: CI maven build and scan

on:
# Trigger analysis when pushing in master or pull requests, and when creating
# a pull request.
push:
branches:
- main
- develop
- branch-preview
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: fugerit-org/psychic-actions/maven-build-scan@stable
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
disable-maven-dependency-submission: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION }}
29 changes: 9 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<properties>
<maven.compiler.release>11</maven.compiler.release>
<fj-core-version>8.5.3</fj-core-version>
<native-helper-graalvm-version>1.3.0</native-helper-graalvm-version>
</properties>

<licenses>
Expand Down Expand Up @@ -48,12 +49,6 @@

<dependencies>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.9.3</version>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
Expand All @@ -64,23 +59,17 @@
<artifactId>maven-plugin-annotations</artifactId>
</dependency>

<dependency>
<groupId>org.fugerit.java</groupId>
<artifactId>native-helper-graalvm</artifactId>
<version>${native-helper-graalvm-version}</version>
</dependency>

<dependency>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-core</artifactId>
<version>${fj-core-version}</version>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
</dependency>

<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>3.1.0</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -111,8 +100,8 @@
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>

Expand Down
Loading

0 comments on commit d671263

Please sign in to comment.