Elffuss BraidHub

kikocis/java-driver public

Prevent build from failing when current year does not match license headers.
Changeset77caed65d1a26c866536fceb030b0131d71bf57607d9d0f4c59c9095ff0b077b
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-03 12:45 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-03 12:46 +01:00
Parents0c8d75acc5a0

Browse the files at this changeset

2 files changed

modified pom.xml +1 −25
@@ -171,28 +171,9 @@
171171 </excludes>
172172 </configuration>
173173 </plugin>
174- <plugin>
175- <groupId>org.codehaus.mojo</groupId>
176- <artifactId>build-helper-maven-plugin</artifactId>
177- <version>1.9.1</version>
178- <executions>
179- <execution>
180- <id>timestamp-property</id>
181- <phase>initialize</phase>
182- <goals>
183- <goal>timestamp-property</goal>
184- </goals>
185- <configuration>
186- <name>currentYear</name>
187- <pattern>yyyy</pattern>
188- <locale>en_US</locale>
189- </configuration>
190- </execution>
191- </executions>
192- </plugin>
193174 <!--
194175 To update license headers run:
195- mvn license:format -DcurrentYear=XXXX
176+ mvn license:format
196177 -->
197178 <plugin>
198179 <groupId>com.mycila</groupId>
@@ -222,11 +203,6 @@
222203 <goals>
223204 <goal>check</goal>
224205 </goals>
225- <configuration>
226- <properties>
227- <currentYear>${currentYear}</currentYear>
228- </properties>
229- </configuration>
230206 </execution>
231207 </executions>
232208 </plugin>
modified src/license/header.txt +1 −1
@@ -1,4 +1,4 @@
1- Copyright (C) ${project.inceptionYear}-${currentYear} DataStax Inc.
1+ Copyright (C) ${project.inceptionYear}-2015 DataStax Inc.
22
33 Licensed under the Apache License, Version 2.0 (the "License");
44 you may not use this file except in compliance with the License.