Skip to content

Commit

Permalink
task#44: set project in in root folder for mvn build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementGib committed Feb 17, 2024
1 parent b2800f6 commit 66fd9e7
Show file tree
Hide file tree
Showing 95 changed files with 90 additions and 155 deletions.
File renamed without changes.
36 changes: 36 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
architecture: x64
cache: maven
- name: Build with Maven and tests
run: mvn -B package --file pom.xml

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
54 changes: 50 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,56 @@
#Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
release.properties
.flattened-pom.xml
.mvn
.mvn/*
out/
.idea/
maven-wrapper.jar


# Eclipse
.project
.classpath
.settings/
bin/

# IntelliJ
.idea
.idea_modules/
*.iml
*.ipr
*.iml
*.iws

.mvn
# NetBeans
nb-configuration.xml

# Visual Studio Code
.vscode
.factorypath

# OSX
.DS_Store

# Vim
*.swp
*.swo

# patch
*.orig
*.rej

# Local environment
.env

# Docker
env/data/

# Other
compose/data/




quarkus-backend/compose/data/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ I want to see the history (operation, date, amount, balance) of my operations

1. Lancer les containers (PostgreSQL, PgAdmin, KeyClock) 🐘🐋

*Dans le répertoire `quarkus-backend/compose`*
*Dans le répertoire `compose`*
```bash
docker-compose up
```

2. Lancer le back-end Quarkus
1. Lancer le back-end Quarkus

*Dans le répertoire `quarkus-backend`*
*A la racine du projet*
```bash
quarkus dev -e
#OU
Expand All @@ -136,7 +136,7 @@ quarkus dev -e

3. (Optionel) Lancer les tests Junit 5

*Dans le répertoire `quarkus-backend`*
*A la racine du projet*
```bash
mvn test
```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
45 changes: 0 additions & 45 deletions quarkus-backend/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion quarkus-backend/.mvn/wrapper/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions quarkus-backend/.mvn/wrapper/maven-wrapper.properties

This file was deleted.

81 changes: 0 additions & 81 deletions quarkus-backend/README.md

This file was deleted.

0 comments on commit 66fd9e7

Please sign in to comment.