<?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>3.10.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>pf4j-demo-api</artifactId> <version>3.10.0-SNAPSHOT</version> <packaging>jar</packaging> <name>Demo Api</name> <build> <plugins> <plugin> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.pf4j</groupId> <artifactId>pf4j</artifactId> <version>${project.version}</version> <!-- !!! VERY IMPORTANT --> <scope>provided</scope> </dependency> </dependencies> </project>