Elffuss BraidHub

kikocis/java-driver public

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

Browse the files at this changeset

2 files changed

modified pom.xml +1 −26
@@ -67,7 +67,6 @@
6767 <scassandra.version>0.11.0</scassandra.version>
6868 <main.basedir>${project.basedir}</main.basedir>
6969 <ipprefix>127.0.1.</ipprefix>
70- <currentYear>2015</currentYear>
7170 <!-- Set default javadoc.opts, overriden by profiles -->
7271 <javadoc.opts />
7372 </properties>
@@ -252,28 +251,9 @@
252251 </dependency>
253252 </dependencies>
254253 </plugin>
255- <plugin>
256- <groupId>org.codehaus.mojo</groupId>
257- <artifactId>build-helper-maven-plugin</artifactId>
258- <version>1.9.1</version>
259- <executions>
260- <execution>
261- <id>timestamp-property</id>
262- <phase>initialize</phase>
263- <goals>
264- <goal>timestamp-property</goal>
265- </goals>
266- <configuration>
267- <name>currentYear</name>
268- <pattern>yyyy</pattern>
269- <locale>en_US</locale>
270- </configuration>
271- </execution>
272- </executions>
273- </plugin>
274254 <!--
275255 To update license headers run:
276- mvn license:format -DcurrentYear=XXXX
256+ mvn license:format
277257 -->
278258 <plugin>
279259 <groupId>com.mycila</groupId>
@@ -303,11 +283,6 @@
303283 <goals>
304284 <goal>check</goal>
305285 </goals>
306- <configuration>
307- <properties>
308- <currentYear>${currentYear}</currentYear>
309- </properties>
310- </configuration>
311286 </execution>
312287 </executions>
313288 </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.