diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..278b88f --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,36 @@ +name: Java CI with Maven (Order-management) + +on: + push: + branches: [ "action_build" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + # Step 1: Checkout the repository + - uses: actions/checkout@v4 + + # Step 2: Set up JDK 17 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + + # Step 3: Debug - List directory contents (Optional) + - name: List directory contents + run: ls -R + + # Step 4: Build the Maven project starting from the parent POM + - name: Build Order-management Maven project + run: mvn -B clean install + + # Optional: Update dependency graph for Dependabot + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..919ce1f --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml index ca08c49..e1d5c98 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -17,14 +17,11 @@ - - - +