mirror of https://github.com/pf4j/pf4j.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
4.5 KiB
128 lines
4.5 KiB
<?xml version="1.0"?> |
|
<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/xsd/maven-4.0.0.xsd"> |
|
|
|
<parent> |
|
<groupId>org.pf4j</groupId> |
|
<artifactId>pf4j-parent</artifactId> |
|
<version>3.1.0</version> |
|
</parent> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
<artifactId>pf4j</artifactId> |
|
<version>3.1.0</version> |
|
<packaging>jar</packaging> |
|
<name>PF4J</name> |
|
<description>Plugin Framework for Java</description> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<configuration> |
|
<compilerArgument>-proc:none</compilerArgument> |
|
</configuration> |
|
<executions> |
|
<!-- compile everything for Java 8 except the module-info.java --> |
|
<execution> |
|
<id>default-compile</id> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
<configuration> |
|
<excludes> |
|
<exclude>module-info.java</exclude> |
|
</excludes> |
|
</configuration> |
|
</execution> |
|
|
|
<!-- compile module-info.java for Java 9+ --> |
|
<execution> |
|
<id>java9-compile</id> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
<configuration> |
|
<release>9</release> |
|
<multiReleaseOutput>true</multiReleaseOutput> |
|
<includes> |
|
<include>module-info.java</include> |
|
</includes> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-jar-plugin</artifactId> |
|
<configuration> |
|
<archive> |
|
<manifestEntries> |
|
<Multi-Release>true</Multi-Release> |
|
</manifestEntries> |
|
</archive> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-api</artifactId> |
|
<version>${slf4j.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
<version>${slf4j.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.github.zafarkhaja</groupId> |
|
<artifactId>java-semver</artifactId> |
|
<version>0.9.0</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.ow2.asm</groupId> |
|
<artifactId>asm</artifactId> |
|
<version>${asm.version}</version> |
|
<optional>true</optional> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.hamcrest</groupId> |
|
<artifactId>hamcrest</artifactId> |
|
<version>${hamcrest.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<!-- |
|
An empty artifact, required while JUnit 4 is on the classpath to override its |
|
dependency on hamcrest. |
|
|
|
See http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x |
|
--> |
|
<groupId>org.hamcrest</groupId> |
|
<artifactId>hamcrest-core</artifactId> |
|
<version>${hamcrest.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.junit.jupiter</groupId> |
|
<artifactId>junit-jupiter-engine</artifactId> |
|
<version>${junit.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.mockito</groupId> |
|
<artifactId>mockito-core</artifactId> |
|
<version>${mockito.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
</project>
|
|
|