Newer
Older
<?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.platform</groupId>
<artifactId>xwiki-platform</artifactId>
<version>14.5-SNAPSHOT</version>
<artifactId>xwiki-platform-core</artifactId>
<name>XWiki Platform - Core - Parent POM</name>
<packaging>pom</packaging>
<description>XWiki Platform - Core - Parent POM</description>
Marius Dumitru Florea
committed
<properties>
Vincent Massol
committed
<!-- JS/CSS minification is on by default, this property is used in order to able to skip minification when the
debug profile is active. It can also be used from the command line to skip minification -->
<xwiki.minification.skip>false</xwiki.minification.skip>
Marius Dumitru Florea
committed
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<!-- Use the manifest file generated by the OSGi Maven Bundle Plugin -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Marius Dumitru Florea
committed
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Vincent Massol
committed
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-test-simple</artifactId>
Vincent Massol
committed
</dependency>
</dependencies>
Marius Dumitru Florea
committed
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Generate OSGi Manifest information to all XWiki Core JARs -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
Vincent Massol
committed
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
Vincent Massol
committed
<analysisConfiguration>
<revapi.filter>
<archives>
<!-- We're ignoring all API incompatibilities from XWiki dependencies (i.e. commons and rendering)
since they're already covered by their own builds and we release all of them together. -->
<exclude>
<item>org\.xwiki\.commons:.*:.*</item>
<item>org\.xwiki\.rendering:.*:.*</item>
</exclude>
</archives>
</revapi.filter>
<!-- 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.
Vincent Massol
committed
Note: you can use regexes by using the syntax: <regex>true</regex>
Marius Dumitru Florea
committed
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>
<revapi.differences>
... other difference group here...
</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>
Marius Dumitru Florea
committed
-->
Vincent Massol
committed
<!-- Difference related to the Security refactoring. Start a new <revapi.differences> entry for other
differences -->
Simon Urli
committed
</analysisConfiguration>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<!-- Sorted Alphabetically -->
<module>xwiki-platform-activeinstalls</module>
<module>xwiki-platform-activeinstalls2</module>
<module>xwiki-platform-administration</module>
<module>xwiki-platform-alerts</module>
Vincent Massol
committed
<module>xwiki-platform-annotation</module>
<module>xwiki-platform-application</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-appwithinminutes</module>
Vincent Massol
committed
<module>xwiki-platform-attachment</module>
<module>xwiki-platform-autotag</module>
<module>xwiki-platform-bridge</module>
<module>xwiki-platform-chart</module>
<module>xwiki-platform-classloader</module>
<module>xwiki-platform-component</module>
<module>xwiki-platform-configuration</module>
Vincent Massol
committed
<module>xwiki-platform-container</module>
<module>xwiki-platform-crypto</module>
<module>xwiki-platform-csrf</module>
Vincent Massol
committed
<module>xwiki-platform-dashboard</module>
Guillaume Delhumeau
committed
<module>xwiki-platform-date</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-diff</module>
<module>xwiki-platform-diffplugin</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-display</module>
<module>xwiki-platform-edit</module>
<module>xwiki-platform-export</module>
<module>xwiki-platform-extension</module>
<module>xwiki-platform-feed</module>
<module>xwiki-platform-filter</module>
<module>xwiki-platform-flamingo</module>
<module>xwiki-platform-flavor</module>
<module>xwiki-platform-graphviz</module>
<module>xwiki-platform-groovy</module>
<module>xwiki-platform-help</module>
<module>xwiki-platform-icon</module>
Clément Aubin
committed
<module>xwiki-platform-image</module>
Vincent Massol
committed
<module>xwiki-platform-index</module>
<module>xwiki-platform-instance</module>
<module>xwiki-platform-invitation</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-job</module>
<module>xwiki-platform-jodatime</module>
<module>xwiki-platform-lesscss</module>
<module>xwiki-platform-linkchecker</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-livedata</module>
<module>xwiki-platform-livetable</module>
<module>xwiki-platform-logging</module>
<module>xwiki-platform-mail</module>
<module>xwiki-platform-mailsender</module>
<module>xwiki-platform-mentions</module>
<module>xwiki-platform-menu</module>
Vincent Massol
committed
<module>xwiki-platform-minimaldependencies</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-netflux</module>
<module>xwiki-platform-notifications</module>
<module>xwiki-platform-observation</module>
<module>xwiki-platform-office</module>
<module>xwiki-platform-oldcore</module>
<module>xwiki-platform-panels</module>
<module>xwiki-platform-ratings</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-realtime</module>
<module>xwiki-platform-release</module>
<module>xwiki-platform-repository</module>
<module>xwiki-platform-resource</module>
<module>xwiki-platform-sandbox</module>
Vincent Massol
committed
<module>xwiki-platform-sharepage</module>
<module>xwiki-platform-scheduler</module>
<module>xwiki-platform-search</module>
<module>xwiki-platform-security</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-sheet</module>
<module>xwiki-platform-skin</module>
<module>xwiki-platform-statistics</module>
<module>xwiki-platform-store</module>
<module>xwiki-platform-svg</module>
<module>xwiki-platform-tag</module>
<module>xwiki-platform-template</module>
<module>xwiki-platform-test</module>
<module>xwiki-platform-tika</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-tree</module>
<module>xwiki-platform-user</module>
Jean-Vincent Drean
committed
<module>xwiki-platform-uiextension</module>
<module>xwiki-platform-url</module>
<module>xwiki-platform-velocity</module>
Vincent Massol
committed
<module>xwiki-platform-vfs</module>
Vincent Massol
committed
<module>xwiki-platform-webjars</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-websocket</module>
<module>xwiki-platform-wiki</module>
Marius Dumitru Florea
committed
<module>xwiki-platform-wysiwyg</module>
<module>xwiki-platform-xar</module>
<module>xwiki-platform-xclass</module>
<module>xwiki-platform-zipexplorer</module>
</modules>
<profiles>
<!-- Profile to build Legacy modules -->
<modules>
<module>xwiki-platform-legacy</module>
</modules>
</profile>
Vincent Massol
committed
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
<profile>
<id>docker</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemProperties combine.children="append">
<!-- This is required by the Oracle JDBC driver when running configuration tests on Oracle, as
otherwise it fails with:
SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
It's required at this level since TestContainers used JDBC to verify that the Oracle database is
started.
-->
<property>
<name>oracle.jdbc.timezoneAsRegion</name>
<value>false</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
Vincent Massol
committed
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<profile>
<!-- Executed when the docker profile is not specified. This is because we want to define the
"screenshotDirectory" system property for Surefire/Failsafe plugins only when not executing docker-based
tests since it's not used for them (the screenshot directory is computed based on the "maven.build.dir"
system property for them). -->
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties combine.children="append">
<!-- Tells XWiki Platform Test module to generate screenshots in the target dir when a test is
failing.
TODO: Remove this property once all functional tests have been moved to use the failsafe plugin
-->
<property>
<name>screenshotDirectory</name>
<value>${project.build.directory}/screenshots</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemProperties combine.children="append">
<!-- Tells XWiki Platform Test module to generate screenshots in the target dir when a test is
failing (only used by non-docker UI tests) -->
<property>
<name>screenshotDirectory</name>
<value>${project.build.directory}/screenshots</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</project>