forked from xwiki-contrib/application-invoices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
141 lines (135 loc) · 4.92 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*
-->
<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>
<parent>
<groupId>org.xwiki.contrib</groupId>
<artifactId>parent-platform</artifactId>
<version>7.4-15</version>
</parent>
<groupId>org.xwiki.contrib.invoices</groupId>
<artifactId>application-invoices</artifactId>
<name>Invoices</name>
<description>Application to manage invoices</description>
<packaging>xar</packaging>
<version>1.7.1-SNAPSHOT</version>
<properties>
<!-- Don't run CLIRR here since there's no Java code. -->
<xwiki.clirr.skip>true</xwiki.clirr.skip>
<xwiki.release.jira.skip>false</xwiki.release.jira.skip>
<xwiki.issueManagement.jira.id>INVOICES</xwiki.issueManagement.jira.id>
</properties>
<dependencies>
<dependency>
<groupId>org.xwiki.contrib.showhide</groupId>
<artifactId>showhide-macro</artifactId>
<type>xar</type>
<version>2.0</version>
</dependency>
</dependencies>
<developers>
<developer>
<id>tmortagne</id>
<name>Thomas Mortagne</name>
<email>thomas.mortagne at xwiki.com</email>
<timezone>+1</timezone>
</developer>
</developers>
<build>
<plugins>
<!-- For applicatiosn based on ApplicationManager, ensure application version in applications descriptors page is correct -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<id>set-application-informations</id>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/main/resources</dir>
<outputDir>${project.build.outputDirectory}</outputDir>
<includes>
<include>XApp/XWikiApplication*</include>
</includes>
<stylesheet>src/main/build/transformation/xapp.xsl</stylesheet>
<parameters>
<parameter>
<name>appversion</name>
<value>${project.version}</value>
</parameter>
</parameters>
</transformationSet>
</transformationSets>
</configuration>
</plugin>
<!-- We don't care about the Java version for XAR extensions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<message>You must release with Java 8!</message>
<version>[1.8, 1.9)</version>
</requireJavaVersion>
</rules>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-xar-plugin</artifactId>
<configuration>
<entries>
<!-- Upgrading a critical group is way too risky even if it was not customized -->
<entry>
<document>InvoicesCode.MailTemplate</document>
<type>customizable</type>
</entry>
</entries>
</configuration>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:git://github.com/xwiki-contrib/application-invoices.git</connection>
<developerConnection>scm:git:[email protected]:xwiki-contrib/application-invoices.git</developerConnection>
<url>https://github.com/xwiki-contrib/application-invoices</url>
<tag>HEAD</tag>
</scm>
</project>