1 | 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" |
3 | | - | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - | <modelVersion>4.0.0</modelVersion> |
5 | | - | <parent> |
6 | | - | <groupId>org.springframework.boot</groupId> |
7 | | - | <artifactId>spring-boot-starter-parent</artifactId> |
8 | | - | <version>3.0.5</version> |
9 | | - | <relativePath/> <!-- lookup parent from repository --> |
10 | | - | </parent> |
11 | | - | <groupId>org.owasp</groupId> |
12 | | - | <artifactId>wrongsecrets</artifactId> |
13 | | - | <version>1.6.1-SNAPSHOT</version> |
14 | | - | <name>OWASP WrongSecrets</name> |
15 | | - | <description>Examples with how to not use secrets</description> |
16 | | - | <url>https://owasp.org/www-project-wrongsecrets/</url> |
17 | | - | <scm> |
18 | | - | <url>https://github.com/OWASP/wrongsecrets</url> |
19 | | - | </scm> |
20 | | - | <issueManagement> |
21 | | - | <system>GitHub Issue Tracking</system> |
22 | | - | <url>https://github.com/OWASP/wrongsecrets/issues</url> |
23 | | - | </issueManagement> |
24 | | - | <licenses> |
25 | | - | <license> |
26 | | - | <name>AGPLv3 License</name> |
27 | | - | <url>https://opensource.org/license/agpl-v3/</url> |
28 | | - | <distribution>repo</distribution> |
29 | | - | </license> |
30 | | - | </licenses> |
31 | | - | <organization> |
32 | | - | <name>The Open Web Application Security Project (OWASP)</name> |
33 | | - | <url>https://owasp.org/</url> |
34 | | - | </organization> |
35 | | - | <!-- <distributionManagement>--> |
36 | | - | <!-- <snapshotRepository>--> |
37 | | - | <!-- <id>ossrh</id>--> |
38 | | - | <!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>--> |
39 | | - | <!-- </snapshotRepository>--> |
40 | | - | <!-- </distributionManagement>--> |
| 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + | <modelVersion>4.0.0</modelVersion> |
41 | 4 | | |
42 | | - | <properties> |
43 | | - | <java.version>19</java.version> |
44 | | - | <maven.compiler.target>19</maven.compiler.target> |
45 | | - | <spring.cloud-version>2022.0.2</spring.cloud-version> |
46 | | - | <lombok.version>1.18.26</lombok.version> |
47 | | - | <aws.sdk.version>2.20.39</aws.sdk.version> |
48 | | - | <asciidoctorj.version>2.5.7</asciidoctorj.version> |
49 | | - | <jruby.version>9.4.2.0</jruby.version> |
50 | | - | <bootstrap.version>5.2.3</bootstrap.version> |
51 | | - | <github.button.version>2.14.1</github.button.version> |
52 | | - | <datatables.version>1.13.2</datatables.version> |
53 | | - | <gcp.sdk.version>4.1.3</gcp.sdk.version> |
54 | | - | <jquery.version>3.6.4</jquery.version> |
55 | | - | <thymeleaf.layout.version>3.2.1</thymeleaf.layout.version> |
56 | | - | <thymeleaf-extras-springsecurity6.version>3.1.1.RELEASE</thymeleaf-extras-springsecurity6.version> |
57 | | - | <asciidoctor.maven.plugin.version>2.2.3</asciidoctor.maven.plugin.version> |
58 | | - | <spring.security.version>6.0.2</spring.security.version> |
59 | | - | <com.azure.spring.version>5.0.0</com.azure.spring.version> |
60 | | - | <cyclonedx.core.version>7.3.2</cyclonedx.core.version> |
61 | | - | <KeePassJava2.version>2.1.4</KeePassJava2.version> |
62 | | - | <system-stubs-jupiter.version>2.0.2</system-stubs-jupiter.version> |
63 | | - | <dependency-check-maven.version>8.1.2</dependency-check-maven.version> |
64 | | - | </properties> |
| 5 | + | <parent> |
| 6 | + | <groupId>org.springframework.boot</groupId> |
| 7 | + | <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + | <version>3.0.6</version> |
| 9 | + | <relativePath></relativePath> |
| 10 | + | <!-- lookup parent from repository --> |
| 11 | + | </parent> |
65 | 12 | | |
| 13 | + | <groupId>org.owasp</groupId> |
| 14 | + | <artifactId>wrongsecrets</artifactId> |
| 15 | + | <version>1.6.1-SNAPSHOT</version> |
| 16 | + | |
| 17 | + | <name>OWASP WrongSecrets</name> |
| 18 | + | <description>Examples with how to not use secrets</description> |
| 19 | + | <url>https://owasp.org/www-project-wrongsecrets/</url> |
| 20 | + | <organization> |
| 21 | + | <name>The Open Web Application Security Project (OWASP)</name> |
| 22 | + | <url>https://owasp.org/</url> |
| 23 | + | </organization> |
| 24 | + | <licenses> |
| 25 | + | <license> |
| 26 | + | <name>AGPLv3 License</name> |
| 27 | + | <url>https://opensource.org/license/agpl-v3/</url> |
| 28 | + | <distribution>repo</distribution> |
| 29 | + | </license> |
| 30 | + | </licenses> |
| 31 | + | |
| 32 | + | <scm> |
| 33 | + | <url>https://github.com/OWASP/wrongsecrets</url> |
| 34 | + | </scm> |
| 35 | + | <issueManagement> |
| 36 | + | <system>GitHub Issue Tracking</system> |
| 37 | + | <url>https://github.com/OWASP/wrongsecrets/issues</url> |
| 38 | + | </issueManagement> |
| 39 | + | |
| 40 | + | <!-- <distributionManagement>--> |
| 41 | + | <!-- <snapshotRepository>--> |
| 42 | + | <!-- <id>ossrh</id>--> |
| 43 | + | <!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>--> |
| 44 | + | <!-- </snapshotRepository>--> |
| 45 | + | <!-- </distributionManagement>--> |
| 46 | + | <properties> |
| 47 | + | <KeePassJava2.version>2.1.4</KeePassJava2.version> |
| 48 | + | <asciidoctor.maven.plugin.version>2.2.3</asciidoctor.maven.plugin.version> |
| 49 | + | <asciidoctorj.version>2.5.8</asciidoctorj.version> |
| 50 | + | <aws.sdk.version>2.20.56</aws.sdk.version> |
| 51 | + | <bootstrap.version>5.2.3</bootstrap.version> |
| 52 | + | <com.azure.spring.version>5.1.0</com.azure.spring.version> |
| 53 | + | <cyclonedx.core.version>7.3.2</cyclonedx.core.version> |
| 54 | + | <datatables.version>1.13.2</datatables.version> |
| 55 | + | <dependency-check-maven.version>8.2.1</dependency-check-maven.version> |
| 56 | + | <gcp.sdk.version>4.2.0</gcp.sdk.version> |
| 57 | + | <github.button.version>2.14.1</github.button.version> |
| 58 | + | <java.version>19</java.version> |
| 59 | + | <jquery.version>3.6.4</jquery.version> |
| 60 | + | <jruby.version>9.4.2.0</jruby.version> |
| 61 | + | <lombok.version>1.18.26</lombok.version> |
| 62 | + | <maven.compiler.target>19</maven.compiler.target> |
| 63 | + | <spring.cloud-version>2022.0.2</spring.cloud-version> |
| 64 | + | <spring.security.version>6.0.2</spring.security.version> |
| 65 | + | <system-stubs-jupiter.version>2.0.2</system-stubs-jupiter.version> |
| 66 | + | <thymeleaf-extras-springsecurity6.version>3.1.1.RELEASE</thymeleaf-extras-springsecurity6.version> |
| 67 | + | <thymeleaf.layout.version>3.2.1</thymeleaf.layout.version> |
| 68 | + | </properties> |
| 69 | + | |
| 70 | + | <dependencyManagement> |
66 | 71 | | <dependencies> |
67 | | - | <dependency> |
68 | | - | <groupId>org.projectlombok</groupId> |
69 | | - | <artifactId>lombok</artifactId> |
70 | | - | <version>${lombok.version}</version> |
71 | | - | <scope>provided</scope> |
72 | | - | </dependency> |
73 | | - | <dependency> |
74 | | - | <groupId>org.springframework.boot</groupId> |
75 | | - | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
76 | | - | </dependency> |
| 72 | + | <dependency> |
| 73 | + | <groupId>org.springframework.cloud</groupId> |
| 74 | + | <artifactId>spring-cloud-dependencies</artifactId> |
| 75 | + | <version>${spring.cloud-version}</version> |
| 76 | + | <type>pom</type> |
| 77 | + | <scope>import</scope> |
| 78 | + | </dependency> |
| 79 | + | <dependency> |
| 80 | + | <groupId>com.google.cloud</groupId> |
| 81 | + | <artifactId>spring-cloud-gcp-dependencies</artifactId> |
| 82 | + | <version>${gcp.sdk.version}</version> |
| 83 | + | <type>pom</type> |
| 84 | + | <scope>import</scope> |
| 85 | + | </dependency> |
| 86 | + | <dependency> |
| 87 | + | <groupId>com.azure.spring</groupId> |
| 88 | + | <artifactId>spring-cloud-azure-dependencies</artifactId> |
| 89 | + | <version>${com.azure.spring.version}</version> |
| 90 | + | <type>pom</type> |
| 91 | + | <scope>import</scope> |
| 92 | + | </dependency> |
| 93 | + | </dependencies> |
| 94 | + | </dependencyManagement> |
| 95 | + | <dependencies> |
| 96 | + | <dependency> |
| 97 | + | <groupId>org.projectlombok</groupId> |
| 98 | + | <artifactId>lombok</artifactId> |
| 99 | + | <version>${lombok.version}</version> |
| 100 | + | <scope>provided</scope> |
| 101 | + | </dependency> |
| 102 | + | <dependency> |
| 103 | + | <groupId>org.springframework.boot</groupId> |
| 104 | + | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 105 | + | </dependency> |
77 | 106 | | |
78 | | - | <dependency> |
79 | | - | <groupId>nz.net.ultraq.thymeleaf</groupId> |
80 | | - | <artifactId>thymeleaf-layout-dialect</artifactId> |
81 | | - | <version>${thymeleaf.layout.version}</version> |
82 | | - | </dependency> |
83 | | - | <dependency> |
84 | | - | <groupId>org.thymeleaf.extras</groupId> |
85 | | - | <artifactId>thymeleaf-extras-springsecurity6</artifactId> |
86 | | - | <version>${thymeleaf-extras-springsecurity6.version}</version> |
87 | | - | </dependency> |
88 | | - | <dependency> |
89 | | - | <groupId>org.springframework.boot</groupId> |
90 | | - | <artifactId>spring-boot-starter</artifactId> |
91 | | - | </dependency> |
92 | | - | <dependency> |
93 | | - | <groupId>org.springframework.boot</groupId> |
94 | | - | <artifactId>spring-boot-starter-actuator</artifactId> |
95 | | - | </dependency> |
96 | | - | <dependency> |
97 | | - | <groupId>org.springframework.security</groupId> |
98 | | - | <artifactId>spring-security-config</artifactId> |
99 | | - | <version>${spring-security.version}</version> |
100 | | - | </dependency> |
101 | | - | <dependency> |
102 | | - | <groupId>org.springframework.security</groupId> |
103 | | - | <artifactId>spring-security-web</artifactId> |
104 | | - | <version>${spring-security.version}</version> |
105 | | - | </dependency> |
106 | | - | <dependency> |
107 | | - | <groupId>org.springframework.security</groupId> |
108 | | - | <artifactId>spring-security-test</artifactId> |
109 | | - | <version>${spring-security.version}</version> |
110 | | - | <scope>test</scope> |
111 | | - | </dependency> |
112 | | - | <dependency> |
113 | | - | <groupId>org.springframework.boot</groupId> |
114 | | - | <artifactId>spring-boot-starter-web</artifactId> |
115 | | - | </dependency> |
116 | | - | <dependency> |
117 | | - | <groupId>org.springframework.cloud</groupId> |
118 | | - | <artifactId>spring-cloud-starter-vault-config</artifactId> |
119 | | - | </dependency> |
120 | | - | <dependency> |
121 | | - | <groupId>org.springframework.cloud</groupId> |
122 | | - | <artifactId>spring-cloud-vault-config</artifactId> |
123 | | - | </dependency> |
124 | | - | <dependency> |
125 | | - | <groupId>software.amazon.awssdk</groupId> |
126 | | - | <artifactId>sts</artifactId> |
127 | | - | <version>${aws.sdk.version}</version> |
128 | | - | </dependency> |
129 | | - | <dependency> |
130 | | - | <groupId>software.amazon.awssdk</groupId> |
131 | | - | <artifactId>ssm</artifactId> |
132 | | - | <version>${aws.sdk.version}</version> |
133 | | - | </dependency> |
134 | | - | <dependency> |
135 | | - | <groupId>org.linguafranca.pwdb</groupId> |
136 | | - | <artifactId>KeePassJava2</artifactId> |
137 | | - | <version>${KeePassJava2.version}</version> |
138 | | - | </dependency> |
139 | | - | <dependency> |
140 | | - | <groupId>org.asciidoctor</groupId> |
141 | | - | <artifactId>asciidoctorj-api</artifactId> |
142 | | - | <version>${asciidoctorj.version}</version> |
143 | | - | </dependency> |
144 | | - | <dependency> |
145 | | - | <groupId>org.asciidoctor</groupId> |
146 | | - | <artifactId>asciidoctorj</artifactId> |
147 | | - | <version>${asciidoctorj.version}</version> |
148 | | - | </dependency> |
149 | | - | <dependency> |
150 | | - | <groupId>org.jruby</groupId> |
151 | | - | <artifactId>jruby-complete</artifactId> |
152 | | - | <version>${jruby.version}</version> |
153 | | - | </dependency> |
154 | | - | <dependency> |
155 | | - | <groupId>org.webjars</groupId> |
156 | | - | <artifactId>bootstrap</artifactId> |
157 | | - | <version>${bootstrap.version}</version> |
158 | | - | </dependency> |
159 | | - | <dependency> |
160 | | - | <groupId>org.webjars.npm</groupId> |
161 | | - | <artifactId>github-buttons</artifactId> |
162 | | - | <version>${github.button.version}</version> |
163 | | - | </dependency> |
164 | | - | <dependency> |
165 | | - | <groupId>org.webjars</groupId> |
166 | | - | <artifactId>datatables</artifactId> |
167 | | - | <version>${datatables.version}</version> |
168 | | - | </dependency> |
169 | | - | <dependency> |
170 | | - | <groupId>org.webjars</groupId> |
171 | | - | <artifactId>jquery</artifactId> |
172 | | - | <version>${jquery.version}</version> |
173 | | - | </dependency> |
174 | | - | <!-- <dependency>--> |
175 | | - | <!-- <groupId>org.springframework.boot</groupId>--> |
176 | | - | <!-- <artifactId>spring-boot-devtools</artifactId>--> |
177 | | - | <!-- <optional>true</optional>--> |
178 | | - | <!-- </dependency>--> |
179 | | - | <dependency> |
180 | | - | <groupId>com.google.cloud</groupId> |
181 | | - | <artifactId>google-cloud-secretmanager</artifactId> |
182 | | - | </dependency> |
183 | | - | <dependency> |
184 | | - | <groupId>org.springdoc</groupId> |
185 | | - | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
186 | | - | <version>2.1.0</version> |
187 | | - | </dependency> |
188 | | - | <dependency> |
189 | | - | <groupId>com.azure.spring</groupId> |
190 | | - | <artifactId>spring-cloud-azure-starter-keyvault-secrets</artifactId> |
191 | | - | </dependency> |
| 107 | + | <dependency> |
| 108 | + | <groupId>nz.net.ultraq.thymeleaf</groupId> |
| 109 | + | <artifactId>thymeleaf-layout-dialect</artifactId> |
| 110 | + | <version>${thymeleaf.layout.version}</version> |
| 111 | + | </dependency> |
| 112 | + | <dependency> |
| 113 | + | <groupId>org.thymeleaf.extras</groupId> |
| 114 | + | <artifactId>thymeleaf-extras-springsecurity6</artifactId> |
| 115 | + | <version>${thymeleaf-extras-springsecurity6.version}</version> |
| 116 | + | </dependency> |
| 117 | + | <dependency> |
| 118 | + | <groupId>org.springframework.boot</groupId> |
| 119 | + | <artifactId>spring-boot-starter</artifactId> |
| 120 | + | </dependency> |
| 121 | + | <dependency> |
| 122 | + | <groupId>org.springframework.boot</groupId> |
| 123 | + | <artifactId>spring-boot-starter-actuator</artifactId> |
| 124 | + | </dependency> |
| 125 | + | <dependency> |
| 126 | + | <groupId>org.springframework.security</groupId> |
| 127 | + | <artifactId>spring-security-config</artifactId> |
| 128 | + | <version>${spring-security.version}</version> |
| 129 | + | </dependency> |
| 130 | + | <dependency> |
| 131 | + | <groupId>org.springframework.security</groupId> |
| 132 | + | <artifactId>spring-security-web</artifactId> |
| 133 | + | <version>${spring-security.version}</version> |
| 134 | + | </dependency> |
| 135 | + | <dependency> |
| 136 | + | <groupId>org.springframework.security</groupId> |
| 137 | + | <artifactId>spring-security-test</artifactId> |
| 138 | + | <version>${spring-security.version}</version> |
| 139 | + | <scope>test</scope> |
| 140 | + | </dependency> |
| 141 | + | <dependency> |
| 142 | + | <groupId>org.springframework.boot</groupId> |
| 143 | + | <artifactId>spring-boot-starter-web</artifactId> |
| 144 | + | </dependency> |
| 145 | + | <dependency> |
| 146 | + | <groupId>org.springframework.cloud</groupId> |
| 147 | + | <artifactId>spring-cloud-starter-vault-config</artifactId> |
| 148 | + | </dependency> |
| 149 | + | <dependency> |
| 150 | + | <groupId>org.springframework.cloud</groupId> |
| 151 | + | <artifactId>spring-cloud-vault-config</artifactId> |
| 152 | + | </dependency> |
| 153 | + | <dependency> |
| 154 | + | <groupId>software.amazon.awssdk</groupId> |
| 155 | + | <artifactId>sts</artifactId> |
| 156 | + | <version>${aws.sdk.version}</version> |
| 157 | + | </dependency> |
| 158 | + | <dependency> |
| 159 | + | <groupId>software.amazon.awssdk</groupId> |
| 160 | + | <artifactId>ssm</artifactId> |
| 161 | + | <version>${aws.sdk.version}</version> |
| 162 | + | </dependency> |
| 163 | + | <dependency> |
| 164 | + | <groupId>org.linguafranca.pwdb</groupId> |
| 165 | + | <artifactId>KeePassJava2</artifactId> |
| 166 | + | <version>${KeePassJava2.version}</version> |
| 167 | + | </dependency> |
| 168 | + | <dependency> |
| 169 | + | <groupId>org.asciidoctor</groupId> |
| 170 | + | <artifactId>asciidoctorj-api</artifactId> |
| 171 | + | <version>${asciidoctorj.version}</version> |
| 172 | + | </dependency> |
| 173 | + | <dependency> |
| 174 | + | <groupId>org.asciidoctor</groupId> |
| 175 | + | <artifactId>asciidoctorj</artifactId> |
| 176 | + | <version>${asciidoctorj.version}</version> |
| 177 | + | </dependency> |
| 178 | + | <dependency> |
| 179 | + | <groupId>org.jruby</groupId> |
| 180 | + | <artifactId>jruby-complete</artifactId> |
| 181 | + | <version>${jruby.version}</version> |
| 182 | + | </dependency> |
| 183 | + | <dependency> |
| 184 | + | <groupId>org.webjars</groupId> |
| 185 | + | <artifactId>bootstrap</artifactId> |
| 186 | + | <version>${bootstrap.version}</version> |
| 187 | + | </dependency> |
| 188 | + | <dependency> |
| 189 | + | <groupId>org.webjars.npm</groupId> |
| 190 | + | <artifactId>github-buttons</artifactId> |
| 191 | + | <version>${github.button.version}</version> |
| 192 | + | </dependency> |
| 193 | + | <dependency> |
| 194 | + | <groupId>org.webjars</groupId> |
| 195 | + | <artifactId>datatables</artifactId> |
| 196 | + | <version>${datatables.version}</version> |
| 197 | + | </dependency> |
| 198 | + | <dependency> |
| 199 | + | <groupId>org.webjars</groupId> |
| 200 | + | <artifactId>jquery</artifactId> |
| 201 | + | <version>${jquery.version}</version> |
| 202 | + | </dependency> |
| 203 | + | <!-- <dependency>--> |
| 204 | + | <!-- <groupId>org.springframework.boot</groupId>--> |
| 205 | + | <!-- <artifactId>spring-boot-devtools</artifactId>--> |
| 206 | + | <!-- <optional>true</optional>--> |
| 207 | + | <!-- </dependency>--> |
| 208 | + | <dependency> |
| 209 | + | <groupId>com.google.cloud</groupId> |
| 210 | + | <artifactId>google-cloud-secretmanager</artifactId> |
| 211 | + | </dependency> |
| 212 | + | <dependency> |
| 213 | + | <groupId>org.springdoc</groupId> |
| 214 | + | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 215 | + | <version>2.1.0</version> |
| 216 | + | </dependency> |
| 217 | + | <dependency> |
| 218 | + | <groupId>com.azure.spring</groupId> |
| 219 | + | <artifactId>spring-cloud-azure-starter-keyvault-secrets</artifactId> |
| 220 | + | </dependency> |
192 | 221 | | |
193 | | - | <dependency> |
194 | | - | <groupId>org.springframework.boot</groupId> |
195 | | - | <artifactId>spring-boot-starter-test</artifactId> |
196 | | - | <scope>test</scope> |
197 | | - | </dependency> |
| 222 | + | <dependency> |
| 223 | + | <groupId>org.springframework.boot</groupId> |
| 224 | + | <artifactId>spring-boot-starter-test</artifactId> |
| 225 | + | <scope>test</scope> |
| 226 | + | </dependency> |
198 | 227 | | |
199 | | - | <dependency> |
200 | | - | <groupId>uk.org.webcompere</groupId> |
201 | | - | <artifactId>system-stubs-jupiter</artifactId> |
202 | | - | <version>${system-stubs-jupiter.version}</version> |
203 | | - | <scope>test</scope> |
204 | | - | </dependency> |
| 228 | + | <dependency> |
| 229 | + | <groupId>uk.org.webcompere</groupId> |
| 230 | + | <artifactId>system-stubs-jupiter</artifactId> |
| 231 | + | <version>${system-stubs-jupiter.version}</version> |
| 232 | + | <scope>test</scope> |
| 233 | + | </dependency> |
205 | 234 | | |
206 | | - | <dependency> |
207 | | - | <groupId>org.cyclonedx</groupId> |
208 | | - | <artifactId>cyclonedx-core-java</artifactId> |
209 | | - | <version>${cyclonedx.core.version}</version> |
210 | | - | </dependency> |
| 235 | + | <dependency> |
| 236 | + | <groupId>org.cyclonedx</groupId> |
| 237 | + | <artifactId>cyclonedx-core-java</artifactId> |
| 238 | + | <version>${cyclonedx.core.version}</version> |
| 239 | + | </dependency> |
211 | 240 | | |
212 | | - | <dependency> |
213 | | - | <groupId>org.owasp</groupId> |
214 | | - | <artifactId>dependency-check-maven</artifactId> |
215 | | - | <version>${dependency-check-maven.version}</version> |
216 | | - | <type>maven-plugin</type> |
217 | | - | </dependency> |
218 | | - | <dependency> |
219 | | - | <groupId>com.github.spotbugs</groupId> |
220 | | - | <artifactId>spotbugs-annotations</artifactId> |
221 | | - | <version>4.7.3</version> |
222 | | - | </dependency> |
223 | | - | <!-- <dependency>--> |
224 | | - | <!-- <groupId>com.h2database</groupId>--> |
225 | | - | <!-- <artifactId>h2</artifactId>--> |
226 | | - | <!-- <version>2.1.214</version>--> |
227 | | - | <!-- </dependency>--> |
228 | | - | </dependencies> |
| 241 | + | <dependency> |
| 242 | + | <groupId>org.owasp</groupId> |
| 243 | + | <artifactId>dependency-check-maven</artifactId> |
| 244 | + | <version>${dependency-check-maven.version}</version> |
| 245 | + | <type>maven-plugin</type> |
| 246 | + | </dependency> |
| 247 | + | <dependency> |
| 248 | + | <groupId>com.github.spotbugs</groupId> |
| 249 | + | <artifactId>spotbugs-annotations</artifactId> |
| 250 | + | <version>4.7.3</version> |
| 251 | + | </dependency> |
| 252 | + | <!-- <dependency>--> |
| 253 | + | <!-- <groupId>com.h2database</groupId>--> |
| 254 | + | <!-- <artifactId>h2</artifactId>--> |
| 255 | + | <!-- <version>2.1.214</version>--> |
| 256 | + | <!-- </dependency>--> |
| 257 | + | </dependencies> |
229 | 258 | | |
230 | | - | <dependencyManagement> |
231 | | - | <dependencies> |
| 259 | + | <build> |
| 260 | + | <pluginManagement> |
| 261 | + | <plugins> |
| 262 | + | <plugin> |
| 263 | + | <groupId>org.apache.maven.plugins</groupId> |
| 264 | + | <artifactId>maven-checkstyle-plugin</artifactId> |
| 265 | + | <version>3.2.2</version> |
| 266 | + | <dependencies> |
232 | 267 | | <dependency> |
233 | | - | <groupId>org.springframework.cloud</groupId> |
234 | | - | <artifactId>spring-cloud-dependencies</artifactId> |
235 | | - | <version>${spring.cloud-version}</version> |
236 | | - | <type>pom</type> |
237 | | - | <scope>import</scope> |
| 268 | + | <groupId>com.puppycrawl.tools</groupId> |
| 269 | + | <artifactId>checkstyle</artifactId> |
| 270 | + | <version>10.10.0</version> |
238 | 271 | | </dependency> |
| 272 | + | </dependencies> |
| 273 | + | </plugin> |
| 274 | + | <plugin> |
| 275 | + | <groupId>com.github.spotbugs</groupId> |
| 276 | + | <artifactId>spotbugs-maven-plugin</artifactId> |
| 277 | + | <version>4.7.3.4</version> |
| 278 | + | <configuration> |
| 279 | + | <omitVisitors>FindReturnRef</omitVisitors> |
| 280 | + | <plugins> |
| 281 | + | <plugin> |
| 282 | + | <groupId>com.h3xstream.findsecbugs</groupId> |
| 283 | + | <artifactId>findsecbugs-plugin</artifactId> |
| 284 | + | <version>1.12.0</version> |
| 285 | + | </plugin> |
| 286 | + | </plugins> |
| 287 | + | </configuration> |
| 288 | + | <dependencies> |
| 289 | + | <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> |
239 | 290 | | <dependency> |
240 | | - | <groupId>com.google.cloud</groupId> |
241 | | - | <artifactId>spring-cloud-gcp-dependencies</artifactId> |
242 | | - | <version>${gcp.sdk.version}</version> |
243 | | - | <type>pom</type> |
244 | | - | <scope>import</scope> |
| 291 | + | <groupId>com.github.spotbugs</groupId> |
| 292 | + | <artifactId>spotbugs</artifactId> |
| 293 | + | <version>4.7.3</version> |
245 | 294 | | </dependency> |
| 295 | + | </dependencies> |
| 296 | + | </plugin> |
| 297 | + | </plugins> |
| 298 | + | </pluginManagement> |
| 299 | + | <plugins> |
| 300 | + | <plugin> |
| 301 | + | <groupId>org.springframework.boot</groupId> |
| 302 | + | <artifactId>spring-boot-maven-plugin</artifactId> |
| 303 | + | <configuration> |
| 304 | + | <excludeDevtools>true</excludeDevtools> |
| 305 | + | <!-- See http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-extract-specific-libraries-when-an-executable-jar-runs --> |
| 306 | + | <requiresUnpack> |
246 | 307 | | <dependency> |
247 | | - | <groupId>com.azure.spring</groupId> |
248 | | - | <artifactId>spring-cloud-azure-dependencies</artifactId> |
249 | | - | <version>${com.azure.spring.version}</version> |
250 | | - | <type>pom</type> |
251 | | - | <scope>import</scope> |
| 308 | + | <groupId>org.asciidoctor</groupId> |
| 309 | + | <artifactId>asciidoctorj</artifactId> |
252 | 310 | | </dependency> |
253 | | - | </dependencies> |
254 | | - | </dependencyManagement> |
255 | | - | |
256 | | - | <!-- Required by exec-maven-plugin to run NPM *.CMD script on Windows --> |
257 | | - | <profiles> |
258 | | - | <profile> |
259 | | - | <id>Windows</id> |
260 | | - | <activation> |
261 | | - | <os> |
262 | | - | <family>Windows</family> |
263 | | - | </os> |
264 | | - | </activation> |
265 | | - | <properties> |
266 | | - | <script.extension>.cmd</script.extension> |
267 | | - | </properties> |
268 | | - | </profile> |
269 | | - | <profile> |
270 | | - | <id>unix</id> |
271 | | - | <activation> |
272 | | - | <os> |
273 | | - | <family>unix</family> |
274 | | - | </os> |
275 | | - | </activation> |
276 | | - | <properties> |
277 | | - | <script.extension/> |
278 | | - | </properties> |
279 | | - | </profile> |
280 | | - | </profiles> |
281 | | - | |
282 | | - | <build> |
283 | | - | <pluginManagement> |
284 | | - | <plugins> |
285 | | - | <plugin> |
286 | | - | <groupId>org.apache.maven.plugins</groupId> |
287 | | - | <artifactId>maven-checkstyle-plugin</artifactId> |
288 | | - | <version>3.2.1</version> |
289 | | - | <dependencies> |
290 | | - | <dependency> |
291 | | - | <groupId>com.puppycrawl.tools</groupId> |
292 | | - | <artifactId>checkstyle</artifactId> |
293 | | - | <version>10.9.3</version> |
294 | | - | </dependency> |
295 | | - | </dependencies> |
296 | | - | </plugin> |
297 | | - | <plugin> |
298 | | - | <groupId>com.github.spotbugs</groupId> |
299 | | - | <artifactId>spotbugs-maven-plugin</artifactId> |
300 | | - | <version>4.7.3.3</version> |
301 | | - | <configuration> |
302 | | - | <omitVisitors>FindReturnRef</omitVisitors> |
303 | | - | <plugins> |
304 | | - | <plugin> |
305 | | - | <groupId>com.h3xstream.findsecbugs</groupId> |
306 | | - | <artifactId>findsecbugs-plugin</artifactId> |
307 | | - | <version>1.12.0</version> |
308 | | - | </plugin> |
309 | | - | </plugins> |
310 | | - | </configuration> |
311 | | - | <dependencies> |
312 | | - | <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> |
313 | | - | <dependency> |
314 | | - | <groupId>com.github.spotbugs</groupId> |
315 | | - | <artifactId>spotbugs</artifactId> |
316 | | - | <version>4.7.3</version> |
317 | | - | </dependency> |
318 | | - | </dependencies> |
319 | | - | </plugin> |
320 | | - | </plugins> |
321 | | - | </pluginManagement> |
322 | | - | <plugins> |
323 | | - | <plugin> |
324 | | - | <groupId>org.springframework.boot</groupId> |
325 | | - | <artifactId>spring-boot-maven-plugin</artifactId> |
326 | | - | <configuration> |
327 | | - | <excludeDevtools>true</excludeDevtools> |
328 | | - | <!-- See http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-extract-specific-libraries-when-an-executable-jar-runs --> |
329 | | - | <requiresUnpack> |
330 | | - | <dependency> |
331 | | - | <groupId>org.asciidoctor</groupId> |
332 | | - | <artifactId>asciidoctorj</artifactId> |
333 | | - | </dependency> |
334 | | - | <dependency> |
335 | | - | <groupId>org.jruby</groupId> |
336 | | - | <artifactId>jruby-complete</artifactId> |
337 | | - | </dependency> |
338 | | - | </requiresUnpack> |
339 | | - | <jvmArguments> |
340 | | - | <!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000--> |
341 | | - | </jvmArguments> |
342 | | - | </configuration> |
343 | | - | </plugin> |
344 | | - | <plugin> |
345 | | - | <groupId>org.apache.maven.plugins</groupId> |
346 | | - | <artifactId>maven-checkstyle-plugin</artifactId> |
347 | | - | <version>3.2.1</version> |
348 | | - | <configuration> |
349 | | - | <consoleOutput>true</consoleOutput> |
350 | | - | <failsOnError>true</failsOnError> |
351 | | - | <configLocation>config/checkstyle/checkstyle.xml</configLocation> |
352 | | - | <suppressionsLocation>config/checkstyle/suppressions.xml</suppressionsLocation> |
353 | | - | <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
354 | | - | </configuration> |
355 | | - | </plugin> |
356 | | - | <plugin> |
357 | | - | <!-- https://github.com/asciidoctor/asciidoctor-maven-examples/blob/main/asciidoc-to-html-example/pom.xml --> |
358 | | - | <groupId>org.asciidoctor</groupId> |
359 | | - | <artifactId>asciidoctor-maven-plugin</artifactId> |
360 | | - | <version>${asciidoctor.maven.plugin.version}</version> |
361 | | - | <configuration> |
362 | | - | <baseDir>${project.basedir}</baseDir> |
363 | | - | <sourceDirectory>src/main/resources/explanations</sourceDirectory> |
364 | | - | <outputDirectory>${project.build.outputDirectory}/explanations</outputDirectory> |
365 | | - | </configuration> |
366 | | - | <executions> |
367 | | - | <execution> |
368 | | - | <id>asciidoc-to-html</id> |
369 | | - | <phase>compile</phase> |
370 | | - | <goals> |
371 | | - | <goal>process-asciidoc</goal> |
372 | | - | </goals> |
373 | | - | <configuration> |
374 | | - | <headerFooter>false</headerFooter> |
375 | | - | <attributes> |
376 | | - | <docType>null</docType> |
377 | | - | </attributes> |
378 | | - | </configuration> |
379 | | - | </execution> |
380 | | - | </executions> |
381 | | - | </plugin> |
382 | | - | <plugin> |
383 | | - | <groupId>org.cyclonedx</groupId> |
384 | | - | <artifactId>cyclonedx-maven-plugin</artifactId> |
385 | | - | <version>2.7.6</version> |
386 | | - | <executions> |
387 | | - | <execution> |
388 | | - | <phase>install</phase> |
389 | | - | <goals> |
390 | | - | <goal>makeAggregateBom</goal> |
391 | | - | </goals> |
392 | | - | </execution> |
393 | | - | </executions> |
394 | | - | <configuration> |
395 | | - | <projectType>library</projectType> |
396 | | - | <schemaVersion>1.3</schemaVersion> |
397 | | - | <includeBomSerialNumber>true</includeBomSerialNumber> |
398 | | - | <includeCompileScope>true</includeCompileScope> |
399 | | - | <includeProvidedScope>true</includeProvidedScope> |
400 | | - | <includeRuntimeScope>true</includeRuntimeScope> |
401 | | - | <includeSystemScope>true</includeSystemScope> |
402 | | - | <includeTestScope>false</includeTestScope> |
403 | | - | <includeLicenseText>false</includeLicenseText> |
404 | | - | <outputFormat>all</outputFormat> |
405 | | - | <outputName>bom</outputName> |
406 | | - | </configuration> |
407 | | - | </plugin> |
408 | | - | <plugin> |
409 | | - | <groupId>org.owasp</groupId> |
410 | | - | <artifactId>dependency-check-maven</artifactId> |
411 | | - | <version>${dependency-check-maven.version}</version> |
412 | | - | <executions> |
413 | | - | <execution> |
414 | | - | <goals> |
415 | | - | <goal>check</goal> |
416 | | - | </goals> |
417 | | - | </execution> |
418 | | - | </executions> |
419 | | - | </plugin> |
420 | | - | <!-- todo: #178 add the missing plugins and profiles from https://central.sonatype.org/publish/publish-maven/--> |
421 | | - | <plugin> |
422 | | - | <groupId>com.github.eirslett</groupId> |
423 | | - | <artifactId>frontend-maven-plugin</artifactId> |
424 | | - | <version>1.12.1</version> |
425 | | - | <executions> |
426 | | - | <execution> |
427 | | - | <id>install node and npm</id> |
428 | | - | <goals> |
429 | | - | <goal>install-node-and-npm</goal> |
430 | | - | </goals> |
431 | | - | <phase>generate-resources</phase> |
432 | | - | <configuration> |
433 | | - | <nodeVersion>v16.13.2</nodeVersion> <!-- download node from https://nodejs.org/dist/ --> |
434 | | - | <workingDirectory>js</workingDirectory> |
435 | | - | </configuration> |
436 | | - | </execution> |
437 | | - | <execution> |
438 | | - | <id>npm install</id> |
439 | | - | <goals> |
440 | | - | <goal>npm</goal> |
441 | | - | </goals> |
442 | | - | <phase>generate-resources</phase> |
443 | | - | <configuration> |
444 | | - | <arguments>install</arguments> |
445 | | - | <workingDirectory>js</workingDirectory> |
446 | | - | </configuration> |
447 | | - | </execution> |
448 | | - | </executions> |
449 | | - | </plugin> |
450 | | - | <plugin> |
451 | | - | <groupId>org.springdoc</groupId> |
452 | | - | <artifactId>springdoc-openapi-maven-plugin</artifactId> |
453 | | - | <version>1.4</version> |
454 | | - | </plugin> |
455 | | - | <plugin> |
456 | | - | <groupId>org.codehaus.mojo</groupId> |
457 | | - | <artifactId>exec-maven-plugin</artifactId> |
458 | | - | <version>3.1.0</version> |
459 | | - | <executions> |
460 | | - | <execution> |
461 | | - | <phase>generate-resources</phase> |
462 | | - | <goals> |
463 | | - | <goal>exec</goal> |
464 | | - | </goals> |
465 | | - | </execution> |
466 | | - | </executions> |
467 | | - | <configuration> |
468 | | - | |
469 | | - | <executable>./js/node_modules/.bin/javascript-obfuscator${script.extension}</executable> |
470 | | - | <arguments> |
471 | | - | <argument>./js/index.js</argument> |
472 | | - | <argument>--output</argument> |
473 | | - | <argument>./target/classes/static/js/index.js</argument> |
474 | | - | </arguments> |
475 | | - | </configuration> |
476 | | - | </plugin> |
477 | | - | <plugin> |
478 | | - | <groupId>org.apache.maven.plugins</groupId> |
479 | | - | <artifactId>maven-compiler-plugin</artifactId> |
480 | | - | <configuration> |
481 | | - | <source>19</source> |
482 | | - | <target>19</target> |
483 | | - | </configuration> |
484 | | - | </plugin> |
485 | | - | </plugins> |
486 | | - | </build> |
| 311 | + | <dependency> |
| 312 | + | <groupId>org.jruby</groupId> |
| 313 | + | <artifactId>jruby-complete</artifactId> |
| 314 | + | </dependency> |
| 315 | + | </requiresUnpack> |
| 316 | + | <jvmArguments> |
| 317 | + | <!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000--> |
| 318 | + | </jvmArguments> |
| 319 | + | </configuration> |
| 320 | + | <executions> |
| 321 | + | <execution> |
| 322 | + | <id>start-app</id> |
| 323 | + | <goals> |
| 324 | + | <goal>start</goal> |
| 325 | + | </goals> |
| 326 | + | <phase>pre-integration-test</phase> |
| 327 | + | <configuration> |
| 328 | + | <profiles>local,without-vault</profiles> |
| 329 | + | </configuration> |
| 330 | + | </execution> |
| 331 | + | <execution> |
| 332 | + | <id>stop-app</id> |
| 333 | + | <goals> |
| 334 | + | <goal>stop</goal> |
| 335 | + | </goals> |
| 336 | + | <phase>post-integration-test</phase> |
| 337 | + | </execution> |
| 338 | + | </executions> |
| 339 | + | </plugin> |
| 340 | + | <plugin> |
| 341 | + | <groupId>org.apache.maven.plugins</groupId> |
| 342 | + | <artifactId>maven-checkstyle-plugin</artifactId> |
| 343 | + | <version>3.2.2</version> |
| 344 | + | <configuration> |
| 345 | + | <consoleOutput>true</consoleOutput> |
| 346 | + | <failsOnError>true</failsOnError> |
| 347 | + | <configLocation>config/checkstyle/checkstyle.xml</configLocation> |
| 348 | + | <suppressionsLocation>config/checkstyle/suppressions.xml</suppressionsLocation> |
| 349 | + | <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
| 350 | + | </configuration> |
| 351 | + | </plugin> |
| 352 | + | <plugin> |
| 353 | + | <groupId>org.asciidoctor</groupId> |
| 354 | + | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 355 | + | <version>${asciidoctor.maven.plugin.version}</version> |
| 356 | + | <configuration> |
| 357 | + | <baseDir>${project.basedir}</baseDir> |
| 358 | + | <sourceDirectory>src/main/resources/explanations</sourceDirectory> |
| 359 | + | <outputDirectory>${project.build.outputDirectory}/explanations</outputDirectory> |
| 360 | + | <!-- https://github.com/asciidoctor/asciidoctor-maven-examples/blob/main/asciidoc-to-html-example/pom.xml --> |
| 361 | + | </configuration> |
| 362 | + | <executions> |
| 363 | + | <execution> |
| 364 | + | <id>asciidoc-to-html</id> |
| 365 | + | <goals> |
| 366 | + | <goal>process-asciidoc</goal> |
| 367 | + | </goals> |
| 368 | + | <phase>compile</phase> |
| 369 | + | <configuration> |
| 370 | + | <headerFooter>false</headerFooter> |
| 371 | + | <attributes> |
| 372 | + | <docType>null</docType> |
| 373 | + | </attributes> |
| 374 | + | </configuration> |
| 375 | + | </execution> |
| 376 | + | </executions> |
| 377 | + | </plugin> |
| 378 | + | <plugin> |
| 379 | + | <groupId>org.cyclonedx</groupId> |
| 380 | + | <artifactId>cyclonedx-maven-plugin</artifactId> |
| 381 | + | <version>2.7.8</version> |
| 382 | + | <configuration> |
| 383 | + | <projectType>library</projectType> |
| 384 | + | <schemaVersion>1.3</schemaVersion> |
| 385 | + | <includeBomSerialNumber>true</includeBomSerialNumber> |
| 386 | + | <includeCompileScope>true</includeCompileScope> |
| 387 | + | <includeProvidedScope>true</includeProvidedScope> |
| 388 | + | <includeRuntimeScope>true</includeRuntimeScope> |
| 389 | + | <includeSystemScope>true</includeSystemScope> |
| 390 | + | <includeTestScope>false</includeTestScope> |
| 391 | + | <includeLicenseText>false</includeLicenseText> |
| 392 | + | <outputFormat>all</outputFormat> |
| 393 | + | <outputName>bom</outputName> |
| 394 | + | </configuration> |
| 395 | + | <executions> |
| 396 | + | <execution> |
| 397 | + | <goals> |
| 398 | + | <goal>makeAggregateBom</goal> |
| 399 | + | </goals> |
| 400 | + | <phase>install</phase> |
| 401 | + | </execution> |
| 402 | + | </executions> |
| 403 | + | </plugin> |
| 404 | + | <plugin> |
| 405 | + | <groupId>org.owasp</groupId> |
| 406 | + | <artifactId>dependency-check-maven</artifactId> |
| 407 | + | <version>${dependency-check-maven.version}</version> |
| 408 | + | <executions> |
| 409 | + | <execution> |
| 410 | + | <goals> |
| 411 | + | <goal>check</goal> |
| 412 | + | </goals> |
| 413 | + | </execution> |
| 414 | + | </executions> |
| 415 | + | </plugin> |
| 416 | + | <!-- todo: #178 add the missing plugins and profiles from https://central.sonatype.org/publish/publish-maven/--> |
| 417 | + | <plugin> |
| 418 | + | <groupId>com.github.eirslett</groupId> |
| 419 | + | <artifactId>frontend-maven-plugin</artifactId> |
| 420 | + | <version>1.12.1</version> |
| 421 | + | <executions> |
| 422 | + | <execution> |
| 423 | + | <id>install node and npm</id> |
| 424 | + | <goals> |
| 425 | + | <goal>install-node-and-npm</goal> |
| 426 | + | </goals> |
| 427 | + | <phase>generate-resources</phase> |
| 428 | + | <configuration> |
| 429 | + | <nodeVersion>v16.13.2</nodeVersion> |
| 430 | + | <!-- download node from https://nodejs.org/dist/ --> |
| 431 | + | <workingDirectory>js</workingDirectory> |
| 432 | + | </configuration> |
| 433 | + | </execution> |
| 434 | + | <execution> |
| 435 | + | <id>npm install</id> |
| 436 | + | <goals> |
| 437 | + | <goal>npm</goal> |
| 438 | + | </goals> |
| 439 | + | <phase>generate-resources</phase> |
| 440 | + | <configuration> |
| 441 | + | <arguments>install</arguments> |
| 442 | + | <workingDirectory>js</workingDirectory> |
| 443 | + | </configuration> |
| 444 | + | </execution> |
| 445 | + | </executions> |
| 446 | + | </plugin> |
| 447 | + | <plugin> |
| 448 | + | <groupId>org.springdoc</groupId> |
| 449 | + | <artifactId>springdoc-openapi-maven-plugin</artifactId> |
| 450 | + | <version>1.4</version> |
| 451 | + | </plugin> |
| 452 | + | <plugin> |
| 453 | + | <groupId>org.codehaus.mojo</groupId> |
| 454 | + | <artifactId>exec-maven-plugin</artifactId> |
| 455 | + | <version>3.1.0</version> |
| 456 | + | <configuration> |
487 | 457 | | |
| 458 | + | <executable>./js/node_modules/.bin/javascript-obfuscator${script.extension}</executable> |
| 459 | + | <arguments> |
| 460 | + | <argument>./js/index.js</argument> |
| 461 | + | <argument>--output</argument> |
| 462 | + | <argument>./target/classes/static/js/index.js</argument> |
| 463 | + | </arguments> |
| 464 | + | </configuration> |
| 465 | + | <executions> |
| 466 | + | <execution> |
| 467 | + | <goals> |
| 468 | + | <goal>exec</goal> |
| 469 | + | </goals> |
| 470 | + | <phase>generate-resources</phase> |
| 471 | + | </execution> |
| 472 | + | <execution> |
| 473 | + | <id>npm-install</id> |
| 474 | + | <goals> |
| 475 | + | <goal>exec</goal> |
| 476 | + | </goals> |
| 477 | + | <phase>integration-test</phase> |
| 478 | + | <configuration> |
| 479 | + | <executable>npm</executable> |
| 480 | + | <arguments> |
| 481 | + | <argument>install</argument> |
| 482 | + | </arguments> |
| 483 | + | </configuration> |
| 484 | + | </execution> |
| 485 | + | <execution> |
| 486 | + | <id>xcypress-test</id> |
| 487 | + | <goals> |
| 488 | + | <goal>exec</goal> |
| 489 | + | </goals> |
| 490 | + | <phase>integration-test</phase> |
| 491 | + | <configuration> |
| 492 | + | <executable>npm</executable> |
| 493 | + | <arguments> |
| 494 | + | <argument>run</argument> |
| 495 | + | <argument>test:ci</argument> |
| 496 | + | </arguments> |
| 497 | + | </configuration> |
| 498 | + | </execution> |
| 499 | + | </executions> |
| 500 | + | </plugin> |
| 501 | + | <plugin> |
| 502 | + | <groupId>org.apache.maven.plugins</groupId> |
| 503 | + | <artifactId>maven-compiler-plugin</artifactId> |
| 504 | + | <configuration> |
| 505 | + | <source>19</source> |
| 506 | + | <target>19</target> |
| 507 | + | </configuration> |
| 508 | + | </plugin> |
| 509 | + | <plugin> |
| 510 | + | <groupId>org.codehaus.mojo</groupId> |
| 511 | + | <artifactId>tidy-maven-plugin</artifactId> |
| 512 | + | <version>1.2.0</version> |
| 513 | + | <executions> |
| 514 | + | <execution> |
| 515 | + | <id>validate</id> |
| 516 | + | <goals> |
| 517 | + | <goal>check</goal> |
| 518 | + | </goals> |
| 519 | + | <phase>validate</phase> |
| 520 | + | </execution> |
| 521 | + | </executions> |
| 522 | + | </plugin> |
| 523 | + | <plugin> |
| 524 | + | <groupId>com.diffplug.spotless</groupId> |
| 525 | + | <artifactId>spotless-maven-plugin</artifactId> |
| 526 | + | <version>2.36.0</version> |
| 527 | + | <configuration> |
| 528 | + | <formats> |
| 529 | + | <format> |
| 530 | + | <includes> |
| 531 | + | <include>.gitignore</include> |
| 532 | + | </includes> |
| 533 | + | <trimTrailingWhitespace></trimTrailingWhitespace> |
| 534 | + | <endWithNewline></endWithNewline> |
| 535 | + | <indent> |
| 536 | + | <tabs>true</tabs> |
| 537 | + | <spacesPerTab>4</spacesPerTab> |
| 538 | + | </indent> |
| 539 | + | </format> |
| 540 | + | </formats> |
| 541 | + | <java> |
| 542 | + | <includes> |
| 543 | + | <include>src/main/java/**/*.java</include> |
| 544 | + | <include>src/test/java/**/*.java</include> |
| 545 | + | </includes> |
| 546 | + | <removeUnusedImports></removeUnusedImports> |
| 547 | + | <googleJavaFormat> |
| 548 | + | <style>GOOGLE</style> |
| 549 | + | <reflowLongStrings>true</reflowLongStrings> |
| 550 | + | </googleJavaFormat> |
| 551 | + | </java> |
| 552 | + | <pom> |
| 553 | + | <sortPom> |
| 554 | + | <encoding>UTF-8</encoding> |
| 555 | + | <lineSeparator>${line.separator}</lineSeparator> |
| 556 | + | <expandEmptyElements>true</expandEmptyElements> |
| 557 | + | <spaceBeforeCloseEmptyElement>false</spaceBeforeCloseEmptyElement> |
| 558 | + | <keepBlankLines>true</keepBlankLines> |
| 559 | + | <nrOfIndentSpace>2</nrOfIndentSpace> |
| 560 | + | <indentBlankLines>false</indentBlankLines> |
| 561 | + | <indentSchemaLocation>false</indentSchemaLocation> |
| 562 | + | <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> |
| 563 | + | <sortProperties>true</sortProperties> |
| 564 | + | <sortModules>true</sortModules> |
| 565 | + | <sortExecutions>true</sortExecutions> |
| 566 | + | </sortPom> |
| 567 | + | </pom> |
| 568 | + | </configuration> |
| 569 | + | <executions> |
| 570 | + | <execution> |
| 571 | + | <goals> |
| 572 | + | <goal>check</goal> |
| 573 | + | </goals> |
| 574 | + | </execution> |
| 575 | + | </executions> |
| 576 | + | </plugin> |
| 577 | + | </plugins> |
| 578 | + | </build> |
488 | 579 | | |
| 580 | + | <!-- Required by exec-maven-plugin to run NPM *.CMD script on Windows --> |
| 581 | + | <profiles> |
| 582 | + | <profile> |
| 583 | + | <id>Windows</id> |
| 584 | + | <activation> |
| 585 | + | <os> |
| 586 | + | <family>Windows</family> |
| 587 | + | </os> |
| 588 | + | </activation> |
| 589 | + | <properties> |
| 590 | + | <script.extension>.cmd</script.extension> |
| 591 | + | </properties> |
| 592 | + | </profile> |
| 593 | + | <profile> |
| 594 | + | <id>unix</id> |
| 595 | + | <activation> |
| 596 | + | <os> |
| 597 | + | <family>unix</family> |
| 598 | + | </os> |
| 599 | + | </activation> |
| 600 | + | <properties> |
| 601 | + | <script.extension></script.extension> |
| 602 | + | </properties> |
| 603 | + | </profile> |
| 604 | + | </profiles> |
489 | 605 | | </project> |
490 | 606 | | |