|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <parent> |
| 5 | + <groupId>org.springframework.boot</groupId> |
| 6 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 7 | + <version>3.5.4</version> |
| 8 | + <relativePath/> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <groupId>de.muenchen.oss.dbs.ticketing.eai</groupId> |
| 12 | + <artifactId>api-client-internal</artifactId> |
| 13 | + <name>api-client-internal</name> |
| 14 | + <description>API client for dbs-ticketing-eai internal endpoints</description> |
| 15 | + <version>0.1.0-SNAPSHOT</version> |
| 16 | + <url>https://github.com/it-at-m/dbs</url> |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>MIT</name> |
| 20 | + <url>https://opensource.org/licenses/MIT</url> |
| 21 | + <distribution>repo</distribution> |
| 22 | + </license> |
| 23 | + </licenses> |
| 24 | + <scm> |
| 25 | + <url>https://github.com/it-at-m/dbs.git</url> |
| 26 | + <connection>scm:git:https://github.com/it-at-m/dbs.git</connection> |
| 27 | + <developerConnection>scm:git:https://github.com/it-at-m/dbs.git</developerConnection> |
| 28 | + <tag>HEAD</tag> |
| 29 | + </scm> |
| 30 | + <developers> |
| 31 | + <developer> |
| 32 | + <organization>it@M</organization> |
| 33 | + |
| 34 | + <url>https://github.com/it-at-m</url> |
| 35 | + </developer> |
| 36 | + </developers> |
| 37 | + |
| 38 | + <properties> |
| 39 | + <openapi-generator-maven-plugin.version>7.14.0</openapi-generator-maven-plugin.version> |
| 40 | + <jackson-databind-nullable.version>0.2.6</jackson-databind-nullable.version> |
| 41 | + |
| 42 | + <!-- Release --> |
| 43 | + <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version> |
| 44 | + <maven-release-plugin.version>3.1.1</maven-release-plugin.version> |
| 45 | + <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version> |
| 46 | + </properties> |
| 47 | + |
| 48 | + <dependencies> |
| 49 | + <!-- Spring --> |
| 50 | + <dependency> |
| 51 | + <groupId>org.springframework</groupId> |
| 52 | + <artifactId>spring-webflux</artifactId> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.springframework.boot</groupId> |
| 56 | + <artifactId>spring-boot-starter-logging</artifactId> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.springframework.boot</groupId> |
| 60 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.springframework.security</groupId> |
| 64 | + <artifactId>spring-security-oauth2-client</artifactId> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.springframework.boot</groupId> |
| 68 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 69 | + <optional>true</optional> |
| 70 | + </dependency> |
| 71 | + |
| 72 | + <!-- openApi --> |
| 73 | + <dependency> |
| 74 | + <groupId>org.openapitools</groupId> |
| 75 | + <artifactId>jackson-databind-nullable</artifactId> |
| 76 | + <version>${jackson-databind-nullable.version}</version> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>com.fasterxml.jackson.datatype</groupId> |
| 80 | + <artifactId>jackson-datatype-jsr310</artifactId> |
| 81 | + </dependency> |
| 82 | + </dependencies> |
| 83 | + |
| 84 | + <build> |
| 85 | + <plugins> |
| 86 | + <!-- OpenAPI --> |
| 87 | + <plugin> |
| 88 | + <groupId>org.openapitools</groupId> |
| 89 | + <artifactId>openapi-generator-maven-plugin</artifactId> |
| 90 | + <version>${openapi-generator-maven-plugin.version}</version> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <goals> |
| 94 | + <goal>generate</goal> |
| 95 | + </goals> |
| 96 | + <configuration> |
| 97 | + <inputSpec>${project.basedir}/src/main/resources/api-spec-internal-without-security.json</inputSpec> |
| 98 | + <library>webclient</library> |
| 99 | + <generatorName>java</generatorName> |
| 100 | + |
| 101 | + <apiPackage>de.muenchen.oss.dbs.ticketing.eai.client.api</apiPackage> |
| 102 | + <modelPackage>de.muenchen.oss.dbs.ticketing.eai.client.model</modelPackage> |
| 103 | + <invokerPackage>de.muenchen.oss.dbs.ticketing.eai.client</invokerPackage> |
| 104 | + |
| 105 | + <serverVariableOverrides /> |
| 106 | + <configOptions> |
| 107 | + <useJakartaEe>true</useJakartaEe> |
| 108 | + <useAbstractionForFiles>true</useAbstractionForFiles> |
| 109 | + </configOptions> |
| 110 | + </configuration> |
| 111 | + </execution> |
| 112 | + </executions> |
| 113 | + </plugin> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-source-plugin</artifactId> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>attach-sources</id> |
| 120 | + <goals> |
| 121 | + <goal>jar-no-fork</goal> |
| 122 | + </goals> |
| 123 | + </execution> |
| 124 | + </executions> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 129 | + <configuration> |
| 130 | + <doclint>accessibility,html,reference,syntax</doclint> |
| 131 | + </configuration> |
| 132 | + <executions> |
| 133 | + <execution> |
| 134 | + <id>attach-javadocs</id> |
| 135 | + <goals> |
| 136 | + <goal>jar</goal> |
| 137 | + </goals> |
| 138 | + </execution> |
| 139 | + </executions> |
| 140 | + </plugin> |
| 141 | + <!-- Release --> |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-release-plugin</artifactId> |
| 145 | + <version>${maven-release-plugin.version}</version> |
| 146 | + <configuration> |
| 147 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 148 | + <useReleaseProfile>false</useReleaseProfile> |
| 149 | + <releaseProfiles>release</releaseProfiles> |
| 150 | + <goals>deploy</goals> |
| 151 | + </configuration> |
| 152 | + </plugin> |
| 153 | + </plugins> |
| 154 | + </build> |
| 155 | + |
| 156 | + <profiles> |
| 157 | + <profile> |
| 158 | + <id>release</id> |
| 159 | + <build> |
| 160 | + <plugins> |
| 161 | + <!-- Central Portal Publishing Plugin --> |
| 162 | + <plugin> |
| 163 | + <groupId>org.sonatype.central</groupId> |
| 164 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 165 | + <version>${central-publishing-maven-plugin.version}</version> |
| 166 | + <extensions>true</extensions> |
| 167 | + <configuration> |
| 168 | + <autoPublish>true</autoPublish> |
| 169 | + <deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + <!-- GPG plugin --> |
| 173 | + <plugin> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-gpg-plugin</artifactId> |
| 176 | + <version>${maven-gpg-plugin.version}</version> |
| 177 | + <executions> |
| 178 | + <execution> |
| 179 | + <id>sign-artifacts</id> |
| 180 | + <phase>verify</phase> |
| 181 | + <goals> |
| 182 | + <goal>sign</goal> |
| 183 | + </goals> |
| 184 | + <configuration> |
| 185 | + <!-- Prevent `gpg` from using pinentry programs --> |
| 186 | + <gpgArguments> |
| 187 | + <arg>--pinentry-mode</arg> |
| 188 | + <arg>loopback</arg> |
| 189 | + </gpgArguments> |
| 190 | + </configuration> |
| 191 | + </execution> |
| 192 | + </executions> |
| 193 | + </plugin> |
| 194 | + </plugins> |
| 195 | + </build> |
| 196 | + </profile> |
| 197 | + </profiles> |
| 198 | +</project> |
0 commit comments