authzforce-ce-server-webapp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.ow2.authzforce</groupId> <artifactId>authzforce-ce-server-webapp</artifactId> <version>12.0.1</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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.ow2.authzforce</groupId> <artifactId>authzforce-ce-server</artifactId> <version>12.0.1</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>authzforce-ce-server-webapp</artifactId> <name>${project.groupId}:${project.artifactId}</name> <packaging>war</packaging> <description>Web application packaging for AuthzForce (PAP/PDP) REST service</description> <url>https://github.com/authzforce/server/webapp</url> <properties> <tomcat.version>10.1.18</tomcat.version> </properties> <scm> <connection>scm:git:${git.url.base}.git</connection> <developerConnection>scm:git:${git.url.base}.git</developerConnection> <tag>HEAD</tag> <url>${git.url.base}/webapp</url> </scm> <dependencies> <!-- <dependency> --> <!-- <groupId>com.sun.xml.bind</groupId> --> <!-- <artifactId>jaxb-impl</artifactId> --> <!-- <version>2.2.6</version> --> <!-- Prevent inclusion in war for Tomcat because of https://java.net/jira/browse/JAXB-1000: com.sun.xml.bind.v2.ClassFactory --> <!-- has memory leak (upon webapp undeployment/redeployment). Therefore, jaxb RI from JDK >= 7 must be used so --> <!-- no need to ship it with webapp; or jaxb-impl must be only in Tomcat lib directory to be loaded by common --> <!-- classloader (shared libraries) --> <!-- <scope>provided</scope> --> <!-- </dependency> --> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <scope>provided</scope> </dependency> <!-- spring-context dependency is not included by the others! --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> <exclusions> <exclusion> <!-- Replaced by jcl-over-slf4j dependency, see http://www.slf4j.org/legacy.html --> <artifactId>commons-logging</artifactId> <groupId>commons-logging</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>fr.xebia.extras</groupId> <artifactId>xebia-logfilter-extras</artifactId> <version>1.0.1</version> </dependency> <!-- JSON Support --> <dependency> <groupId>org.codehaus.jettison</groupId> <artifactId>jettison</artifactId> <version>1.5.4</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-extension-providers</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>com.sun.xml.fastinfoset</groupId> <artifactId>FastInfoset</artifactId> <version>2.1.1</version> </dependency> <!-- http://cxf.apache.org/docs/jax-rs.html#JAX-RS-FromCXF2.7.xtoCXF3.0.0 , item 4: WADL Auto Generator code has been moved to a new cxf-rt-rs-service-description --> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-service-description</artifactId> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-features-logging</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.ow2.authzforce</groupId> <artifactId>authzforce-ce-pap-dao-flat-file</artifactId> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>authzforce-ce-server-rest-service</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <!-- For some reason, this dependency is needed at runtime when deployed in Tomcat --> <dependency> <groupId>jakarta.xml.ws</groupId> <artifactId>jakarta.xml.ws-api</artifactId> <version>3.0.1</version> <scope>runtime</scope> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>${tomcat.version}</version> <scope>test</scope> </dependency> <!-- <dependency> --> <!-- <groupId>org.slf4j</groupId> --> <!-- <artifactId>jul-to-slf4j</artifactId> --> <!-- <version>${slf4j.version}</version> --> <!-- <scope>test</scope> --> <!-- </dependency> --> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-testutils</artifactId> <version>${cxf.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf.services.sts</groupId> <artifactId>cxf-services-sts-core</artifactId> <version>${cxf.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${artifactId.prefix}-core-pdp-testutils</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-annotations</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.4.0</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <!-- target JDK already set by parent project's maven.compiler.target property --> <configuration> <verbose>true</verbose> <excludeRoots> <excludeRoot>target/generated-sources/xjc</excludeRoot> <excludeRoot>target/generated-test-sources/xjc</excludeRoot> <excludeRoot>target/generated-test-sources/cxf</excludeRoot> </excludeRoots> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> <goal>cpd-check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <configuration> <onlyAnalyze>org.ow2.authzforce.*</onlyAnalyze> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- Consider combining with Red Hat Victims and OSS Index. More info on Victims vs. Dependency-check: https://bugzilla.redhat.com/show_bug.cgi?id=1388712 --> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <configuration> <!-- The plugin has numerous issues with version matching, which triggers false positives so we need a "suppresion" file for those. More info: https://github.com/jeremylong/DependencyCheck/issues --> <suppressionFile>owasp-dependency-check-suppression.xml</suppressionFile> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- For license management with Maven, see also: https://wiki.52north.org/bin/view/Documentation/BestPracticeLicenseManagementInSoftwareProjects Property ${currentYear} is defined in parent POM. --> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <header>license/thales-gpl.header.txt</header> <headerDefinitions> <headerDefinition>license/header-defs.xml</headerDefinition> </headerDefinitions> <excludes> <exclude>src/main/java/org/ow2/authzforce/webapp/org/apache/**</exclude> <exclude>src/main/java/org/ow2/authzforce/webapp/org/codehaus/**</exclude> </excludes> <includes> <include>src/main/java/**</include> <include>src/test/java/**</include> </includes> </configuration> <executions> <execution> <id>format-sources-license</id> <phase>process-sources</phase> <goals> <goal>format</goal> </goals> </execution> <execution> <id>format-test-sources-license</id> <phase>process-test-sources</phase> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> <!-- Create folder for authzforce server test data (domains) --> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resources</id> <phase>validate</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <includeEmptyDirs>true</includeEmptyDirs> <outputDirectory>${basedir}/target/tomcat/authzforce-ce-server</outputDirectory> <resources> <resource> <directory>src/test/resources/authzforce-ce-server</directory> <filtering>true</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <executions> <execution> <phase>generate-test-sources</phase> <configuration> <sourceRoot> ${basedir}/target/generated-test-sources/cxf </sourceRoot> <wsdlOptions> <wsdlOption> <wsdl> ${basedir}/src/test/resources/org/apache/coheigea/cxf/sts/xacml/common/DoubleItLogical.wsdl </wsdl> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- This execution of surefire is overwritten by a default one unless we specify a different version in pluginManagement. --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <suiteXmlFiles> <!-- Parameters in the XML files seem to be ignored (more info: http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html) --> <!-- Using multiple test suites simplifies debugging and prevent some TestNG issues happening when reusing same class/methods over multiple tests in same test suite --> <suiteXmlFile>src/test/suites/xml_pdp_only.xml</suiteXmlFile> <suiteXmlFile>src/test/suites/xml_full.xml</suiteXmlFile> <suiteXmlFile>src/test/suites/fast_infoset.xml</suiteXmlFile> <suiteXmlFile>src/test/suites/json.xml</suiteXmlFile> <suiteXmlFile>src/test/suites/others.xml</suiteXmlFile> </suiteXmlFiles> <skipAfterFailureCount>1</skipAfterFailureCount> <!-- redirectTestOutputToFile: set this to 'true' to redirect the unit test standard output to a file (found in reportsDirectory/testName-output.txt) --> <redirectTestOutputToFile>true</redirectTestOutputToFile> <systemPropertyVariables> <javax.xml.accessExternalSchema>all</javax.xml.accessExternalSchema> </systemPropertyVariables> <properties> <property> <name>surefire.testng.verbose</name> <!-- verbosity level from 0 to 10 (10 is the most detailed), or -1 for debug More info: http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html --> <value>3</value> </property> </properties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnError>false</failOnError> </configuration> </plugin> </plugins> </build> </project>