-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpom.xml
159 lines (150 loc) · 7.23 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?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>14.10-1</version>
</parent>
<groupId>org.xwiki.contrib.confluence</groupId>
<artifactId>confluence</artifactId>
<version>9.74.1-SNAPSHOT</version>
<name>Confluence - Parent POM</name>
<description>Parent POM for Confluence modules</description>
<packaging>pom</packaging>
<properties>
<xwiki.release.jira.skip>false</xwiki.release.jira.skip>
<xwiki.issueManagement.jira.id>CONFLUENCE</xwiki.issueManagement.jira.id>
</properties>
<scm>
<connection>scm:git:git://github.com/xwiki-contrib/confluence.git</connection>
<developerConnection>scm:git:[email protected]:xwiki-contrib/confluence.git</developerConnection>
<url>https://github.com/xwiki-contrib/confluence/tree/master</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>tmortagne</id>
<name>Thomas Mortagne</name>
<email>thomas.mortagne at xwiki.com</email>
<timezone>+1</timezone>
</developer>
<developer>
<id>xwikidev</id>
<name>XWiki Development Team</name>
</developer>
</developers>
<modules>
<module>confluence-xml</module>
<module>confluence-resolvers</module>
<module>confluence-resource-reference-type-parsers</module>
<module>confluence-url-mapping</module>
<module>confluence-url-mapping-scroll-viewport</module>
<module>confluence-syntax-xhtml</module>
<module>confluence-syntax-confluence</module>
<module>confluence-syntax-confluence10override</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-Pintegration-tests -DskipTests=true</arguments>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<analysisConfiguration combine.children="append">
<!-- Add ignores here using the following syntax. You can use a single <revapi.differences> entry but it
cannot be empty. You can also use different <revapi.differences> entries if you wish to use a common
justification for example (see example below).
By default criticality is set to "error" if not specified.
See https://revapi.org/revapi/configuration.html#_criticality for more.
Note: you can use regexes by using the syntax: <regex>true</regex>
Don't forget to '\'-escape dots and other special characters in this case ;)
Common justification example:
<revapi.differences>
<justification>This change is necessary to fix bug #1234</justification>
<criticality>highlight</criticality>
<differences>
<item>
<code>java.method.addToInterface</code>
<fullQualifiedClassName>com.acme.ToolInterface</fullyQualifiedClassName>
<new>method void com.acme.ToolInterface::setup()</new>
</item>
<item>
<code>java.method.removed</code>
<fullQualifiedClassName>com.acme.ToolInterface</fullyQualifiedClassName>
<old>method void com.acme.ToolInterface::initialize()</old>
<justification>...</justification>
</item>
</differences>
</revapi.differences>
Single justification example:
<revapi.differences>
<differences>
<item>
<code>java.method.removed</code>
<old>method void org.xwiki.diff.xml.XMLDiff::xxx()</old>
<justification>Unstable API added by mistake.</justification>
<criticality>highlight</criticality>
</item>
</differences>
</revapi.differences>
-->
<revapi.differences>
<differences>
<item>
<ignore>true</ignore>
<code>java.method.parameterTypeChanged</code>
<old>parameter org.xwiki.model.reference.EntityReference org.xwiki.contrib.confluence.resolvers.ConfluenceScrollPageIdResolver::getDocumentById(===long===) throws org.xwiki.contrib.confluence.resolvers.ConfluenceResolverException</old>
<new>parameter org.xwiki.model.reference.EntityReference org.xwiki.contrib.confluence.resolvers.ConfluenceScrollPageIdResolver::getDocumentById(===java.lang.String===) throws org.xwiki.contrib.confluence.resolvers.ConfluenceResolverException</new>
<parameterIndex>0</parameterIndex>
<justification>The api was broken from the start and likely unused since it was released very recently.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.class.removed</code>
<old>interface org.xwiki.contrib.confluence.resolvers.ConfluenceScrollViewportResolver</old>
<justification>The api was broken from the start and likely unused since it was released very recently.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.Long org.xwiki.contrib.confluence.resolvers.ConfluenceScrollPageIdResolver::getConfluencePageId(java.lang.String) throws org.xwiki.contrib.confluence.resolvers.ConfluenceResolverException</new>
<justification>Added the new method in order to better handle the mapping between the Scroll page id and the Confluence page id.</justification>
</item>
</differences>
</revapi.differences>
</analysisConfiguration>
</configuration>
</plugin>
</plugins>
</build>
</project>