|
| 1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright (c) trippay.io 2021-2021. |
| 4 | + --> |
| 5 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | + <modelVersion>4.0.0</modelVersion> |
| 7 | + <groupId>org.bearchoke</groupId> |
| 8 | + <artifactId>spring-authorization-server-mongodb</artifactId> |
| 9 | + <version>0.0.1</version> |
| 10 | + <packaging>pom</packaging> |
| 11 | + <name>spring-authorization-server-mongodb</name> |
| 12 | + <description>An implementation of RegisteredClientService, AuthorizationService and AuthorizationConsentService with spring-data-mongodb</description> |
| 13 | + <inceptionYear>2022</inceptionYear> |
| 14 | + |
| 15 | + <organization> |
| 16 | + <name>Bearchoke</name> |
| 17 | + <url>https://www.bearchoke.org</url> |
| 18 | + </organization> |
| 19 | + |
| 20 | + <developers> |
| 21 | + <developer> |
| 22 | + <id>1</id> |
| 23 | + <name>Bjorn Harvold</name> |
| 24 | + |
| 25 | + <url>https://www.bearchoke.org</url> |
| 26 | + <organization>Bearchoke</organization> |
| 27 | + <roles> |
| 28 | + <role>Developer</role> |
| 29 | + </roles> |
| 30 | + </developer> |
| 31 | + </developers> |
| 32 | + <scm> |
| 33 | + <connection>scm:git:ssh://github.com:bjornharvold/spring-authorization-server-mongodb.git</connection> |
| 34 | + <developerConnection>scm:git:ssh://github.com:bjornharvold/spring-authorization-server-mongodb.git</developerConnection> |
| 35 | + <url>https://github.com/bjornharvold/spring-authorization-server-mongodb</url> |
| 36 | + <tag>HEAD</tag> |
| 37 | + </scm> |
| 38 | + |
| 39 | + <properties> |
| 40 | + <buildnumber.maven.plugin.version>1.4</buildnumber.maven.plugin.version> |
| 41 | + <gitflow.maven.plugin>1.16.0</gitflow.maven.plugin> |
| 42 | + <java.version>17</java.version> |
| 43 | + <lombok.version>1.18.22</lombok.version> |
| 44 | + <maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version> |
| 45 | + <maven.dependency.plugin.version>3.2.0</maven.dependency.plugin.version> |
| 46 | + <maven.deploy.plugin.version>3.0.0-M1</maven.deploy.plugin.version> |
| 47 | + <maven.javadoc.plugin.version>3.3.1</maven.javadoc.plugin.version> |
| 48 | + <maven.release.plugin.version>3.0.0-M4</maven.release.plugin.version> |
| 49 | + <maven.resources.plugin.version>3.2.0</maven.resources.plugin.version> |
| 50 | + <maven.scm.plugin.version>1.12.0</maven.scm.plugin.version> |
| 51 | + <maven.source.plugin.version>3.0.1</maven.source.plugin.version> |
| 52 | + <maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version> |
| 53 | + <spring.data.mongodb.version>3.3.0</spring.data.mongodb.version> |
| 54 | + <spring.security.oauth2.authorization.server.version>0.2.1</spring.security.oauth2.authorization.server.version> |
| 55 | + <versions.maven.plugin>2.8.1</versions.maven.plugin> |
| 56 | + </properties> |
| 57 | + |
| 58 | + <!-- Common dependencies --> |
| 59 | + <dependencies> |
| 60 | + <dependency> |
| 61 | + <groupId>org.projectlombok</groupId> |
| 62 | + <artifactId>lombok</artifactId> |
| 63 | + <version>${lombok.version}</version> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.springframework.data</groupId> |
| 68 | + <artifactId>spring-data-mongodb</artifactId> |
| 69 | + <version>${spring.data.mongodb.version}</version> |
| 70 | + <scope>compile</scope> |
| 71 | + </dependency> |
| 72 | + |
| 73 | + <!-- Spring Oauth2 Auth server --> |
| 74 | + <dependency> |
| 75 | + <groupId>org.springframework.security</groupId> |
| 76 | + <artifactId>spring-security-oauth2-authorization-server</artifactId> |
| 77 | + <version>${spring.security.oauth2.authorization.server.version}</version> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + |
| 81 | + <build> |
| 82 | + <defaultGoal>compile</defaultGoal> |
| 83 | + |
| 84 | + <plugins> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-scm-plugin</artifactId> |
| 88 | + <version>${maven.scm.plugin.version}</version> |
| 89 | + <configuration> |
| 90 | + <connectionType>developerConnection</connectionType> |
| 91 | + </configuration> |
| 92 | + </plugin> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-deploy-plugin</artifactId> |
| 96 | + <version>${maven.deploy.plugin.version}</version> |
| 97 | + </plugin> |
| 98 | + |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-release-plugin</artifactId> |
| 102 | + <version>${maven.release.plugin.version}</version> |
| 103 | + <configuration> |
| 104 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 105 | + <useReleaseProfile>true</useReleaseProfile> |
| 106 | + <releaseProfiles>release</releaseProfiles> |
| 107 | + <goals>deploy</goals> |
| 108 | + <connectionUrl>${project.scm.developerConnection}</connectionUrl> |
| 109 | + </configuration> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <groupId>com.amashchenko.maven.plugin</groupId> |
| 113 | + <artifactId>gitflow-maven-plugin</artifactId> |
| 114 | + <version>${gitflow.maven.plugin}</version> |
| 115 | + </plugin> |
| 116 | + |
| 117 | + <plugin> |
| 118 | + <groupId>org.codehaus.mojo</groupId> |
| 119 | + <artifactId>versions-maven-plugin</artifactId> |
| 120 | + <version>${versions.maven.plugin}</version> |
| 121 | + </plugin> |
| 122 | + |
| 123 | + <plugin> |
| 124 | + <groupId>org.codehaus.mojo</groupId> |
| 125 | + <artifactId>buildnumber-maven-plugin</artifactId> |
| 126 | + <version>${buildnumber.maven.plugin.version}</version> |
| 127 | + <configuration> |
| 128 | + <shortRevisionLength>7</shortRevisionLength> |
| 129 | + <getRevisionOnlyOnce>true</getRevisionOnlyOnce> |
| 130 | + <doCheck>false</doCheck> |
| 131 | + <doUpdate>false</doUpdate> |
| 132 | + <format>{0,date,yyyyMMdd-HHmmss}-{1}</format> |
| 133 | + <items> |
| 134 | + <item>timestamp</item> |
| 135 | + <item>scmVersion</item> |
| 136 | + </items> |
| 137 | + </configuration> |
| 138 | + <executions> |
| 139 | + <execution> |
| 140 | + <phase>validate</phase> |
| 141 | + <goals> |
| 142 | + <goal>create</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-compiler-plugin</artifactId> |
| 150 | + <version>${maven.compiler.plugin.version}</version> |
| 151 | + <configuration> |
| 152 | + <source>${java.version}</source> |
| 153 | + <target>${java.version}</target> |
| 154 | + <encoding>UTF-8</encoding> |
| 155 | + <fork>true</fork> |
| 156 | + </configuration> |
| 157 | + </plugin> |
| 158 | + |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 162 | + <version>${maven.javadoc.plugin.version}</version> |
| 163 | + <configuration> |
| 164 | + <source>${java.version}</source> |
| 165 | + <failOnError>false</failOnError> |
| 166 | + <failOnWarnings>false</failOnWarnings> |
| 167 | + </configuration> |
| 168 | + <extensions>true</extensions> |
| 169 | + <executions> |
| 170 | + <execution> |
| 171 | + <id>generate-javadoc-json</id> |
| 172 | + <phase>compile</phase> |
| 173 | + <goals> |
| 174 | + <goal>javadoc-no-fork</goal> |
| 175 | + </goals> |
| 176 | + </execution> |
| 177 | + </executions> |
| 178 | + </plugin> |
| 179 | + |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-surefire-plugin</artifactId> |
| 183 | + <version>${maven.surefire.plugin.version}</version> |
| 184 | + <configuration> |
| 185 | + <argLine>-Xmx4096m</argLine> |
| 186 | + <argLine> |
| 187 | + --add-opens java.base/java.time=ALL-UNNAMED |
| 188 | + </argLine> |
| 189 | + <includes> |
| 190 | + <include>**/*Test.java</include> |
| 191 | + <include>**/*Documentation.java</include> |
| 192 | + </includes> |
| 193 | + </configuration> |
| 194 | + </plugin> |
| 195 | + |
| 196 | + <plugin> |
| 197 | + <groupId>org.apache.maven.plugins</groupId> |
| 198 | + <artifactId>maven-resources-plugin</artifactId> |
| 199 | + <version>${maven.resources.plugin.version}</version> |
| 200 | + <executions> |
| 201 | + <execution> |
| 202 | + <id>copy-resources</id> |
| 203 | + <phase>prepare-package</phase> |
| 204 | + <goals> |
| 205 | + <goal>copy-resources</goal> |
| 206 | + </goals> |
| 207 | + <configuration> |
| 208 | + <outputDirectory>${project.build.outputDirectory}/static/docs</outputDirectory> |
| 209 | + <resources> |
| 210 | + <resource> |
| 211 | + <directory>${project.build.directory}/generated-docs</directory> |
| 212 | + </resource> |
| 213 | + </resources> |
| 214 | + </configuration> |
| 215 | + </execution> |
| 216 | + </executions> |
| 217 | + </plugin> |
| 218 | + |
| 219 | + </plugins> |
| 220 | + |
| 221 | + </build> |
| 222 | + |
| 223 | + <repositories> |
| 224 | + |
| 225 | + <!-- Maven repository --> |
| 226 | + <repository> |
| 227 | + <id>maven</id> |
| 228 | + <name>Maven repo</name> |
| 229 | + <url>https://repo.maven.apache.org/maven2/</url> |
| 230 | + </repository> |
| 231 | + |
| 232 | + </repositories> |
| 233 | + |
| 234 | +</project> |
0 commit comments