https://github.com/xwiki/xwiki-commons
Tip revision: 24a6c6ae49ca4d78a801e0646ea96b641ab70e66 authored by Clément Aubin on 11 June 2018, 08:37:45 UTC
[maven-release-plugin] prepare release xwiki-commons-10.5-rc-1
[maven-release-plugin] prepare release xwiki-commons-10.5-rc-1
Tip revision: 24a6c6a
pom.xml
<?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>
<version>10.5-rc-1</version>
</parent>
<artifactId>xwiki-commons-tools</artifactId>
<name>XWiki Commons - Tools - Parent POM</name>
<packaging>pom</packaging>
<description>XWiki Commons - Tools - Parent POM</description>
<properties>
<!-- Don't run backward-compatibility checks in tools modules since we don't consider them public API -->
<xwiki.revapi.skip>true</xwiki.revapi.skip>
<!-- Don't cloverify tools since we don't want our global TPC to include tools TPC. We want to include only
runtime code -->
<xwiki.clover.skip>true</xwiki.clover.skip>
<!-- Set the version of Maven used at build time for Maven plugins dependencies -->
<maven.dependencies.version>${maven.runtime.version}</maven.dependencies.version>
</properties>
<modules>
<!-- Sorted Alphabetically -->
<module>xwiki-commons-tool-enforcers</module>
<module>xwiki-commons-tool-extension-plugin</module>
<module>xwiki-commons-tool-license-resources</module>
<module>xwiki-commons-tool-spoon</module>
<module>xwiki-commons-tool-test</module>
<module>xwiki-commons-tool-verification-resources</module>
<module>xwiki-commons-tool-xar</module>
<module>xwiki-commons-tool-webjar-handlers</module>
<module>xwiki-commons-tool-remote-resource-plugin</module>
</modules>
<build>
<pluginManagement>
<plugins>
<!-- Note: We duplicate the configuration located in xwiki-commons-pom since commons tools use xwiki-commons
as their parent pom and not xwiki-commons-pom. This is to avoid a circular dependency since
xwiki-commons-pom uses the xwiki-commons-tool-validation-resources artifact.
It also means each tool module wanting to execute checkstyle will need to explicitly add it.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-verification-resources</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<configuration>
<propertyExpansion>
currentVersion=${project.version}
</propertyExpansion>
<!-- Used by the "blocker" execution id and the "default-cli" one
(i.e. when executing "mvn checkstyle:check") -->
<configLocation>checkstyle-blocker.xml</configLocation>
</configuration>
<executions>
<execution>
<id>default</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<configLocation>checkstyle.xml</configLocation>
</configuration>
</execution>
<execution>
<!-- Checks that should never be excluded from executing in maven projects -->
<id>blocker</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>