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.
108 lines
4.1 KiB
108 lines
4.1 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.demo</groupId> |
|
<artifactId>pf4j-demo-parent</artifactId> |
|
<version>2.7.0-SNAPSHOT</version> |
|
</parent> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
<artifactId>pf4j-demo-plugins</artifactId> |
|
<version>2.7.0-SNAPSHOT</version> |
|
<packaging>pom</packaging> |
|
<name>Demo Plugins Parent</name> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
<java.version>1.7</java.version> |
|
|
|
<!-- Override below properties in each plugin's pom.xml --> |
|
<plugin.id /> |
|
<plugin.class /> |
|
<plugin.version /> |
|
<plugin.provider /> |
|
<plugin.dependencies /> |
|
</properties> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<configuration> |
|
<source>${java.version}</source> |
|
<target>${java.version}</target> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-assembly-plugin</artifactId> |
|
<version>3.1.0</version> |
|
<configuration> |
|
<descriptorRefs> |
|
<descriptorRef>jar-with-dependencies</descriptorRef> |
|
</descriptorRefs> |
|
<finalName>${project.artifactId}-${project.version}-plugin</finalName> |
|
<appendAssemblyId>false</appendAssemblyId> |
|
<attach>false</attach> |
|
<archive> |
|
<manifest> |
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
|
</manifest> |
|
<manifestEntries> |
|
<Plugin-Id>${plugin.id}</Plugin-Id> |
|
<Plugin-Version>${plugin.version}</Plugin-Version> |
|
<Plugin-Provider>${plugin.provider}</Plugin-Provider> |
|
<Plugin-Class>${plugin.class}</Plugin-Class> |
|
<Plugin-Dependencies>${plugin.dependencies}</Plugin-Dependencies> |
|
</manifestEntries> |
|
</archive> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<id>make-assembly</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-deploy-plugin</artifactId> |
|
<configuration> |
|
<skip>true</skip> |
|
</configuration> |
|
<version>2.8.2</version> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<modules> |
|
<module>plugin1</module> |
|
<module>plugin2</module> |
|
</modules> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.pf4j</groupId> |
|
<artifactId>pf4j</artifactId> |
|
<version>${project.version}</version> |
|
<!-- !!! VERY IMPORTANT --> |
|
<scope>provided</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.pf4j.demo</groupId> |
|
<artifactId>pf4j-demo-api</artifactId> |
|
<version>${project.version}</version> |
|
<!-- !!! VERY IMPORTANT --> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
</project>
|
|
|