Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
albertattard committed May 30, 2014
1 parent a6a35d1 commit 1135c6c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.7</version>
<configuration>
<verbose>false</verbose>
<addSvnKeyWords>true</addSvnKeyWords>
</configuration>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
<goal>add-third-party</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<licenseName>apache_v2</licenseName>
<sortArtifactByName>true</sortArtifactByName>
<addSvnKeyWords>true</addSvnKeyWords>
<roots>
<root>src/main</root>
<root>src/test</root>
</roots>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* #%L
* How to Include License using Maven
* $Id$
* $HeadURL:$
* $Id: Example.java 340 2014-05-30 19:01:31Z [email protected] $
* $HeadURL$
* %%
* Copyright (C) 2012 - 2014 Java Creed
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###
# #%L
# How to Include License using Maven
# $Id$
# $HeadURL:$
# $Id: example.properties 340 2014-05-30 19:01:31Z [email protected] $
# $HeadURL$
# %%
# Copyright (C) 2012 - 2014 Java Creed
# %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
#%L
How to Include License using Maven
$Id$
$HeadURL:$
$Id: example.xml 340 2014-05-30 19:01:31Z [email protected] $
$HeadURL$
%%
Copyright (C) 2012 - 2014 Java Creed
%%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/*
* #%L
* How to Include License using Maven
* $Id$
* $HeadURL:$
* $Id: ExampleTest.java 340 2014-05-30 19:01:31Z [email protected] $
* $HeadURL$
* %%
* Copyright (C) 2012 - 2014 Java Creed
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###
# #%L
# How to Include License using Maven
# $Id$
# $HeadURL:$
# $Id: example.properties 340 2014-05-30 19:01:31Z [email protected] $
# $HeadURL$
# %%
# Copyright (C) 2012 - 2014 Java Creed
# %%
Expand Down

0 comments on commit 1135c6c

Please sign in to comment.