pac4j-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-parent</artifactId> <version>6.2.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>org.pac4j</groupId> <artifactId>pac4j-parent</artifactId> <packaging>pom</packaging> <name>pac4j parent</name> <version>6.2.0</version> <description>Profile & Authentication Client for Java</description> <url>https://github.com/pac4j/pac4j</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>https://github.com/pac4j/pac4j.git</url> <connection>scm:git:git@github.com:pac4j/pac4j.git</connection> <developerConnection>scm:git:git@github.com:pac4j/pac4j.git</developerConnection> <tag>pac4j-parent-6.2.0</tag> </scm> <developers> <developer> <id>leleuj</id> <name>Jerome LELEU</name> <email>leleuj@gmail.com</email> </developer> </developers> <distributionManagement> <snapshotRepository> <name>Central Portal Snapshots</name> <id>central-portal-snapshots</id> <url>https://central.sonatype.com/repository/maven-snapshots/</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <name>Central Portal Snapshots</name> <id>central-portal-snapshots</id> <url>https://central.sonatype.com/repository/maven-snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <modules> <module>pac4j-javaee</module> <module>pac4j-jakartaee</module> <module>pac4j-core</module> <module>pac4j-config</module> <module>pac4j-oauth</module> <module>pac4j-cas</module> <module>pac4j-http</module> <module>pac4j-saml</module> <module>pac4j-gae</module> <module>pac4j-oidc</module> <module>pac4j-jwt</module> <module>pac4j-ldap</module> <module>pac4j-sql</module> <module>pac4j-mongo</module> <module>pac4j-couch</module> <module>pac4j-kerberos</module> <module>pac4j-springboot</module> </modules> <properties> <awssdk.version>2.31.77</awssdk.version> <mongo-driver.version>5.5.1</mongo-driver.version> <flapdoodle.version>3.5.4</flapdoodle.version> <junit.version>4.13.2</junit.version> <servlet-api.version>4.0.1</servlet-api.version> <jakarta-servlet-api.version>6.0.0</jakarta-servlet-api.version> <logback.version>1.5.18</logback.version> <commons-codec.version>1.18.0</commons-codec.version> <commons-io.version>2.19.0</commons-io.version> <commons-lang3.version>3.17.0</commons-lang3.version> <commons-text.version>1.13.1</commons-text.version> <guava.version>33.4.8-jre</guava.version> <nimbus-jose-jwt.version>10.3.1</nimbus-jose-jwt.version> <spring.version>6.2.8</spring.version> <spring.security.version>6.5.1</spring.security.version> <shiro.version>1.13.0</shiro.version> <jbcrypt.version>0.4.3</jbcrypt.version> <snakeyaml.version>2.4</snakeyaml.version> <mockito.version>5.18.0</mockito.version> <slf4j.version>2.0.17</slf4j.version> <httpclient.version>5.3.1</httpclient.version> <unboundid.version>7.0.3</unboundid.version> <h2.version>2.3.232</h2.version> <java.version>17</java.version> <jackson.version>2.19.1</jackson.version> <reflections.version>0.10.2</reflections.version> <nanohttpd.version>2.3.1</nanohttpd.version> <mockserver.version>5.10</mockserver.version> <lombok.version>1.18.38</lombok.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-config</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-oauth</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-cas</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-saml</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-oidc</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-ldap</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-http</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-sql</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-jwt</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver-sync</artifactId> <version>${mongo-driver.version}</version> </dependency> <dependency> <groupId>org.mongodb</groupId> <artifactId>bson</artifactId> <version>${mongo-driver.version}</version> </dependency> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver-core</artifactId> <version>${mongo-driver.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>s3</artifactId> <version>${awssdk.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-crypto</artifactId> <version>${spring.security.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> <exclusions> <exclusion> <artifactId>spring-jcl</artifactId> <groupId>org.springframework</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <version>${httpclient.version}</version> </dependency> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>${shiro.version}</version> </dependency> <dependency> <groupId>de.svenkubiak</groupId> <artifactId>jBCrypt</artifactId> <version>${jbcrypt.version}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>${commons-text.version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>${servlet-api.version}</version> </dependency> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>${jakarta-servlet-api.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> <version>${nimbus-jose-jwt.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>${reflections.version}</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <!-- for testing --> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-core</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-ldap</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-sql</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-http</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>de.flapdoodle.embed</groupId> <artifactId>de.flapdoodle.embed.mongo</artifactId> <version>${flapdoodle.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>${slf4j.version}</version> <exclusions> <exclusion> <groupId>com.google.code.findbugs</groupId> <artifactId>findbugs-annotations</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> </dependency> <dependency> <groupId>com.unboundid</groupId> <artifactId>unboundid-ldapsdk</artifactId> <version>${unboundid.version}</version> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${h2.version}</version> </dependency> <dependency> <groupId>org.nanohttpd</groupId> <artifactId>nanohttpd</artifactId> <version>${nanohttpd.version}</version> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock</artifactId> <version>3.10.0</version> <scope>test</scope> </dependency> <!-- for testing --> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>findbugs-annotations</artifactId> <version>3.0.1</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <finalName>${project.artifactId}-${project.version}-all.jar</finalName> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <includes> <include>**/*Tests.java</include> <include>**/*Test.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.26.1</version> </dependency> </dependencies> <configuration> <configLocation>checkstyle.xml</configLocation> </configuration> <executions> <execution> <id>checkstyle</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <failOnViolation>true</failOnViolation> <includeTestSourceDirectory>true</includeTestSourceDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <skipTests>true</skipTests> <includes> <include>**/*IT.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <configuration> <source>${java.version}</source> <release>${java.version}</release> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>regex-property</id> <goals> <goal>regex-property</goal> </goals> <configuration> <name>module.suffix</name> <value>${project.artifactId}</value> <regex>^(pac4j\-)(.*)$</regex> <replacement>$2</replacement> <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> <execution> <id>set-osgi-version</id> <phase>verify</phase> <goals> <goal>parse-version</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> <goal>test-jar-no-fork</goal> </goals> </execution> </executions> <configuration> <archive> <manifestEntries> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-Name>${project.name}</Bundle-Name> <Bundle-SymbolicName>${project.groupId}.${module.suffix}.source</Bundle-SymbolicName> <Bundle-Vendor>${organization.name}</Bundle-Vendor> <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version> <Eclipse-SourceBundle>${project.groupId}.${module.suffix};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <configuration> <detectJavaApiLink>false</detectJavaApiLink> <doclint>none</doclint> <sourcepath>src/main/java</sourcepath> <source>${java.version}</source> <release>${java.version}</release> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.7.3.6</version> <configuration> <effort>Low</effort> <!-- Max --> <threshold>Max</threshold> <!-- Medium Low --> <failOnError>true</failOnError> <excludeFilterFile>${basedir}/../spotbugs-exclude.xml</excludeFilterFile> <includeTests>true</includeTests> </configuration> <executions> <execution> <id>run-spotbugs</id> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.21.2</version> <configuration> <includeTests>true</includeTests> <printFailingErrors>true</printFailingErrors> </configuration> <executions> <execution> <id>run-pmd</id> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <archive> <!-- configure plugin to use MANIFEST.MF generated by maven-bundle-plugin --> <manifestFile> ${project.build.outputDirectory}/META-INF/MANIFEST.MF </manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.1</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>6.0.0</version> <extensions>true</extensions> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> <configuration> <!-- configure plugin to support jar packaging --> <supportedProjectTypes> <supportedProjectType>jar</supportedProjectType> </supportedProjectTypes> <instructions> <Specification-Version>${project.version}</Specification-Version> <Implementation-Version>${project.version}</Implementation-Version> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.3</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>forceIT</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <skipTests>false</skipTests> <includes> <include>**/*IT.java</include> </includes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>