sdm
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.sap.cds</groupId> <artifactId>sdm</artifactId> <version>1.2.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.sap.cds</groupId> <artifactId>sdm-root</artifactId> <version>1.2.0</version> </parent> <artifactId>sdm</artifactId> <version>1.2.0</version> <name>CDS Feature for SAP Document Management Service</name> <url>https://cap.cloud.sap/docs/plugins/#attachments</url> <organization> <name>SAP SE</name> <url>https://www.sap.com</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <distributionManagement> <snapshotRepository> <id>artifactory</id> <name>Artifactory_DMZ-snapshots</name> <url>https://common.repositories.cloud.sap/artifactory/cap-sdm-java</url> </snapshotRepository> </distributionManagement> <properties> <attachments_version>1.0.5</attachments_version> <mockito-junit-jupiter-version>5.15.2</mockito-junit-jupiter-version> <rxjava-version>2.2.21</rxjava-version> <maven.compiler.source>17</maven.compiler.source> <json-version>20250107</json-version> <httpasyncclient-version>4.1.5</httpasyncclient-version> <jacoco.version>0.8.7</jacoco.version> <cds.install-cdsdk.version>7.6.0</cds.install-cdsdk.version> <log4j-api-version>3.0.0-beta2</log4j-api-version> <lombok.version>1.18.36</lombok.version> <jackson-core-version>2.18.2</jackson-core-version> <maven.compiler.target>17</maven.compiler.target> <generation-package>com.sap.cds.sdm.generated</generation-package> <jackson-databind-version>2.18.2</jackson-databind-version> <httpclient5-version>5.4.2</httpclient5-version> <token-client-version>3.5.7</token-client-version> <packageName>sdm</packageName> <ehcache-version>3.10.8</ehcache-version> <commons-codec-version>1.18.0</commons-codec-version> <test-generation-folder>src/test/gen</test-generation-folder> <httpcore5-version>5.3.3</httpcore5-version> </properties> <dependencies> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <version>${httpclient5-version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents.core5</groupId> <artifactId>httpcore5</artifactId> <version>${httpcore5-version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpasyncclient</artifactId> <version>${httpasyncclient-version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j-api-version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.sap.cloud.security.xsuaa</groupId> <artifactId>token-client</artifactId> <version>${token-client-version}</version> <exclusions> <exclusion> <artifactId>checker-qual</artifactId> <groupId>org.checkerframework</groupId> </exclusion> <exclusion> <artifactId>java-api</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sap.cloud.security</groupId> <artifactId>java-api</artifactId> <version>3.5.8</version> </dependency> <dependency> <groupId>com.sap.cloud.environment.servicebinding.api</groupId> <artifactId>java-access-api</artifactId> <version>0.10.5</version> </dependency> <dependency> <groupId>com.sap.cloud.environment.servicebinding.api</groupId> <artifactId>java-core-api</artifactId> <version>0.10.5</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind-version}</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>${json-version}</version> </dependency> <dependency> <groupId>org.ehcache</groupId> <artifactId>ehcache</artifactId> <version>${ehcache-version}</version> <exclusions> <exclusion> <artifactId>jaxb-runtime</artifactId> <groupId>org.glassfish.jaxb</groupId> </exclusion> <exclusion> <artifactId>cache-api</artifactId> <groupId>javax.cache</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec-version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson-core-version}</version> </dependency> <dependency> <groupId>com.sap.cds</groupId> <artifactId>cds-services-impl</artifactId> <scope>test</scope> <exclusions> <exclusion> <artifactId>commons-io</artifactId> <groupId>commons-io</groupId> </exclusion> <exclusion> <artifactId>jsr305</artifactId> <groupId>com.google.code.findbugs</groupId> </exclusion> <exclusion> <artifactId>listenablefuture</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>commons-csv</artifactId> <groupId>org.apache.commons</groupId> </exclusion> <exclusion> <artifactId>java-security</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>checker-qual</artifactId> <groupId>org.checkerframework</groupId> </exclusion> <exclusion> <artifactId>env</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>java-api</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>bcprov-jdk18on</artifactId> <groupId>org.bouncycastle</groupId> </exclusion> <exclusion> <artifactId>bcpkix-jdk18on</artifactId> <groupId>org.bouncycastle</groupId> </exclusion> <exclusion> <artifactId>opentelemetry-api</artifactId> <groupId>io.opentelemetry</groupId> </exclusion> <exclusion> <artifactId>connectivity-oauth</artifactId> <groupId>com.sap.cloud.sdk.cloudplatform</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>5.0.0-alpha.14</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>mockwebserver</artifactId> <version>5.0.0-alpha.14</version> <scope>test</scope> </dependency> <dependency> <groupId>com.sap.cds</groupId> <artifactId>cds-feature-attachments</artifactId> <version>${attachments_version}</version> <exclusions> <exclusion> <artifactId>jakarta.jms-api</artifactId> <groupId>jakarta.jms</groupId> </exclusion> <exclusion> <artifactId>resilience4j</artifactId> <groupId>com.sap.cloud.sdk.cloudplatform</groupId> </exclusion> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>commons-lang3</artifactId> <groupId>org.apache.commons</groupId> </exclusion> <exclusion> <artifactId>connectivity-oauth</artifactId> <groupId>com.sap.cloud.sdk.cloudplatform</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sap.cloud.sdk.cloudplatform</groupId> <artifactId>connectivity-oauth</artifactId> <version>5.17.0</version> <exclusions> <exclusion> <artifactId>resilience4j</artifactId> <groupId>com.sap.cloud.sdk.cloudplatform</groupId> </exclusion> <exclusion> <artifactId>env</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>bcprov-jdk18on</artifactId> <groupId>org.bouncycastle</groupId> </exclusion> <exclusion> <artifactId>bcpkix-jdk18on</artifactId> <groupId>org.bouncycastle</groupId> </exclusion> <exclusion> <artifactId>commons-io</artifactId> <groupId>commons-io</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.4.0-jre</version> <exclusions> <exclusion> <artifactId>listenablefuture</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>checker-qual</artifactId> <groupId>org.checkerframework</groupId> </exclusion> <exclusion> <artifactId>jsr305</artifactId> <groupId>com.google.code.findbugs</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockito-junit-jupiter-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.sap.cds</groupId> <artifactId>cds-starter-cloudfoundry</artifactId> <exclusions> <exclusion> <artifactId>spring-boot-autoconfigure</artifactId> <groupId>org.springframework.boot</groupId> </exclusion> <exclusion> <artifactId>spring-boot-starter-security</artifactId> <groupId>org.springframework.boot</groupId> </exclusion> <exclusion> <artifactId>spring-security-core</artifactId> <groupId>org.springframework.security</groupId> </exclusion> <exclusion> <artifactId>spring-security-web</artifactId> <groupId>org.springframework.security</groupId> </exclusion> <exclusion> <artifactId>spring-web</artifactId> <groupId>org.springframework</groupId> </exclusion> <exclusion> <artifactId>spring-core</artifactId> <groupId>org.springframework</groupId> </exclusion> <exclusion> <artifactId>commons-io</artifactId> <groupId>commons-io</groupId> </exclusion> <exclusion> <artifactId>env</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>java-security</artifactId> <groupId>com.sap.cloud.security</groupId> </exclusion> <exclusion> <artifactId>nimbus-jose-jwt</artifactId> <groupId>com.nimbusds</groupId> </exclusion> <exclusion> <artifactId>reactor-core</artifactId> <groupId>io.projectreactor</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.reactivex.rxjava2</groupId> <artifactId>rxjava</artifactId> <version>${rxjava-version}</version> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> </goals> <configuration> <excludePackageNames>com.sap.sdm.generated.*</excludePackageNames> </configuration> </execution> </executions> <configuration> <skip>${skipDuringDeploy}</skip> <failOnError>true</failOnError> <doclint>all,-missing</doclint> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.3.2</version> <executions> <execution> <id>auto-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <skipTests>${skipUnitTests}</skipTests> </configuration> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>3.3.1</version> <configuration> <skipITs>${skipIntegrationTests}</skipITs> <includes> <include>**/integration/**/*.java</include> </includes> </configuration> </plugin> <plugin> <groupId>com.sap.cds</groupId> <artifactId>cds-maven-plugin</artifactId> <version>${cds.services.version}</version> <executions> <execution> <id>cds.clean</id> <goals> <goal>clean</goal> </goals> </execution> <execution> <id>cds.install-node</id> <goals> <goal>install-node</goal> </goals> <configuration> <skip>${skipDuringDeploy}</skip> </configuration> </execution> <execution> <id>cds.install-cdsdk</id> <goals> <goal>install-cdsdk</goal> </goals> <configuration> <skip>${skipDuringDeploy}</skip> </configuration> </execution> <execution> <id>cds.build</id> <goals> <goal>cds</goal> </goals> </execution> </executions> <configuration> <skip>${skipDuringDeploy}</skip> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>jacoco-initialize</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-site-report-all-tests</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>jacoco-site-report-only-unit-tests</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>jacoco-check-unit-tests-only</id> <phase>test</phase> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule implementation="org.jacoco.maven.RuleConfiguration"> <element>BUNDLE</element> <limits> <limit implementation="org.jacoco.report.check.Limit"> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>0.66</minimum> </limit> <limit implementation="org.jacoco.report.check.Limit"> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>0.55</minimum> </limit> <limit implementation="org.jacoco.report.check.Limit"> <counter>CLASS</counter> <value>MISSEDCOUNT</value> <maximum>1</maximum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> <configuration> <excludes> <exclude>${excluded.generation.package}**/*</exclude> <exclude>com/sap/cds/sdm/constants/**</exclude> <exclude>com/sap/cds/sdm/model/**</exclude> <exclude>com/sap/cds/sdm/persistence/**</exclude> <exclude>com/sap/cds/sdm/service/SDMAttachmentsService.class</exclude> <exclude>com/sap/cds/sdm/service/DocumentUploadService.class</exclude> <exclude>com/sap/cds/sdm/service/ReadAheadInputStream.class</exclude> <exclude>com/sap/cds/sdm/service/RetryUtils.class</exclude> <exclude>com/sap/cds/sdm/service/RetryUtils$RetryAttempt.class</exclude> <exclude>com/sap/cds/sdm/caching/**</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.basedir}/${generation-folder}/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>unit-tests</id> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <includes> <include>**/unit/**/*.java</include> </includes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>integration-tests</id> <build> <plugins> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <includes> <include>**/integration/**/*.java</include> </includes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>