Skip to content

Commit e1974c9

Browse files
committed
Reattach to template III
1 parent 410dcf7 commit e1974c9

File tree

1 file changed

+77
-15
lines changed

1 file changed

+77
-15
lines changed

bzst-dip-java-client/pom.xml

Lines changed: 77 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>software.xdev</groupId>
8-
<artifactId>template-placeholder</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
8+
<artifactId>bzst-dip-java-client</artifactId>
9+
<version>2.0.3-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

12-
<name>template-placeholder</name>
13-
<description>template-placeholder</description>
14-
<url>https://github.com/xdev-software/template-placeholder</url>
12+
<name>bzst-dip-java-client</name>
13+
<description>bzst-dip-java-client</description>
14+
<url>https://github.com/xdev-software/bzst-dip-java-client</url>
1515

1616
<scm>
17-
<url>https://github.com/xdev-software/template-placeholder</url>
18-
<connection>scm:git:https://github.com/xdev-software/template-placeholder.git</connection>
17+
<url>https://github.com/xdev-software/bzst-dip-java-client</url>
18+
<connection>scm:git:https://github.com/xdev-software/bzst-dip-java-client.git</connection>
1919
</scm>
2020

21-
<inceptionYear>2023</inceptionYear>
21+
<inceptionYear>2024</inceptionYear>
2222

2323
<organization>
2424
<name>XDEV Software</name>
@@ -54,6 +54,8 @@
5454
<sonar.exclusions>
5555
src/generated/**
5656
</sonar.exclusions>
57+
58+
<jjwt.version>0.12.6</jjwt.version>
5759
</properties>
5860

5961
<dependencyManagement>
@@ -104,6 +106,64 @@
104106
<artifactId>jakarta.annotation-api</artifactId>
105107
<version>3.0.0</version>
106108
</dependency>
109+
110+
<!-- Custom project stuff -->
111+
<dependency>
112+
<groupId>commons-io</groupId>
113+
<artifactId>commons-io</artifactId>
114+
<version>2.19.0</version>
115+
</dependency>
116+
<dependency>
117+
<groupId>jakarta.xml.bind</groupId>
118+
<artifactId>jakarta.xml.bind-api</artifactId>
119+
<version>4.0.2</version>
120+
</dependency>
121+
<dependency>
122+
<groupId>com.sun.xml.bind</groupId>
123+
<artifactId>jaxb-impl</artifactId>
124+
<version>4.0.5</version>
125+
</dependency>
126+
<dependency>
127+
<groupId>io.jsonwebtoken</groupId>
128+
<artifactId>jjwt-api</artifactId>
129+
<version>${jjwt.version}</version>
130+
</dependency>
131+
<dependency>
132+
<groupId>io.jsonwebtoken</groupId>
133+
<artifactId>jjwt-impl</artifactId>
134+
<version>${jjwt.version}</version>
135+
<scope>runtime</scope>
136+
</dependency>
137+
<dependency>
138+
<groupId>io.jsonwebtoken</groupId>
139+
<artifactId>jjwt-jackson</artifactId>
140+
<version>${jjwt.version}</version>
141+
<scope>runtime</scope>
142+
</dependency>
143+
144+
<dependency>
145+
<groupId>org.slf4j</groupId>
146+
<artifactId>slf4j-api</artifactId>
147+
<version>2.0.17</version>
148+
</dependency>
149+
<dependency>
150+
<groupId>com.opencsv</groupId>
151+
<artifactId>opencsv</artifactId>
152+
<version>5.11</version>
153+
</dependency>
154+
155+
<dependency>
156+
<groupId>org.junit.jupiter</groupId>
157+
<artifactId>junit-jupiter</artifactId>
158+
<version>5.13.3</version>
159+
<scope>test</scope>
160+
</dependency>
161+
<dependency>
162+
<groupId>org.apache.logging.log4j</groupId>
163+
<artifactId>log4j-slf4j2-impl</artifactId>
164+
<version>2.24.3</version>
165+
<scope>test</scope>
166+
</dependency>
107167
</dependencies>
108168

109169
<build>
@@ -282,7 +342,8 @@
282342
<profile>
283343
<id>openapi-generator</id>
284344
<properties>
285-
<componentName>INSERT_NAME_HERE</componentName>
345+
<componentDir>bzst/dip/client/generated</componentDir>
346+
<componentPackage>bzst.dip.client.generated</componentPackage>
286347

287348
<generatedDir>${project.basedir}/${generatedDirRelative}</generatedDir>
288349
<openApiRelativeGeneratorDir>src/gen</openApiRelativeGeneratorDir>
@@ -336,9 +397,9 @@
336397
<configOptions>
337398
<sourceFolder>${openApiRelativeGeneratorDir}</sourceFolder>
338399
<library>apache-httpclient</library>
339-
<apiPackage>software.xdev.${componentName}.api</apiPackage>
340-
<modelPackage>software.xdev.${componentName}.model</modelPackage>
341-
<invokerPackage>software.xdev.${componentName}.client</invokerPackage>
400+
<apiPackage>software.xdev.${componentPackage}.api</apiPackage>
401+
<modelPackage>software.xdev.${componentPackage}.model</modelPackage>
402+
<invokerPackage>software.xdev.${componentPackage}.client</invokerPackage>
342403
<!-- Otherwise throw and catch everywhere -->
343404
<useRuntimeException>true</useRuntimeException>
344405
<!-- Some fields of API have been ignored because they are unused -->
@@ -392,7 +453,7 @@
392453
<goal>file-contents</goal>
393454
</goals>
394455
<configuration>
395-
<baseDir>${generatedDirRelative}/software/xdev/${componentName}/client/</baseDir>
456+
<baseDir>${generatedDirRelative}/software/xdev/${componentDir}/client/</baseDir>
396457
<fileMask>ApiClient.java</fileMask>
397458
<!-- @formatter:off DO NOT INTRODUCE LINE BREAK -->
398459
<findRegex>^import com\.fasterxml\.jackson\.jaxrs\.json\.JacksonJsonProvider;(\r?\n)</findRegex>
@@ -408,7 +469,7 @@
408469
<goal>file-contents</goal>
409470
</goals>
410471
<configuration>
411-
<baseDir>${generatedDirRelative}/software/xdev/${componentName}/</baseDir>
472+
<baseDir>${generatedDirRelative}/software/xdev/${componentDir}/</baseDir>
412473
<recursive>true</recursive>
413474
<fileMask>.java</fileMask>
414475
<findRegex>^@jakarta\.annotation\.Generated.*(\r?\n)</findRegex>
@@ -424,7 +485,7 @@
424485
<goal>file-contents</goal>
425486
</goals>
426487
<configuration>
427-
<baseDir>${generatedDirRelative}/software/xdev/${componentName}/</baseDir>
488+
<baseDir>${generatedDirRelative}/software/xdev/${componentDir}/</baseDir>
428489
<recursive>true</recursive>
429490
<fileMask>.java</fileMask>
430491
<findRegex>^.*serialVersionUID.*(\r?\n)(\s*\r?\n)?</findRegex>
@@ -455,6 +516,7 @@
455516
<configuration>
456517
<configLocation>../.config/checkstyle/checkstyle.xml</configLocation>
457518
<includeTestSourceDirectory>true</includeTestSourceDirectory>
519+
<excludes>**/xmldocument/model/**/*</excludes>
458520
</configuration>
459521
<executions>
460522
<execution>

0 commit comments

Comments
 (0)