Permalink
Switch branches/tags
XCOMMONS-862 XWIKI-5059 XWIKI-7553 XWIKI-9074 XWIKI-9930 XWIKI-10309 XWIKI-10489 XWIKI-11162 XWIKI-11476 XWIKI-12623 XWIKI-13101 XWIKI-13380 XWIKI-14461 XWIKI-14647 XWIKI-14674 XWIKI-14808 XWIKI-14929-14930 XWIKI-14947 XWIKI-15091 XWIKI-15092 XWIKI-15648 action-webjars-modules bug-XWIKI-14963 feature-XCOMMONS-916 feature-XWIKI-12544 feature-XWIKI-13142 feature-XWIKI-14129 feature-alfresco-link feature-authorization-context feature-blog-visibility feature-bootswatch-3.3.7 feature-default-notifications-preferences feature-edit-comments feature-extension-index feature-filterable-activity-stream feature-flavor-filtering feature-jcache feature-language-picker feature-newmodel feature-notification-filter-preferences-storage feature-notification-filter-preferences-store feature-notification-tags-filter feature-notifications-app feature-notifications-default-filter-preferences feature-notifications-email-clean feature-notifications-email-revamp feature-notifications-filters-with-starting-date feature-notifications-for-activitystream feature-notifications-watch-user feature-notifications-watched-revamp feature-overwrite-children-on-create-from-template feature-portlet-3.5.x feature-protect-product-pages feature-repositorydepmanaement feature-rest-nested-spaces feature-rights-accessibility feature-sharepage-group feature-standardnewline feature-store-attachments-newstore feature-theme-editor feature-thumbnails feature-translated-datetool feature-user-messages-in-notifications feature-users feature-velocity2 feature-viewers-uix feature-wiki-members master misc-fix-fn-tests revert-473-automation revert-802-XWIKI-14038 stable-8.4.x stable-9.1.x stable-9.2.x stable-9.3.x stable-9.4.x stable-9.5.x stable-9.6.x stable-9.7.x stable-9.8.x stable-9.9.x stable-9.10.x stable-9.11.x stable-10.8.x stable-10.10.x velocity-tools-refactoring xwiki-15452 xwiki-15605 xwiki-platform-7.2 xwiki-platform-7.4 xwiki-platform-notifications
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
315 lines (312 sloc) 15.6 KB
<?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>10.11-SNAPSHOT</version>
</parent>
<artifactId>xwiki-platform-core</artifactId>
<name>XWiki Platform - Core - Parent POM</name>
<packaging>pom</packaging>
<description>XWiki Platform - Core - Parent POM</description>
<properties>
<!-- 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>
</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>
<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>${basedir}/target/screenshots</value>
</property>
</systemProperties>
<!-- Verify that unit tests don't output anything to stdout/stderr -->
<properties>
<property>
<name>listener</name>
<value>org.xwiki.test.CaptureConsoleRunListener</value>
</property>
</properties>
</configuration>
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-test-simple</artifactId>
<version>${commons.version}</version>
</dependency>
</dependencies>
</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 -->
<property>
<name>screenshotDirectory</name>
<value>${basedir}/target/screenshots</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<configuration>
<skip>${xwiki.minification.skip}</skip>
<!-- We prefer to use the JSHint Maven Plugin because it gives us more control over the validation rules. -->
<jswarn>false</jswarn>
<!-- The default suffix uses the dash as separator (-min) but we prefer the dot (.min) because it is
currently more widely used in the JavaScript world. -->
<suffix>.min</suffix>
</configuration>
</plugin>
<plugin>
<groupId>com.cj.jshintmojo</groupId>
<artifactId>jshint-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>lint</goal>
</goals>
</execution>
</executions>
<configuration>
<globals>require,define</globals>
<!-- See https://github.com/jshint/jshint/blob/master/examples/.jshintrc -->
<options>camelcase,maxparams:5,maxdepth:3,maxstatements:20,maxcomplexity:10,maxlen:120</options>
</configuration>
</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>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<analysisConfiguration><![CDATA[
{
"revapi": {
"filter": {
// 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.
"archives": {
"exclude": ["org\\.xwiki\\.commons:.*:.*", "org\\.xwiki\\.rendering:.*:.*"]
}
},
"ignore" : [
// Add more ignores below...
{
"code": "java.class.nonFinalClassInheritsFromNewClass",
"old": "class org.xwiki.rendering.macro.rss.RssMacroParameters",
"new": "class org.xwiki.rendering.macro.rss.RssMacroParameters",
"superClass": "org.xwiki.rendering.macro.box.BoxMacroParameters",
"justification": "As RssMacro now inherits from AbstractBoxMacro, its parameter class needs to
inherits from BoxMacroParameters. This could only break compatibility if a class inheriting from
RssMacroParameters defines a method with same name and parameters than in BoxMacroParameters but
different return type. We consider this risk as acceptable since the chances are very low and in
case it occurs, the fix for the user would be easy."
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::deleteFilterPreference(java.lang.String) throws org.xwiki.notifications.NotificationException",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::deleteFilterPreference(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.notifications.NotificationException",
"justification": "Bad design at fist attempt"
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::saveFilterPreferences(java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>)",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::saveFilterPreferences(org.xwiki.model.reference.DocumentReference, java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>)",
"justification": "Bad design at fist attempt"
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::setFilterPreferenceEnabled(java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::setFilterPreferenceEnabled(org.xwiki.model.reference.DocumentReference, java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
"justification": "Bad design at fist attempt"
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::deleteFilterPreference(java.lang.String) throws org.xwiki.notifications.NotificationException",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::deleteFilterPreference(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.notifications.NotificationException",
"justification": "Bad design at fist attempt"
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::saveFilterPreferences(java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>) throws org.xwiki.notifications.NotificationException",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::saveFilterPreferences(org.xwiki.model.reference.DocumentReference, java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>) throws org.xwiki.notifications.NotificationException",
"justification": "Bad design at fist attempt"
},
{
"code": "java.method.numberOfParametersChanged",
"old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::setFilterPreferenceEnabled(java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
"new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::setFilterPreferenceEnabled(org.xwiki.model.reference.DocumentReference, java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
"justification": "Bad design at fist attempt"
}
]
}
}
]]></analysisConfiguration>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<!-- Sorted Alphabetically -->
<module>xwiki-platform-activeinstalls</module>
<module>xwiki-platform-activitystream</module>
<module>xwiki-platform-administration</module>
<module>xwiki-platform-alerts</module>
<module>xwiki-platform-annotations</module>
<module>xwiki-platform-application</module>
<module>xwiki-platform-appwithinminutes</module>
<module>xwiki-platform-attachment</module>
<module>xwiki-platform-autotag</module>
<module>xwiki-platform-bridge</module>
<module>xwiki-platform-captcha</module>
<module>xwiki-platform-chart</module>
<module>xwiki-platform-classloader</module>
<module>xwiki-platform-component</module>
<module>xwiki-platform-configuration</module>
<module>xwiki-platform-containers</module>
<module>xwiki-platform-crypto</module>
<module>xwiki-platform-csrf</module>
<module>xwiki-platform-dashboard</module>
<module>xwiki-platform-date</module>
<module>xwiki-platform-diffplugin</module>
<module>xwiki-platform-display</module>
<module>xwiki-platform-edit</module>
<module>xwiki-platform-eventstream</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-formula</module>
<module>xwiki-platform-graphviz</module>
<module>xwiki-platform-groovy</module>
<module>xwiki-platform-help</module>
<module>xwiki-platform-icon</module>
<module>xwiki-platform-image</module>
<module>xwiki-platform-index</module>
<module>xwiki-platform-instance</module>
<module>xwiki-platform-invitation</module>
<module>xwiki-platform-job</module>
<module>xwiki-platform-jodatime</module>
<module>xwiki-platform-lesscss</module>
<module>xwiki-platform-linkchecker</module>
<module>xwiki-platform-livetable</module>
<module>xwiki-platform-localization</module>
<module>xwiki-platform-logging</module>
<module>xwiki-platform-mail</module>
<module>xwiki-platform-mailsender</module>
<module>xwiki-platform-menu</module>
<module>xwiki-platform-messagestream</module>
<module>xwiki-platform-model</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-query</module>
<module>xwiki-platform-ratings</module>
<module>xwiki-platform-refactoring</module>
<module>xwiki-platform-release</module>
<module>xwiki-platform-rendering</module>
<module>xwiki-platform-repository</module>
<module>xwiki-platform-resource</module>
<module>xwiki-platform-rest</module>
<module>xwiki-platform-sandbox</module>
<module>xwiki-platform-sharepage</module>
<module>xwiki-platform-scheduler</module>
<module>xwiki-platform-search</module>
<module>xwiki-platform-security</module>
<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>
<module>xwiki-platform-tree</module>
<module>xwiki-platform-user</module>
<module>xwiki-platform-uiextension</module>
<module>xwiki-platform-url</module>
<module>xwiki-platform-velocity</module>
<module>xwiki-platform-vfs</module>
<module>xwiki-platform-watchlist</module>
<module>xwiki-platform-web</module>
<module>xwiki-platform-webjars</module>
<module>xwiki-platform-wiki</module>
<module>xwiki-platform-wysiwyg</module>
<module>xwiki-platform-xar</module>
<module>xwiki-platform-xclass</module>
<module>xwiki-platform-xml</module>
<module>xwiki-platform-zipexplorer</module>
</modules>
<profiles>
<!-- Profile to build Legacy modules -->
<profile>
<id>legacy</id>
<modules>
<module>xwiki-platform-legacy</module>
</modules>
</profile>
</profiles>
</project>