346 lines
9.3 KiB
XML
346 lines
9.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.inteligr8</groupId>
|
|
<artifactId>provided-scope-maven-extension</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>maven-plugin</packaging>
|
|
|
|
<name>Provided Scope Maven Extension</name>
|
|
<description>A Maven extension for showing precedence to `provided` scoped dependencies.</description>
|
|
<url>https://git.inteligr8.com/inteligr8/provided-scope-maven-extension</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:https://git.inteligr8.com:inteligr8/provided-scope-maven-extension.git</connection>
|
|
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/provided-scope-maven-extension.git</developerConnection>
|
|
<url>https://git.inteligr8.com/inteligr8/provided-scope-maven-extension</url>
|
|
</scm>
|
|
<organization>
|
|
<name>Inteligr8</name>
|
|
<url>https://www.inteligr8.com</url>
|
|
</organization>
|
|
<developers>
|
|
<developer>
|
|
<id>brian.long</id>
|
|
<name>Brian Long</name>
|
|
<email>brian@inteligr8.com</email>
|
|
<url>https://twitter.com/brianmlong</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
|
|
<maven.version>3.9.15</maven.version>
|
|
<maven-plugin.version>3.15.2</maven-plugin.version>
|
|
<plexus.version>3.6.1</plexus.version>
|
|
|
|
<!-- since we have no goals; just an extension -->
|
|
<maven.plugin.skip>true</maven.plugin.skip>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- Maven Plugin libraries -->
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
<version>${maven.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-core</artifactId>
|
|
<version>${maven.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
<version>${plexus.version}</version>
|
|
</dependency>
|
|
|
|
<!-- testing libraries -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-testing</groupId>
|
|
<artifactId>maven-plugin-testing-harness</artifactId>
|
|
<version>3.3.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-compat</artifactId>
|
|
<version>${maven.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.14.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- Maven Plugin libraries -->
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
</dependency>
|
|
|
|
<!-- testing libraries -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-testing</groupId>
|
|
<artifactId>maven-plugin-testing-harness</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-compat</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.4.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.12.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.2.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>sisu-maven-plugin</artifactId>
|
|
<version>0.9.0.M4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-component-metadata</artifactId>
|
|
<version>2.2.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.central</groupId>
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
|
<version>0.10.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>it</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>sisu-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-index</id>
|
|
<goals>
|
|
<goal>main-index</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-component-metadata</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate-metadata</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<configuration>
|
|
<projectsDirectory>${basedir}/src/it</projectsDirectory>
|
|
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
|
|
<mavenHome>${env.MAVEN_HOME}</mavenHome>
|
|
<!-- all kinds of problems when we put this in the `target` folder -->
|
|
<!-- like how threading cannot be used -->
|
|
<localRepositoryPath>${basedir}/it/repository</localRepositoryPath>
|
|
<parallelThreads>1</parallelThreads>
|
|
<properties>
|
|
<project.main.basedir>${basedir}</project.main.basedir>
|
|
</properties>
|
|
<debug>true</debug>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>run-it</id>
|
|
<activation>
|
|
<property>
|
|
<name>run-it</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>run-its</id>
|
|
<goals>
|
|
<goal>install</goal>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
<configuration>
|
|
<pomIncludes>
|
|
<pomInclude>${run-it}/pom.xml</pomInclude>
|
|
</pomIncludes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>run-its</id>
|
|
<activation>
|
|
<property>
|
|
<name>!run-it</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>run-its</id>
|
|
<goals>
|
|
<goal>install</goal>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>central-publish</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>source</id>
|
|
<phase>package</phase>
|
|
<goals><goal>jar-no-fork</goal></goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>javadoc</id>
|
|
<phase>package</phase>
|
|
<goals><goal>jar</goal></goals>
|
|
<configuration>
|
|
<show>public</show>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign</id>
|
|
<phase>verify</phase>
|
|
<goals><goal>sign</goal></goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.central</groupId>
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<publishingServerId>central</publishingServerId>
|
|
<autoPublish>true</autoPublish>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|