-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
71 lines (68 loc) · 2.9 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dspace</groupId>
<artifactId>dspace-xmlui-mirage2</artifactId>
<packaging>war</packaging>
<name>DSpace XML-UI Mirage2 Theme</name>
<description>
DSpace Mirage2 Theme for the XMLUI (Cocoon based interface).
</description>
<parent>
<groupId>org.dspace</groupId>
<artifactId>dspace-parent</artifactId>
<version>5.4</version>
<relativePath>..</relativePath>
</parent>
<properties>
<!-- This is the path to the root [dspace-src] directory. -->
<root.basedir>${basedir}/..</root.basedir>
</properties>
<build>
<filters>
<!-- Filter using the properties file defined by dspace-parent POM -->
<filter>${filters.file}</filter>
</filters>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archiveClasses>false</archiveClasses>
<warSourceExcludes>themes/**</warSourceExcludes>
<webResources>
<resource>
<filtering>false</filtering>
<directory>${basedir}/src/main/webapp</directory>
</resource>
</webResources>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<!-- Exclude license check for essential config files, these files cannot have a license comment or Mirage 2 will not compile -->
<excludes>
<exclude>**/*.json</exclude>
<exclude>**/*.LICENSE</exclude>
<exclude>**/*.svg</exclude>
<exclude>**/readme.txt</exclude>
<exclude>**/.bowerrc</exclude>
<exclude>**/dataTables.jqueryui.js</exclude>
</excludes>
<mapping>
<!-- File extensions which are not recognized by license-maven-plugin:
*.hbs, *.scss -->
<hbs>XML_STYLE</hbs>
<scss>JAVADOC_STYLE</scss>
</mapping>
</configuration>
</plugin>
</plugins>
</build>
</project>