|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Copyright © 2016-2025 The LmdbJava Open Source Project |
| 5 | +
|
| 6 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + you may not use this file except in compliance with the License. |
| 8 | + You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, software |
| 13 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + See the License for the specific language governing permissions and |
| 16 | + limitations under the License. |
| 17 | +
|
| 18 | +--> |
2 | 19 | <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/xsd/maven-4.0.0.xsd"> |
3 | 20 | <modelVersion>4.0.0</modelVersion> |
4 | 21 | <groupId>org.lmdbjava</groupId> |
|
19 | 36 | <jnr-posix.version>3.1.21</jnr-posix.version> |
20 | 37 | <leveldb-api.version>0.7</leveldb-api.version> |
21 | 38 | <leveldbjni.version>1.8</leveldbjni.version> |
| 39 | + <license-maven-plugin.version>4.6</license-maven-plugin.version> |
22 | 40 | <lmdbjava.version>0.9.1</lmdbjava.version> |
23 | 41 | <lmdbjni.version>0.4.7</lmdbjni.version> |
24 | 42 | <lwjgl.version>3.3.6</lwjgl.version> |
|
186 | 204 | </execution> |
187 | 205 | </executions> |
188 | 206 | </plugin> |
| 207 | + <plugin> |
| 208 | + <groupId>com.mycila</groupId> |
| 209 | + <artifactId>license-maven-plugin</artifactId> |
| 210 | + <version>${license-maven-plugin.version}</version> |
| 211 | + <configuration> |
| 212 | + <licenseSets> |
| 213 | + <licenseSet> |
| 214 | + <header>src/misc/license-template.txt</header> |
| 215 | + <excludes> |
| 216 | + <exclude>LICENSE.txt</exclude> |
| 217 | + <exclude>**/*.md</exclude> |
| 218 | + <exclude>results/**</exclude> |
| 219 | + </excludes> |
| 220 | + </licenseSet> |
| 221 | + </licenseSets> |
| 222 | + <useDefaultExcludes>true</useDefaultExcludes> |
| 223 | + </configuration> |
| 224 | + <dependencies> |
| 225 | + <dependency> |
| 226 | + <groupId>com.mycila</groupId> |
| 227 | + <artifactId>license-maven-plugin-git</artifactId> |
| 228 | + <version>${license-maven-plugin.version}</version> |
| 229 | + </dependency> |
| 230 | + </dependencies> |
| 231 | + <executions> |
| 232 | + <execution> |
| 233 | + <id>apply-license</id> |
| 234 | + <goals> |
| 235 | + <goal>format</goal> |
| 236 | + </goals> |
| 237 | + <phase>package</phase> |
| 238 | + <configuration> |
| 239 | + <indentSize>2</indentSize> |
| 240 | + </configuration> |
| 241 | + </execution> |
| 242 | + </executions> |
| 243 | + </plugin> |
189 | 244 | <plugin> |
190 | 245 | <groupId>org.apache.maven.plugins</groupId> |
191 | 246 | <artifactId>maven-compiler-plugin</artifactId> |
|
234 | 289 | <groupId>com.github.ekryd.sortpom</groupId> |
235 | 290 | <artifactId>sortpom-maven-plugin</artifactId> |
236 | 291 | </plugin> |
| 292 | + <plugin> |
| 293 | + <groupId>com.mycila</groupId> |
| 294 | + <artifactId>license-maven-plugin</artifactId> |
| 295 | + </plugin> |
237 | 296 | <plugin> |
238 | 297 | <groupId>org.apache.maven.plugins</groupId> |
239 | 298 | <artifactId>maven-compiler-plugin</artifactId> |
|
289 | 348 | </build> |
290 | 349 | <url>https://github.com/${github.org}/${github.repo}</url> |
291 | 350 | <inceptionYear>2016</inceptionYear> |
| 351 | + <organization> |
| 352 | + <name>The LmdbJava Open Source Project</name> |
| 353 | + <url>https://github.com/lmdbjava</url> |
| 354 | + </organization> |
292 | 355 | <licenses> |
293 | 356 | <license> |
294 | 357 | <name>The Apache Software License, Version 2.0</name> |
|
0 commit comments