generated from xwiki-contrib/github-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
293 lines (284 loc) · 16.5 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<?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>15.10.11</version>
</parent>
<groupId>org.xwiki.contrib</groupId>
<artifactId>application-book-versions</artifactId>
<name>Book Versions Application</name>
<description>Application for managing and publishing documentation (a collection of pages) that is versioned (with inheritance of content or not), described by a status, that can be conditioned by variants, and using libraries of keywords/rich content dynamically filled in.</description>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<properties>
<xwiki.release.jira.skip>false</xwiki.release.jira.skip>
<xwiki.issueManagement.jira.id>BVERSION</xwiki.issueManagement.jira.id>
</properties>
<developers>
<developer>
<id>lucaa</id>
<name>Anca Luca</name>
</developer>
<developer>
<id>rstavro</id>
<name>Raluca Stavro</name>
</developer>
<developer>
<id>mpace</id>
<name>Mathieu Pace</name>
</developer>
<developer>
<id>ppantiru</id>
<name>Paul Pantiru</name>
</developer>
</developers>
<issueManagement>
<system>jira</system>
<url>https://jira.xwiki.org/browse/BVERSION</url>
</issueManagement>
<organization>
<name>XWiki SAS</name>
<url>http://xwiki.com</url>
</organization>
<scm>
<connection>scm:git:git://github.com/xwiki-contrib/book-versions.git</connection>
<developerConnection>scm:git:git@github.com:xwiki-contrib/book-versions.git</developerConnection>
<url>https://github.com/xwiki-contrib/book-versions/tree/master/</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>application-book-versions-api</module>
<module>application-book-versions-default</module>
<module>application-book-versions-ui</module>
<module>application-book-versions-xip</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.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslationStatus(com.xpn.xwiki.doc.XWikiDocument) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Added new method in order to handle the status of a translations.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Object>> org.xwiki.contrib.bookversions.BookVersionsManager::getLanguageData(com.xpn.xwiki.doc.XWikiDocument)</new>
<justification>Added new method in order to handle the translations.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method void org.xwiki.contrib.bookversions.BookVersionsManager::setLanguageData(com.xpn.xwiki.doc.XWikiDocument, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Object>>)</new>
<justification>Added new method in order to handle the translations.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method boolean org.xwiki.contrib.bookversions.BookVersionsManager::isDefaultLanguage(com.xpn.xwiki.doc.XWikiDocument, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Added new method in order to handle the translations.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method boolean org.xwiki.contrib.bookversions.BookVersionsManager::isDefaultLanguage(org.xwiki.model.reference.DocumentReference, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed in order to check if a language is the default one.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslationStatus(com.xpn.xwiki.doc.XWikiDocument, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslationStatus(org.xwiki.model.reference.DocumentReference, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslatedTitle(com.xpn.xwiki.doc.XWikiDocument, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslatedTitle(org.xwiki.model.reference.DocumentReference, java.lang.String) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getTranslatedTitle(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.removed</code>
<old>method void org.xwiki.contrib.bookversions.BookVersionsManager::executePublicationJob(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.job.JobException</old>
<justification>Not needed anymore.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getDefaultTranslation(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::getPageStatus(com.xpn.xwiki.doc.XWikiDocument)</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.List<org.xwiki.model.reference.DocumentReference> org.xwiki.contrib.bookversions.BookVersionsManager::getPageVariants(com.xpn.xwiki.doc.XWikiDocument)</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.List<org.xwiki.model.reference.DocumentReference> org.xwiki.contrib.bookversions.BookVersionsManager::getUsedLibraries(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.Map<org.xwiki.model.reference.DocumentReference, org.xwiki.model.reference.DocumentReference> org.xwiki.contrib.bookversions.BookVersionsManager::getUsedPublishedLibraries(org.xwiki.model.reference.DocumentReference, org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.Map<java.lang.String, java.lang.Object> org.xwiki.contrib.bookversions.BookVersionsManager::loadPublicationConfiguration(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.returnTypeChanged</code>
<old>method void org.xwiki.contrib.bookversions.BookVersionsManager::publish(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException</old>
<new>method java.lang.String org.xwiki.contrib.bookversions.BookVersionsManager::publish(org.xwiki.model.reference.DocumentReference) throws org.xwiki.job.JobException</new>
<justification>Refactoring the method.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method void org.xwiki.contrib.bookversions.BookVersionsManager::publishInternal(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryException, org.xwiki.component.manager.ComponentLookupException, org.xwiki.rendering.parser.ParseException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method void org.xwiki.contrib.bookversions.BookVersionsManager::resetTranslations(com.xpn.xwiki.doc.XWikiDocument)</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.removed</code>
<old>method void org.xwiki.contrib.bookversions.script.BookVersionsScriptService::executePublicationJob(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.job.JobException</old>
<justification>Not needed anymore.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.method.addedToInterface</code>
<new>method java.util.List<java.lang.String> org.xwiki.contrib.bookversions.BookVersionsManager::getConfiguredLanguages(org.xwiki.model.reference.DocumentReference) throws com.xpn.xwiki.XWikiException</new>
<justification>Needed for new features.</justification>
</item>
<item>
<ignore>true</ignore>
<code>java.annotation.attributeValueChanged</code>
<old>class org.xwiki.contrib.bookversions.listeners.DocumentCreatingEventListener</old>
<new>class org.xwiki.contrib.bookversions.listeners.DocumentCreatingEventListener</new>
<annotationType>javax.inject.Named</annotationType>
<attribute>value</attribute>
<oldValue>"org.xwiki.contrib.bookversions.listeners.DocumentUpdatingEventListener"</oldValue>
<newValue>"org.xwiki.contrib.bookversions.listeners.DocumentCreatingEventListener"</newValue>
<justification>Used the wrong name from the start.</justification>
</item>
</differences>
</revapi.differences>
</analysisConfiguration>
</configuration>
</plugin>
</plugins>
</build>
</project>