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.commons</groupId>
<artifactId>xwiki-commons</artifactId>
<relativePath>../xwiki-commons-pom</relativePath>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-core</artifactId>
<name>XWiki Platform - Core - Parent POM</name>
<packaging>pom</packaging>
<version>3.1-SNAPSHOT</version>
<description>XWiki Platform - Core - Parent POM</description>
<!-- Versions of XWiki dependencies used in Platform modules -->
<rendering.version>${project.version}</rendering.version>
<commons.version>${project.version}</commons.version>
<!-- Platform Tools versions -->
<platform.tool.xar-handler.version>1.10-SNAPSHOT</platform.tool.xar-handler.version>
<platform.tool.xar-plugin.version>1.15-SNAPSHOT</platform.tool.xar-plugin.version>
<!-- The previous stable version of this project, used to catch API breakages. -->
<clirr.previous.version>3.0</clirr.previous.version>
</properties>
<connection>scm:svn:http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk</connection>
<developerConnection>scm:svn:https://svn.xwiki.org/svnroot/xwiki/platform/core/trunk</developerConnection>
<url>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk</url>
<system>jira</system>
<url>http://jira.xwiki.org/jira/browse/XWIKI</url>
<!-- Standard dependencies used in several modules -->
Thomas Mortagne
committed
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
Thomas Mortagne
committed
<!-- Jython engine -->
<dependency>
<groupId>org.python</groupId>
<artifactId>jython-standalone</artifactId>
<version>2.5.2-xwiki</version>
Thomas Mortagne
committed
</dependency>
<!-- JFreeChart -->
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.13</version>
</dependency>
<!-- JFreeChart 1.0.13 has no POM file in the Maven Central Repository and thus we need to manually define
its own Maven dependency on JFree Common. Remove this dependency when it's fixed. -->
<dependency>
<groupId>jfree</groupId>
<artifactId>jcommon</artifactId>
<version>1.0.15</version>
</dependency>
<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.xwiki.platform.tools</groupId>
<artifactId>xwiki-xar-plugin</artifactId>
<version>${platform.tool.xar-plugin.version}</version>
</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>
</plugins>
<!-- Needed to add support for the XAR packaging -->
<extensions>
<extension>
<groupId>org.xwiki.platform.tools</groupId>
<artifactId>xwiki-xar-handlers</artifactId>
<version>${platform.tool.xar-handler.version}</version>
</extension>
</extensions>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>1.2.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit4</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<module>xwiki-platform-action</module>
<module>xwiki-platform-administration</module>
<module>xwiki-platform-adwords</module>
<module>xwiki-platform-albatross</module>
<module>xwiki-platform-alexa</module>
<module>xwiki-platform-application-manager</module>
<module>xwiki-platform-blog</module>
<module>xwiki-platform-bridge</module>
<module>xwiki-platform-calendar</module>
<module>xwiki-platform-chart</module>
<module>xwiki-platform-classloader</module>
<module>xwiki-platform-colibri</module>
<module>xwiki-platform-component</module>
<module>xwiki-platform-configuration</module>
<module>xwiki-platform-containers</module>
<module>xwiki-platform-exoplatform</module>
<module>xwiki-platform-oldcore</module>
<module>xwiki-platform-crypto</module>
<module>xwiki-platform-csrf</module>
<module>xwiki-platform-extension</module>
<module>xwiki-platform-invitation</module>
<module>xwiki-platform-ircbot</module>
<module>xwiki-platform-jodatime</module>
<module>xwiki-platform-legacy</module>
<module>xwiki-platform-localization</module>
<module>xwiki-platform-mailsender</module>
<module>xwiki-platform-messagestream</module>
<module>xwiki-platform-model</module>
<module>xwiki-platform-observation</module>
<module>xwiki-platform-office</module>
<module>xwiki-platform-query</module>
<module>xwiki-platform-refactoring</module>
<module>xwiki-platform-rendering</module>
<module>xwiki-platform-rest</module>
<module>xwiki-platform-skin</module>
<module>xwiki-platform-store</module>
<module>xwiki-platform-test</module>
<module>xwiki-platform-url</module>
<module>xwiki-platform-velocity</module>
<module>xwiki-platform-xml</module>
<module>xwiki-platform-xmlrpc</module>
<module>xwiki-platform-webdav</module>
</modules>
<profiles>
<profile>
<!-- We run Clirr in a profile since Cobertura interferes with Clirr and thus we run
Cobertura instrumentation in a special profile (when the Cobertura profile is
executed, the Clirr one isn't). -->
<id>clirr</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<configuration>
<skip>${xwiki.clirr.skip}</skip>
<comparisonVersion>${clirr.previous.version}</comparisonVersion>
<excludes>
<exclude>**/internal/**</exclude>
<exclude>**/test/**</exclude>
<!-- To be removed when we release 3.1 -->
<exclude>com/xpn/xwiki/pref/api/XWikiPrefService</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<xwiki.clirr.skip>false</xwiki.clirr.skip>
</properties>
</profile>
</project>