cleanpom-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>net.trajano.mojo</groupId> <artifactId>cleanpom-maven-plugin</artifactId> <version>1.2.2</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> <parent> <groupId>net.trajano</groupId> <artifactId>trajano</artifactId> <version>14</version> </parent> <groupId>net.trajano.mojo</groupId> <artifactId>cleanpom-maven-plugin</artifactId> <version>1.2.2</version> <packaging>maven-plugin</packaging> <name>Clean POM Maven Plugin</name> <description>Cleans the POM and other XML using on XSLT.</description> <url>http://site.trajano.net/cleanpom-maven-plugin</url> <scm> <connection>scm:git:https://github.com/trajano/${repo.id}.git</connection> <developerConnection>scm:git:https://github.com/trajano/${repo.id}.git</developerConnection> <tag>cleanpom-maven-plugin-1.2.2</tag> <url>https://github.com/trajano/${repo.id}</url> </scm> <distributionManagement> <repository> <id>ossrh</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>ossrh</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <site> <id>trajano-site</id> <name>Trajano Maven Sites</name> <url>sftp://site.trajano.net:6022/s/${repo.id}/</url> </site> </distributionManagement> <properties> <jdk.version>1.6</jdk.version> <maven.version>3.3.9</maven.version> <repo.id>cleanpom-maven-plugin</repo.id> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-build-api</artifactId> <version>0.0.7</version> </dependency> <dependency> <groupId>net.trajano.commons</groupId> <artifactId>commons-testing</artifactId> <version>1.0.1</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.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> <scope>test</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.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.5</version> <scope>provided</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>3.5</version> </plugin> <plugin> <groupId>net.trajano.mojo</groupId> <artifactId>cleanpom-maven-plugin</artifactId> <version>1.2.0</version> </plugin> <plugin> <groupId>net.trajano.mojo</groupId> <artifactId>m2e-codestyle-maven-plugin</artifactId> <version>2.1.0</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.9</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>default-descriptor</id> <goals> <goal>descriptor</goal> </goals> <phase>process-classes</phase> </execution> <execution> <id>help-descriptor</id> <goals> <goal>helpmojo</goal> </goals> <phase>process-classes</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.trajano.mojo</groupId> <artifactId>m2e-codestyle-maven-plugin</artifactId> <executions> <execution> <id>format</id> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> </plugins> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>2.12</version> </extension> </extensions> </build> <reporting> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> <configuration> <linkJavadoc>true</linkJavadoc> </configuration> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <profile> <id>m2e</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <versionRange>[3.2,)</versionRange> <goals> <goal>descriptor</goal> <goal>helpmojo</goal> </goals> </pluginExecutionFilter> <action> <execute/> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>net.trajano.mojo</groupId> <artifactId>m2e-codestyle-maven-plugin</artifactId> <executions> <execution> <goals> <goal>configure</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>net.trajano</groupId> <artifactId>coding-standards</artifactId> <version>${coding-standards.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> </project>