|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 |
|
7 |
| - <groupId>org.openarchives</groupId> |
| 7 | + <groupId>org.dspace</groupId> |
8 | 8 | <artifactId>resourcesync</artifactId>
|
9 |
| - <version>0.9-SNAPSHOT</version> |
| 9 | + <version>1.1-SNAPSHOT</version> |
10 | 10 |
|
| 11 | + <properties> |
| 12 | + <root.basedir>${basedir}</root.basedir> |
| 13 | + </properties> |
| 14 | + |
11 | 15 | <build>
|
12 | 16 | <plugins>
|
13 | 17 | <plugin>
|
|
19 | 23 | <target>1.6</target>
|
20 | 24 | </configuration>
|
21 | 25 | </plugin>
|
| 26 | + <plugin> |
| 27 | + <groupId>com.mycila</groupId> |
| 28 | + <artifactId>license-maven-plugin</artifactId> |
| 29 | + <configuration> |
| 30 | + <!-- License header file (can be a URL, but that's less stable if external site is down on occasion) --> |
| 31 | + <header>${root.basedir}/LICENSE_HEADER</header> |
| 32 | + <!--Just check headers of everything in the /src directory --> |
| 33 | + <includes> |
| 34 | + <include>src/**</include> |
| 35 | + </includes> |
| 36 | + <!--Use all default exclusions for IDE files & Maven files, see: |
| 37 | + http://code.google.com/p/maven-license-plugin/wiki/Configuration#Default_excludes --> |
| 38 | + <useDefaultExcludes>true</useDefaultExcludes> |
| 39 | + <!-- Add some default DSpace exclusions not covered by <useDefaultExcludes> |
| 40 | + Individual Maven projects may choose to override these defaults. --> |
| 41 | + <excludes> |
| 42 | + <exclude>**/src/test/resources/**</exclude> |
| 43 | + <exclude>**/src/test/data/**</exclude> |
| 44 | + <exclude>**/src/main/license/**</exclude> |
| 45 | + <exclude>**/testEnvironment.properties</exclude> |
| 46 | + <exclude>**/META-INF/**</exclude> |
| 47 | + <exclude>**/robots.txt</exclude> |
| 48 | + <exclude>**/*.LICENSE</exclude> |
| 49 | + <exclude>**/LICENSE*</exclude> |
| 50 | + <exclude>**/README*</exclude> |
| 51 | + <exclude>**/readme*</exclude> |
| 52 | + <exclude>**/.gitignore</exclude> |
| 53 | + <exclude>**/build.properties*</exclude> |
| 54 | + <exclude>**/rebel.xml</exclude> |
| 55 | + </excludes> |
| 56 | + <mapping> |
| 57 | + <!-- Custom DSpace file extensions which are not recognized by maven-release-plugin: |
| 58 | + *.xmap, *.xslt, *.wsdd, *.wsdl, *.ttl, *.LICENSE --> |
| 59 | + <xmap>XML_STYLE</xmap> |
| 60 | + <xslt>XML_STYLE</xslt> |
| 61 | + <wsdd>XML_STYLE</wsdd> |
| 62 | + <wsdl>XML_STYLE</wsdl> |
| 63 | + <ttl>SCRIPT_STYLE</ttl> |
| 64 | + <LICENSE>TEXT</LICENSE> |
| 65 | + </mapping> |
| 66 | + <encoding>UTF-8</encoding> |
| 67 | + <!-- maven-license-plugin recommends a strict check (e.g. check spaces/tabs too) --> |
| 68 | + <strictCheck>true</strictCheck> |
| 69 | + </configuration> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <id>check-headers</id> |
| 73 | + <phase>verify</phase> |
| 74 | + <goals> |
| 75 | + <goal>check</goal> |
| 76 | + </goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
22 | 80 | </plugins>
|
23 | 81 | </build>
|
24 | 82 |
|
|
0 commit comments