Skip to content

Commit 57c5dec

Browse files
committed
Fix #34836: update license headers
1 parent 007b523 commit 57c5dec

279 files changed

Lines changed: 603 additions & 563 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE_HEADER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ContainerProxy
1+
${project.name}
22

3-
Copyright (C) 2016-2024 Open Analytics
3+
Copyright (C) ${project.inceptionYear}-${year} Open Analytics
44

55
===========================================================================
66

pom.xml

Lines changed: 56 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>1.2.0-SNAPSHOT</version>
99
<name>ContainerProxy</name>
1010
<packaging>jar</packaging>
11+
<inceptionYear>2016</inceptionYear>
1112

1213
<parent>
1314
<groupId>org.springframework.boot</groupId>
@@ -23,6 +24,8 @@
2324
<maven.compiler.target>17</maven.compiler.target>
2425
<spring-boot.version>3.2.6</spring-boot.version>
2526
<aws.java.sdk.version>2.23.12</aws.java.sdk.version>
27+
<maven.license.plugin.version>4.6</maven.license.plugin.version>
28+
<maven.build-helper-maven.plugin.version>3.6.0</maven.build-helper-maven.plugin.version>
2629
</properties>
2730

2831
<distributionManagement>
@@ -440,9 +443,9 @@
440443
</plugin>
441444

442445
<plugin>
443-
<groupId>com.mycila.maven-license-plugin</groupId>
444-
<artifactId>maven-license-plugin</artifactId>
445-
<version>1.9.0</version>
446+
<groupId>com.mycila</groupId>
447+
<artifactId>license-maven-plugin</artifactId>
448+
<version>${maven.license.plugin.version}</version>
446449

447450
<executions>
448451
<execution>
@@ -455,23 +458,60 @@
455458
</executions>
456459

457460
<configuration>
458-
<header>LICENSE_HEADER</header>
461+
<licenseSets>
462+
<licenseSet>
463+
<header>LICENSE_HEADER</header>
464+
<excludes>
465+
<exclude>**/*.bak</exclude>
466+
<exclude>**/*.conf</exclude>
467+
<exclude>**/*.json</exclude>
468+
<exclude>**/*.pem</exclude>
469+
<exclude>**/*.properties</exclude>
470+
<exclude>**/*.raml</exclude>
471+
<exclude>**/*.sh</exclude>
472+
<exclude>**/*.txt</exclude>
473+
<exclude>**/*.xml</exclude>
474+
<exclude>**/*.yaml</exclude>
475+
<exclude>**/*.yml</exclude>
476+
<exclude>**/Dockerfile</exclude>
477+
<exclude>.editorconfig</exclude>
478+
<exclude>.gitignore</exclude>
479+
<exclude>JenkinsfileSCM</exclude>
480+
<exclude>LICENSE</exclude>
481+
<exclude>LICENSE_HEADER</exclude>
482+
<exclude>README.md</exclude>
483+
<exclude>docs/**</exclude>
484+
<exclude>src/main/resources/configs/**</exclude>
485+
<exclude>src/test/resources/**</exclude>
486+
</excludes>
487+
</licenseSet>
488+
</licenseSets>
459489
<aggregate>true</aggregate>
460490
<strictCheck>true</strictCheck>
461-
<excludes>
462-
<exclude>**/*.properties</exclude>
463-
<exclude>**/*.yml</exclude>
464-
<exclude>**/*.json</exclude>
465-
<exclude>**/*.raml</exclude>
466-
<exclude>**/*.sh</exclude>
467-
<exclude>**/*.xml</exclude>
468-
<exclude>LICENSE</exclude>
469-
<exclude>LICENSE_HEADER</exclude>
470-
<exclude>README.md</exclude>
471-
<exclude>.gitignore</exclude>
472-
</excludes>
491+
<properties>
492+
<year>${current.year}</year>
493+
</properties>
473494
</configuration>
474495
</plugin>
496+
<plugin>
497+
<groupId>org.codehaus.mojo</groupId>
498+
<artifactId>build-helper-maven-plugin</artifactId>
499+
<version>${maven.build-helper-maven.plugin.version}</version>
500+
<executions>
501+
<execution>
502+
<id>timestamp-property</id>
503+
<goals>
504+
<goal>timestamp-property</goal>
505+
</goals>
506+
<phase>validate</phase>
507+
<configuration>
508+
<name>current.year</name>
509+
<pattern>yyyy</pattern>
510+
<locale>en-GB</locale>
511+
</configuration>
512+
</execution>
513+
</executions>
514+
</plugin>
475515
</plugins>
476516
</build>
477517

src/main/java/eu/openanalytics/containerproxy/ContainerFailedToStartException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/ContainerProxyApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/ContainerProxyException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/MemoryStoreConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/ProxyFailedToStartException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/ProxyStartValidationException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/RedisSessionConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

src/main/java/eu/openanalytics/containerproxy/RedisStoreConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/**
1+
/*
22
* ContainerProxy
33
*
4-
* Copyright (C) 2016-2024 Open Analytics
4+
* Copyright (C) 2016-2025 Open Analytics
55
*
66
* ===========================================================================
77
*

0 commit comments

Comments
 (0)