|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Build Version Maven Plugin - This is a maven plugin that extracts current build information from git |
| 5 | + projects, including: the latest commit hash, timestamp, most recent tag, |
| 6 | + number of commits since most recent tag. It also implements a "follow first |
| 7 | + parent" flavor of git describe. |
| 8 | + Copyright © 2012 Fernando Dobladez |
| 9 | +
|
| 10 | + All rights reserved. This program and the accompanying materials |
| 11 | + are made available under the terms of the Eclipse Public License v1.0 |
| 12 | + which accompanies this distribution, and is available at |
| 13 | + http://www.eclipse.org/legal/epl-v10.html |
| 14 | +
|
| 15 | +--> |
2 | 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 17 | <modelVersion>4.0.0</modelVersion> |
4 | 18 |
|
|
140 | 154 | </executions> |
141 | 155 | </plugin> |
142 | 156 |
|
| 157 | + <plugin> |
| 158 | + <groupId>com.mycila</groupId> |
| 159 | + <artifactId>license-maven-plugin</artifactId> |
| 160 | + <version>4.6</version> |
| 161 | + <configuration> |
| 162 | + <licenseSets> |
| 163 | + <licenseSet> |
| 164 | + <header>${project.basedir}/EPL-1.template.txt</header> |
| 165 | + <properties> |
| 166 | + <year>${project.inceptionYear}</year> |
| 167 | + <owner>Fernando Dobladez</owner> |
| 168 | + </properties> |
| 169 | + <excludes> |
| 170 | + <exclude>.gitignore</exclude> |
| 171 | + <exclude>EPL-1.template.txt</exclude> |
| 172 | + <exclude>LICENSE</exclude> |
| 173 | + <exclude>README.md</exclude> |
| 174 | + <exclude>src/it/README.md</exclude> |
| 175 | + <exclude>src/test/resources/**</exclude> |
| 176 | + </excludes> |
| 177 | + </licenseSet> |
| 178 | + </licenseSets> |
| 179 | + </configuration> |
| 180 | + <executions> |
| 181 | + <execution> |
| 182 | + <id>check-headers</id> |
| 183 | + <phase>verify</phase> |
| 184 | + <goals> |
| 185 | + <goal>check</goal> |
| 186 | + </goals> |
| 187 | + </execution> |
| 188 | + </executions> |
| 189 | + </plugin> |
| 190 | + |
143 | 191 | <plugin> |
144 | 192 | <groupId>org.apache.maven.plugins</groupId> |
145 | 193 | <artifactId>maven-dependency-plugin</artifactId> |
|
0 commit comments