|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <parent> |
| 5 | + <groupId>com.sap.cloud.sdk.cloudplatform</groupId> |
| 6 | + <artifactId>cloudplatform-parent</artifactId> |
| 7 | + <version>5.31.0-SNAPSHOT</version> |
| 8 | + </parent> |
| 9 | + <artifactId>connectivity-fips-sample</artifactId> |
| 10 | + <name>Connectivity - FIPS Sample</name> |
| 11 | + <description>Non-released sample module that runs connectivity tests under the FIPS-approved Bouncy Castle provider.</description> |
| 12 | + <url>https://sap.github.io/cloud-sdk/docs/java/getting-started</url> |
| 13 | + <organization> |
| 14 | + <name>SAP SE</name> |
| 15 | + <url>https://www.sap.com</url> |
| 16 | + </organization> |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>The Apache Software License, Version 2.0</name> |
| 20 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 21 | + </license> |
| 22 | + </licenses> |
| 23 | + <developers> |
| 24 | + <developer> |
| 25 | + <name>SAP</name> |
| 26 | + <email>cloudsdk@sap.com</email> |
| 27 | + <organization>SAP SE</organization> |
| 28 | + <organizationUrl>https://www.sap.com</organizationUrl> |
| 29 | + </developer> |
| 30 | + </developers> |
| 31 | + <properties> |
| 32 | + <bc-fips.version>2.1.2</bc-fips.version> |
| 33 | + <bcpkix-fips.version>2.1.9</bcpkix-fips.version> |
| 34 | + </properties> |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>com.sap.cloud.sdk.cloudplatform</groupId> |
| 38 | + <artifactId>cloudplatform-connectivity</artifactId> |
| 39 | + <exclusions> |
| 40 | + <exclusion> |
| 41 | + <groupId>org.bouncycastle</groupId> |
| 42 | + <artifactId>bcprov-jdk18on</artifactId> |
| 43 | + </exclusion> |
| 44 | + <exclusion> |
| 45 | + <groupId>org.bouncycastle</groupId> |
| 46 | + <artifactId>bcpkix-jdk18on</artifactId> |
| 47 | + </exclusion> |
| 48 | + </exclusions> |
| 49 | + <scope>test</scope> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.bouncycastle</groupId> |
| 53 | + <artifactId>bc-fips</artifactId> |
| 54 | + <version>${bc-fips.version}</version> |
| 55 | + <scope>test</scope> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.bouncycastle</groupId> |
| 59 | + <artifactId>bcpkix-fips</artifactId> |
| 60 | + <version>${bcpkix-fips.version}</version> |
| 61 | + <scope>test</scope> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>org.projectlombok</groupId> |
| 65 | + <artifactId>lombok</artifactId> |
| 66 | + <scope>provided</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.junit.jupiter</groupId> |
| 70 | + <artifactId>junit-jupiter-api</artifactId> |
| 71 | + <scope>test</scope> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>org.assertj</groupId> |
| 75 | + <artifactId>assertj-core</artifactId> |
| 76 | + <scope>test</scope> |
| 77 | + </dependency> |
| 78 | + </dependencies> |
| 79 | + <build> |
| 80 | + <plugins> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-surefire-plugin</artifactId> |
| 84 | + <configuration> |
| 85 | + <argLine>${argLine} -Dorg.bouncycastle.fips.approved_only=true |
| 86 | + </argLine> |
| 87 | + </configuration> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-dependency-plugin</artifactId> |
| 92 | + <configuration> |
| 93 | + <ignoredUnusedDeclaredDependencies combine.children="append"> |
| 94 | + <ignoredUnusedDeclaredDependency>org.bouncycastle:bc-fips</ignoredUnusedDeclaredDependency> |
| 95 | + <ignoredUnusedDeclaredDependency>org.bouncycastle:bcpkix-fips</ignoredUnusedDeclaredDependency> |
| 96 | + <ignoredUnusedDeclaredDependency>com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity</ignoredUnusedDeclaredDependency> |
| 97 | + </ignoredUnusedDeclaredDependencies> |
| 98 | + </configuration> |
| 99 | + </plugin> |
| 100 | + <plugin> |
| 101 | + <groupId>org.apache.maven.plugins</groupId> |
| 102 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 103 | + <configuration><skip>true</skip></configuration> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-pmd-plugin</artifactId> |
| 108 | + <configuration><skip>true</skip></configuration> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.apache.maven.plugins</groupId> |
| 112 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 113 | + <configuration><skip>true</skip></configuration> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <groupId>org.jacoco</groupId> |
| 117 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 118 | + <configuration><skip>true</skip></configuration> |
| 119 | + </plugin> |
| 120 | + </plugins> |
| 121 | + </build> |
| 122 | + <profiles> |
| 123 | + <profile> |
| 124 | + <id>release</id> |
| 125 | + <activation> |
| 126 | + <property><name>release</name></property> |
| 127 | + </activation> |
| 128 | + <build> |
| 129 | + <plugins> |
| 130 | + <plugin> |
| 131 | + <groupId>org.sonatype.central</groupId> |
| 132 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <id>injected-central-publishing</id> |
| 136 | + <phase /> |
| 137 | + </execution> |
| 138 | + </executions> |
| 139 | + </plugin> |
| 140 | + </plugins> |
| 141 | + </build> |
| 142 | + </profile> |
| 143 | + </profiles> |
| 144 | +</project> |
0 commit comments