xwiki-commons-classloader-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-classloader-api</artifactId>
<version>18.4.0-rc-1</version>
</dependency><?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-classloader</artifactId>
<version>18.4.0-rc-1</version>
</parent>
<artifactId>xwiki-commons-classloader-api</artifactId>
<name>XWiki Commons - ClassLoader - API</name>
<packaging>jar</packaging>
<description>XWiki Commons - ClassLoader - API</description>
<properties>
<!-- Old names of this module used for retro compatibility when resolving dependencies of old extensions -->
<xwiki.extension.features>org.xwiki.platform:xwiki-platform-classloader-api</xwiki.extension.features>
<xwiki.jacoco.instructionRatio>0.00</xwiki.jacoco.instructionRatio>
<!-- Name to display by the Extension Manager -->
<xwiki.extension.name>ClassLoader API</xwiki.extension.name>
<!-- Skipping revapi since xwiki-commons-legacy-classloader-api wraps this module and runs checks on it -->
<xwiki.revapi.skip>true</xwiki.revapi.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-component-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-environment-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-observation-api</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Testing dependencies -->
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-test-simple</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<!-- Specify the "default" execution id so that the "blocker" one is always executed -->
<id>default</id>
<configuration>
<excludes>
org/xwiki/classloader/internal/JarExtendedURLStreamHandler.java
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-maven-plugin</artifactId>
<executions>
<execution>
<id>spoon-main</id>
<configuration>
<processorProperties combine.children="append">
<processorProperty>
<name>org.xwiki.tool.spoon.InjectAnnotationProcessor</name>
<properties>
<property>
<!-- Exclude javax.script.ScriptEngineFactory since it's not an XWiki interface and thus
doesn't have a @Role annotation. there's no way for the Spoon checker to find
out about this, since only the Component Manager knows what has been registered for it. -->
<name>excludedFieldTypes</name>
<value><![CDATA[
["java.net.URLStreamHandlerFactory"]
]]></value>
</property>
</properties>
</processorProperty>
</processorProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>