Changes for page Maven XAR Plugin

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

<
From version < 28.1 >
edited by Anca Luca
on 2020/01/06 17:59
To version < 29.1 >
edited by Vincent Massol
on 2020/01/07 16:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.lucaa
1 +xwiki:XWiki.VincentMassol
Content
... ... @@ -226,7 +226,7 @@
226 226   <version>${commons.version}</version>
227 227   <configuration>
228 228   <technicalPages>
229 - <technicalPage>.*Translations\.xml</technicalPage>
229 + <technicalPage>.*/.*Translations\.xml</technicalPage>
230 230   </technicalPages>
231 231   </configuration>
232 232  </plugin>
... ... @@ -235,6 +235,7 @@
235 235  ** {{info}}New in 10.8RC1{{/info}} Remove any ##date##, ##creationDate##, ##contentUpdateDate## or attachment ##date## fields, regardless if they have empty values or not. This is done because it's causing confusion for users to install pages that are created in 2005/2009/etc. so we should avoid committing dates on git that users might end up installing.
236 236  *** 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).
237 237  *** Can be disabled for all pages in the xar with either ##-Dxar.dates.skip=true## (system property) or ##<skipDates>true</skipDates>## (plugin configuration parameter).
238 +** {{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.
238 238  
239 239  = Verify Mojo =
240 240  
... ... @@ -256,11 +256,11 @@
256 256  ...
257 257   <!-- Consider all pages named *Translations as content pages by default -->
258 258   <contentPages>
259 - <contentPage>.*Translations\.xml</contentPage>
260 + <contentPage>.*/.*Translations\.xml</contentPage>
260 260   </contentPages>
261 261   <!-- The EditTranslations page is not a Translation page and thus not a content page! -->
262 262   <technicalPages>
263 - <technicalPage>EditTranslations\.xml</technicalPage>
264 + <technicalPage>.*/EditTranslations\.xml</technicalPage>
264 264   </technicalPages>
265 265   </configuration>
266 266  </plugin>
... ... @@ -293,6 +293,7 @@
293 293  * {{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.
294 294  ** 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).
295 295  ** 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.
296 296  
297 297  Example usage:
298 298  

Get Connected