|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 |
|
7 |
| - <artifactId>ipaidthat-proxy</artifactId> |
8 |
| - <groupId>fr.hiit</groupId> |
9 |
| - <version>1.0.0-SNAPSHOT</version> |
| 7 | + <artifactId>ipaidthat-java-client</artifactId> |
| 8 | + <groupId>fr.hiitconsulting</groupId> |
| 9 | + <version>3.2.0-SNAPSHOT</version> |
10 | 10 |
|
11 | 11 | <name>${project.artifactId}</name>
|
12 | 12 |
|
|
18 | 18 |
|
19 | 19 | <!-- Dependency versions -->
|
20 | 20 | <ms-parent.version>1.5.0</ms-parent.version>
|
| 21 | + <jackson-databind-nullable.version>0.2.6</jackson-databind-nullable.version> |
21 | 22 |
|
22 | 23 | <!-- Plugin versions -->
|
| 24 | + <maven-clean-plugin.version>3.3.2</maven-clean-plugin.version> |
23 | 25 | <maven-source-plugin.version>3.3.0</maven-source-plugin.version>
|
24 |
| - <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version> |
25 |
| - <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> |
| 26 | + <openapi-generator-maven-plugin.version>7.0.1</openapi-generator-maven-plugin.version> |
26 | 27 | </properties>
|
27 | 28 |
|
28 | 29 | <scm>
|
29 |
| - <url>https://github.com/hiit-consulting-fr/ipaidthat-proxy</url> |
| 30 | + <url>https://github.com/hiit-consulting-fr/ipaidthat-java-client</url> |
30 | 31 | </scm>
|
31 | 32 |
|
32 | 33 | <issueManagement>
|
33 |
| - <url>https://github.com/hiit-consulting-fr/ipaidthat-proxy/issues</url> |
| 34 | + <url>https://github.com/hiit-consulting-fr/ipaidthat-java-client/issues</url> |
34 | 35 | </issueManagement>
|
35 | 36 |
|
36 | 37 | <ciManagement>
|
37 |
| - <url>https://github.com/hiit-consulting-fr/ipaidthat-proxy/actions</url> |
| 38 | + <url>https://github.com/hiit-consulting-fr/ipaidthat-java-client/actions</url> |
38 | 39 | </ciManagement>
|
39 | 40 |
|
40 | 41 | <organization>
|
|
61 | 62 | <groupId>org.springframework.boot</groupId>
|
62 | 63 | <artifactId>spring-boot-starter-web</artifactId>
|
63 | 64 | </dependency>
|
64 |
| - <dependency> |
65 |
| - <groupId>org.springframework.cloud</groupId> |
66 |
| - <artifactId>spring-cloud-starter-openfeign</artifactId> |
67 |
| - </dependency> |
68 |
| - <dependency> |
69 |
| - <groupId>org.springframework.boot</groupId> |
70 |
| - <artifactId>spring-boot-starter-validation</artifactId> |
71 |
| - </dependency> |
72 |
| - <dependency> |
73 |
| - <groupId>org.springframework.boot</groupId> |
74 |
| - <artifactId>spring-boot-configuration-processor</artifactId> |
75 |
| - <optional>true</optional> |
76 |
| - </dependency> |
77 | 65 |
|
78 | 66 | <!-- Others -->
|
79 | 67 | <dependency>
|
80 |
| - <groupId>org.projectlombok</groupId> |
81 |
| - <artifactId>lombok</artifactId> |
82 |
| - <optional>true</optional> |
| 68 | + <groupId>org.openapitools</groupId> |
| 69 | + <artifactId>jackson-databind-nullable</artifactId> |
| 70 | + <version>${jackson-databind-nullable.version}</version> |
83 | 71 | </dependency>
|
84 |
| - |
85 |
| - <dependency> |
86 |
| - <groupId>org.springframework.boot</groupId> |
87 |
| - <artifactId>spring-boot-starter-test</artifactId> |
88 |
| - <scope>test</scope> |
89 |
| - </dependency> |
90 |
| - |
91 | 72 | </dependencies>
|
92 | 73 |
|
93 | 74 | <build>
|
94 |
| - <pluginManagement> |
95 |
| - <plugins> |
96 |
| - <plugin> |
97 |
| - <groupId>org.apache.maven.plugins</groupId> |
98 |
| - <artifactId>maven-surefire-plugin</artifactId> |
99 |
| - <version>${maven-surefire-plugin.version}</version> |
100 |
| - </plugin> |
101 |
| - </plugins> |
102 |
| - </pluginManagement> |
103 |
| - |
104 | 75 | <plugins>
|
105 | 76 | <plugin>
|
106 | 77 | <groupId>org.apache.maven.plugins</groupId>
|
|
116 | 87 | </execution>
|
117 | 88 | </executions>
|
118 | 89 | </plugin>
|
| 90 | + <plugin> |
| 91 | + <groupId>org.apache.maven.plugins</groupId> |
| 92 | + <artifactId>maven-clean-plugin</artifactId> |
| 93 | + <version>${maven-clean-plugin.version}</version> |
| 94 | + <configuration> |
| 95 | + <filesets> |
| 96 | + <fileset> |
| 97 | + <directory>gen</directory> |
| 98 | + <excludes> |
| 99 | + <exclude>**/.openapi-generator-ignore</exclude> |
| 100 | + <exclude>**/maven.config</exclude> |
| 101 | + </excludes> |
| 102 | + </fileset> |
| 103 | + </filesets> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.openapitools</groupId> |
| 108 | + <artifactId>openapi-generator-maven-plugin</artifactId> |
| 109 | + <version>${openapi-generator-maven-plugin.version}</version> |
| 110 | + <executions> |
| 111 | + <execution> |
| 112 | + <goals> |
| 113 | + <goal>generate</goal> |
| 114 | + </goals> |
| 115 | + <configuration> |
| 116 | + <inputSpec>swagger.yml</inputSpec> |
| 117 | + <output>${project.basedir}/gen</output> |
| 118 | + <generatorName>java</generatorName> |
| 119 | + <apiPackage>${project.groupId}.ipaidthat.client.api</apiPackage> |
| 120 | + <modelPackage>${project.groupId}.ipaidthat.client.model</modelPackage> |
| 121 | + <invokerPackage>${project.groupId}.ipaidthat.client.invoker</invokerPackage> |
| 122 | + <groupId>${project.groupId}</groupId> |
| 123 | + <artifactId>ipaidthat-java-client</artifactId> |
| 124 | + <artifactVersion>${project.version}</artifactVersion> |
| 125 | + <skipValidateSpec>true</skipValidateSpec> |
| 126 | + <configOptions> |
| 127 | + <dateLibrary>java8</dateLibrary> |
| 128 | + <library>resttemplate</library> |
| 129 | + <useJakartaEe>true</useJakartaEe> |
| 130 | + </configOptions> |
| 131 | + </configuration> |
| 132 | + </execution> |
| 133 | + </executions> |
| 134 | + </plugin> |
119 | 135 | </plugins>
|
120 | 136 | </build>
|
121 | 137 |
|
122 | 138 | <distributionManagement>
|
123 | 139 | <repository>
|
124 | 140 | <id>github</id>
|
125 | 141 | <name>GitHub Hi!t Consulting Apache Maven Packages</name>
|
126 |
| - <url>https://maven.pkg.github.com/hiit-consulting-fr/ipaidthat-proxy</url> |
| 142 | + <url>https://maven.pkg.github.com/hiit-consulting-fr/ipaidthat-java-client</url> |
127 | 143 | </repository>
|
128 | 144 | </distributionManagement>
|
129 | 145 |
|
|
137 | 153 | <url>https://maven.pkg.github.com/hiit-consulting-fr/ms-parent</url>
|
138 | 154 | </repository>
|
139 | 155 | </repositories>
|
140 |
| - |
141 |
| - <profiles> |
142 |
| - <profile> |
143 |
| - <id>coverage</id> |
144 |
| - <build> |
145 |
| - <plugins> |
146 |
| - <plugin> |
147 |
| - <groupId>org.jacoco</groupId> |
148 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
149 |
| - <version>${jacoco-maven-plugin.version}</version> |
150 |
| - <executions> |
151 |
| - <execution> |
152 |
| - <goals> |
153 |
| - <goal>prepare-agent</goal> |
154 |
| - </goals> |
155 |
| - </execution> |
156 |
| - <execution> |
157 |
| - <id>generate-code-coverage-report</id> |
158 |
| - <phase>test</phase> |
159 |
| - <goals> |
160 |
| - <goal>report</goal> |
161 |
| - </goals> |
162 |
| - </execution> |
163 |
| - </executions> |
164 |
| - </plugin> |
165 |
| - <plugin> |
166 |
| - <groupId>org.eluder.coveralls</groupId> |
167 |
| - <artifactId>coveralls-maven-plugin</artifactId> |
168 |
| - <version>4.3.0</version> |
169 |
| - <configuration> |
170 |
| - <repoToken>${env.COVERALLS_REPO_TOKEN}</repoToken> |
171 |
| - </configuration> |
172 |
| - <dependencies> |
173 |
| - <dependency> |
174 |
| - <groupId>javax.xml.bind</groupId> |
175 |
| - <artifactId>jaxb-api</artifactId> |
176 |
| - <version>2.3.1</version> |
177 |
| - </dependency> |
178 |
| - </dependencies> |
179 |
| - </plugin> |
180 |
| - </plugins> |
181 |
| - </build> |
182 |
| - </profile> |
183 |
| - </profiles> |
184 |
| - |
185 | 156 | </project>
|
0 commit comments