Changes for page Maven XAR Plugin

Last modified by Vincent Massol on 2021/04/09 18:01

From version 29.1
edited by Vincent Massol
on 2020/01/07 16:27
Change comment: There is no comment for this version
To version 30.1
edited by Vincent Massol
on 2020/01/08 11:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -243,7 +243,8 @@
243 243  
244 244  * Verify that the encoding is UTF-8
245 245  * Verify that ##author##, ##contentAuthor##, ##creator## and attachment ##author##s are set to ##xwiki:XWiki.Admin##
246 -* Verify that the ##parent## field is not empty (except for ##Main.WebHome##)
246 +* Verify that the ##parent## field is not empty (except for ##Main.WebHome##). This check became optional (and turned off by default) in XWiki 11.10.3 & 12.0RC1.
247 +** To turn if on, set ##<emptyParentSkip>false</emptyParentSkip>## in the POM or pass ##-Dxar.verify.translationVisibility.skip=false## on the Maven command line
247 247  * Verify that ##version## is set to 1.1
248 248  * Verify that ##comment## is empty
249 249  * Verify that ##minorEdit## is set to false
... ... @@ -294,7 +294,7 @@
294 294  * {{info}}New in 10.8RC1{{/info}} Verify that any ##date##, ##creationDate##, ##contentUpdateDate## or attachment ##date## fields are not specified, thus risking to import pages with stale dates.
295 295  ** Can be disabled for individual pages with either ##-Dxar.dates.skip.documentList=Space1.Subspace2.Page1,Space2.Subspace2.Page2,etc.## (system property) or ##<skipDatesDocumentList>Space1.Subspace2.Page1,Space2.Subspace2.Page2,etc.</skipDatesDocumentList>## (plugin configuration parameter).
296 296  ** Can be disabled for all pages in the xar with either ##-Dxar.dates.skip=true## (system property) or ##<skipDates>true</skipDates>## (plugin configuration parameter).
297 -** {{warning}}New in 11.10.3 and 12.0RC1{{/warning}}The ##technicalPage## and ##contentPage## entries in the plugin configuration now accept a regex that will be tested on the full path of the file. Before the regex was tested only on the file name. This allows supporting spaces.
298 +* {{warning}}New in 11.10.3 and 12.0RC1{{/warning}}The ##technicalPage## and ##contentPage## entries in the plugin configuration now accept a regex that will be tested on the full path of the file. Before the regex was tested only on the file name. This allows supporting spaces.
298 298  
299 299  Example usage:
300 300  

Get Connected