-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
636 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# SPDX-FileCopyrightText: 2018-2023 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
<<<<<<<< HEAD:.github/workflows/maven-build.yml | ||
name: Maven Build main | ||
|
||
env: | ||
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | ||
======== | ||
name: Maven Build main-2.x | ||
>>>>>>>> fix-flaky:.github/workflows/maven-build-2.x.yml | ||
|
||
on: | ||
push: | ||
branches: [ main-2.x ] | ||
pull_request: | ||
branches: [ main-2.x ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java-version: [ 17 ] | ||
name: Build with Java ${{ matrix.java-version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: mvn cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-owasp-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-owasp- | ||
- name: Set up JDK ${{ matrix.java-version }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java-version }} | ||
- name: Build with Maven | ||
run: mvn -B install --file pom.xml | ||
- name: Run java-security integration tests | ||
run: cd java-security-it; mvn -B package --file pom.xml | ||
- name: Run spring-xsuaa integration tests | ||
run: cd spring-xsuaa-it; mvn -B package --file pom.xml | ||
- name: Build spring-security-basic-auth | ||
run: cd samples/spring-security-basic-auth; mvn -B package --file pom.xml | ||
- name: Build spring-security-xsuaa-usage | ||
run: cd samples/spring-security-xsuaa-usage; mvn -B package --file pom.xml | ||
- name: Build spring-webflux-security-xsuaa-usage | ||
run: cd samples/spring-webflux-security-xsuaa-usage; mvn -B package --file pom.xml | ||
- name: Build java-security-usage | ||
run: cd samples/java-security-usage; mvn -B package --file pom.xml | ||
- name: Build sap-java-buildpack-api-usage | ||
run: cd samples/sap-java-buildpack-api-usage; mvn -B package --file pom.xml | ||
- name: Build java-tokenclient-usage | ||
run: cd samples/java-tokenclient-usage; mvn -B package --file pom.xml | ||
- name: Build java-security-usage-ias | ||
run: cd samples/java-security-usage-ias; mvn -B package --file pom.xml | ||
- name: Build spring-security-hybrid-usage | ||
run: cd samples/spring-security-hybrid-usage; mvn -B package --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Configuration | ||
|
||
### Maven Dependencies | ||
```xml | ||
<dependency> | ||
<groupId>com.sap.cloud.security.xsuaa</groupId> | ||
<artifactId>api</artifactId> | ||
<version>2.13.7</version> | ||
</dependency> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- SPDX-FileCopyrightText: 2018-2022 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors --> | ||
<!-- SPDX-License-Identifier: Apache-2.0 --> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.sap.cloud.security.xsuaa</groupId> | ||
<artifactId>api</artifactId> | ||
|
||
<parent> | ||
<groupId>com.sap.cloud.security.xsuaa</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>2.13.7</version> | ||
</parent> | ||
|
||
<packaging>jar</packaging> | ||
|
||
<name>api</name> | ||
<url>http://maven.apache.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.