diff --git a/.github/workflows/main_testwebappvincte.yml b/.github/workflows/main_testwebappvincte.yml
new file mode 100644
index 00000000..63f29a71
--- /dev/null
+++ b/.github/workflows/main_testwebappvincte.yml
@@ -0,0 +1,66 @@
+# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
+# More GitHub Actions for Azure: https://github.com/Azure/actions
+
+name: Build and deploy JAR app to Azure Web App - testwebappvincte
+
+on:
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read #This is required for actions/checkout
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Java version
+ uses: actions/setup-java@v4
+ with:
+ java-version: 'java21'
+ distribution: 'microsoft'
+
+ - name: Build with Maven
+ run: mvn clean install
+
+ - name: Upload artifact for deployment job
+ uses: actions/upload-artifact@v4
+ with:
+ name: java-app
+ path: '${{ github.workspace }}/target/*.jar'
+
+ deploy:
+ runs-on: ubuntu-latest
+ needs: build
+ environment:
+ name: 'Production'
+ url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
+ permissions:
+ id-token: write #This is required for requesting the JWT
+ contents: read #This is required for actions/checkout
+
+ steps:
+ - name: Download artifact from build job
+ uses: actions/download-artifact@v4
+ with:
+ name: java-app
+
+ - name: Login to Azure
+ uses: azure/login@v2
+ with:
+ client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_47ABF5227FEA4ABAB0A1F9403A253F17 }}
+ tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_E54CD2E4B31745A5A25E5D72F7EA1EF5 }}
+ subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_4A0EDC2858184B60B628EB7008E6F5D2 }}
+
+ - name: Deploy to Azure Web App
+ id: deploy-to-webapp
+ uses: azure/webapps-deploy@v3
+ with:
+ app-name: 'testwebappvincte'
+ slot-name: 'Production'
+ package: '*.jar'
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 8aff33f2..7aca4cab 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,7 @@ Users can shop for products. Each user has his own shopping cart (session functi
Checkout is transactional.
## Configuration
+###
### Configuration Files
diff --git a/pom.xml b/pom.xml
index fd17150e..a47d77e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,7 +117,32 @@
2.1.4
+
+
+ maven
+ https://pkgs.dev.azure.com/vinc14/pipelines/_packaging/maven/maven/v1
+
+ true
+
+
+ true
+
+
+
+
+
+ maven
+ https://pkgs.dev.azure.com/vinc14/pipelines/_packaging/maven/maven/v1
+
+ true
+
+
+ true
+
+
+
+
@@ -148,7 +173,7 @@
-
+