Skip to content

Commit 1859160

Browse files
Updating license header
1 parent 46134d6 commit 1859160

10 files changed

+106
-7
lines changed

licence-header.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at
66

7-
http://www.apache.org/licenses/LICENSE-2.0
7+
https://www.apache.org/licenses/LICENSE-2.0
88

99
Unless required by applicable law or agreed to in writing, software
1010
distributed under the License is distributed on an "AS IS" BASIS,

pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232

3333
<scm>
3434
<url>https://github.com/ChildrenGreens/multi-source-spring-boot-starter</url>
35-
<connection>https://github.com/ChildrenGreens/multi-source-spring-boot-starter.git</connection>
35+
<connection>scm:git:[email protected]:ChildrenGreens/multi-source-spring-boot-starter.git</connection>
36+
<developerConnection>scm:git:[email protected]:ChildrenGreens/multi-source-spring-boot-starter.git</developerConnection>
37+
<tag>HEAD</tag>
3638
</scm>
3739

3840
<licenses>
@@ -103,7 +105,7 @@
103105
<header>licence-header.template</header>
104106
<properties>
105107
<!-- Values to be substituted in template -->
106-
<inceptionYear>2017</inceptionYear>
108+
<inceptionYear>2012</inceptionYear>
107109
<currentYear>2024</currentYear>
108110
</properties>
109111
<strictCheck>true</strictCheck>
@@ -125,6 +127,31 @@
125127
</executions>
126128
</plugin>
127129
</plugins>
130+
131+
<pluginManagement>
132+
<plugins>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-compiler-plugin</artifactId>
136+
<version>3.13.0</version>
137+
<configuration>
138+
<release>${java.version}</release>
139+
</configuration>
140+
</plugin>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-release-plugin</artifactId>
144+
<version>3.1.1</version>
145+
<configuration>
146+
<autoVersionSubmodules>true</autoVersionSubmodules>
147+
<useReleaseProfile>false</useReleaseProfile>
148+
<releaseProfiles>release</releaseProfiles>
149+
<goals>deploy</goals>
150+
</configuration>
151+
</plugin>
152+
</plugins>
153+
</pluginManagement>
154+
128155
</build>
129156

130157
<profiles>

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/LettuceConnectionMultiSourcesRegistrar.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2012-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.childrengreens.multi.source;
217

318
import io.lettuce.core.resource.ClientResources;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/LettuceMultiSourcesConnectionConfiguration.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2012-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.childrengreens.multi.source;
217

318
import io.lettuce.core.ClientOptions;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/PropertiesRedisMultiSourcesConnectionDetails.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
1716
package com.childrengreens.multi.source;
1817

1918
import com.childrengreens.multi.source.RedisMultiSourcesConnectionConfiguration.ConnectionInfo;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/RedisMultiSourcesAutoConfiguration.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2012-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.childrengreens.multi.source;
217

318
import io.lettuce.core.resource.DefaultClientResources;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/RedisMultiSourcesConnectionConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
1716
package com.childrengreens.multi.source;
1817

1918
import org.springframework.beans.factory.ObjectProvider;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/RedisMultiSourcesProperties.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2012-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.childrengreens.multi.source;
217

318
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/RedisTemplateRegistryPostProcessor.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2012-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.childrengreens.multi.source;
217

318
import org.springframework.beans.BeansException;

redis-multi-source-spring-boot-starter/src/main/java/com/childrengreens/multi/source/RedisUrlSyntaxException.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,7 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
1716
package com.childrengreens.multi.source;
1817

1918
/**

0 commit comments

Comments
 (0)