cf-java-logging-support-servlet-jakarta
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.sap.hcp.cf.logging</groupId> <artifactId>cf-java-logging-support-servlet-jakarta</artifactId> <version>3.8.4</version> </dependency>
<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> <artifactId>cf-java-logging-support-servlet-jakarta</artifactId> <packaging>jar</packaging> <name>cf-java-logging-support-servlet-jakarta</name> <parent> <groupId>com.sap.hcp.cf.logging</groupId> <artifactId>cf-java-logging-support-parent</artifactId> <version>3.8.4</version> <relativePath>../pom.xml</relativePath> </parent> <properties> <servlet.api.version>5.0.0</servlet.api.version> <maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version> <build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version> <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version> <jetty.version>11.0.14</jetty.version> </properties> <dependencies> <!-- servlet api --> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>${servlet.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.sap.hcp.cf.logging</groupId> <artifactId>cf-java-logging-support-core</artifactId> <version>${project.version}</version> </dependency> <!-- we need our logback implementation for testing! --> <dependency> <groupId>com.sap.hcp.cf.logging</groupId> <artifactId>cf-java-logging-support-logback</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> <scope>test</scope> </dependency> <!-- Library for token signing/verification --> <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>${java-jwt.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <!-- testing --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${httpclient.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>unpack</id> <phase>generate-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>cf-java-logging-support-servlet</artifactId> <version>${project.version}</version> <type>jar</type> <classifier>sources</classifier> <overWrite>false</overWrite> <outputDirectory>target/generated-sources/java</outputDirectory> <includes>**/*.java</includes> </artifactItem> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>cf-java-logging-support-servlet</artifactId> <version>${project.version}</version> <type>jar</type> <classifier>test-sources</classifier> <overWrite>false</overWrite> <outputDirectory>target/generated-test-sources/java</outputDirectory> <includes>**/*.java</includes> </artifactItem> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>cf-java-logging-support-servlet</artifactId> <version>${project.version}</version> <type>jar</type> <classifier>test-sources</classifier> <overWrite>false</overWrite> <outputDirectory>target/generated-test-sources/resources</outputDirectory> <includes>**/logback-test.xml</includes> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${build-helper-maven-plugin.version}</version> <executions> <execution> <id>add-generated-sources</id> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/java</source> </sources> </configuration> </execution> <execution> <id>add-generated-test-sources</id> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>target/generated-test-sources/java</source> </sources> </configuration> </execution> <execution> <id>add-generated-test-resources</id> <goals> <goal>add-test-resource</goal> </goals> <configuration> <resources> <resource> <directory>target/generated-test-sources/resources</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>${maven-antrun-plugin.version}</version> <executions> <execution> <phase>process-sources</phase> <configuration> <target> <!-- replace javax.servlet with jakarta.servlet in generated-sources --> <replace dir="target/generated-sources/java" token="javax.servlet" value="jakarta.servlet"> <include name="**/*.java" /> </replace> <!-- replace javax.servlet with jakarta.servlet in generated-test-sources --> <replace dir="target/generated-test-sources/java" token="javax.servlet" value="jakarta.servlet"> <include name="**/*.java" /> </replace> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>ossrh</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${source.plugin.version}</version> <executions> <execution> <id>attach-sources</id> <phase>compile</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>