conditional-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.inteligr8</groupId> <artifactId>conditional-maven-plugin</artifactId> <version>1.0.1</version> </dependency>
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.inteligr8</groupId> <artifactId>conditional-maven-plugin</artifactId> <version>1.0.1</version> <packaging>maven-plugin</packaging> <name>Conditional Maven Plugin</name> <description>A Maven plugin for conditional property declarations</description> <url>https://bitbucket.org/inteligr8/conditional-maven-plugin</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://bitbucket.org/inteligr8/conditional-maven-plugin.git</connection> <developerConnection>scm:git:git@bitbucket.org:inteligr8/conditional-maven-plugin.git</developerConnection> <url>https://bitbucket.org/inteligr8/conditional-maven-plugin</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>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.version>3.6.3</maven.version> </properties> <dependencies> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.4</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <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>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> <configuration> <goalPrefix>conditional</goalPrefix> </configuration> <executions> <execution> <id>default-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-descriptor</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <version>2.0.0</version> <executions> <execution> <goals> <goal>generate-metadata</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> <version>3.2.2</version> <configuration> <projectsDirectory>${basedir}/src/it</projectsDirectory> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> <mavenHome>${env.MAVEN_HOME}</mavenHome> <debug>true</debug> <properties> <project.main.basedir>${basedir}</project.main.basedir> </properties> </configuration> <executions> <execution> <id>run-its</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>run-it-1</id> <activation> <property> <name>run-it</name> </property> </activation> <build> <plugins> <plugin> <artifactId>maven-invoker-plugin</artifactId> <version>3.2.2</version> <executions> <execution> <id>run-its</id> <goals> <goal>install</goal> <goal>run</goal> </goals> <configuration> <pomIncludes> <pomInclude>${run-it}/pom.xml</pomInclude> </pomIncludes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</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.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>