Elffuss BraidHub

kikocis/java-driver public

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

Browse the files at this changeset

2 files changed

modified pom.xml +1 −25
@@ -179,28 +179,9 @@
179179 </excludes>
180180 </configuration>
181181 </plugin>
182- <plugin>
183- <groupId>org.codehaus.mojo</groupId>
184- <artifactId>build-helper-maven-plugin</artifactId>
185- <version>1.9.1</version>
186- <executions>
187- <execution>
188- <id>timestamp-property</id>
189- <phase>initialize</phase>
190- <goals>
191- <goal>timestamp-property</goal>
192- </goals>
193- <configuration>
194- <name>currentYear</name>
195- <pattern>yyyy</pattern>
196- <locale>en_US</locale>
197- </configuration>
198- </execution>
199- </executions>
200- </plugin>
201182 <!--
202183 To update license headers run:
203- mvn license:format -DcurrentYear=XXXX
184+ mvn license:format
204185 -->
205186 <plugin>
206187 <groupId>com.mycila</groupId>
@@ -230,11 +211,6 @@
230211 <goals>
231212 <goal>check</goal>
232213 </goals>
233- <configuration>
234- <properties>
235- <currentYear>${currentYear}</currentYear>
236- </properties>
237- </configuration>
238214 </execution>
239215 </executions>
240216 </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.