duplicate-finder-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <version>2.0.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.basepom</groupId> <artifactId>basepom-oss</artifactId> <version>53</version> </parent> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <version>2.0.1</version> <packaging>maven-plugin</packaging> <name>duplicate-finder-maven-plugin Maven Mojo</name> <description> The Maven duplicate-finder plugin provides goals to check the various maven scoped classpaths (compile, runtime, test) for duplicate classes and resources. </description> <inceptionYear>2014</inceptionYear> <url>https://basepom.github.io/duplicate-finder-maven-plugin</url> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <organization> <name>The basepom project</name> <url>https://github.com/basepom</url> </organization> <developers> <developer> <id>tomdz</id> <name>Thomas Dudziak</name> <url>http://tomdz.org</url> <timezone>-8</timezone> </developer> <developer> <id>hgschmie</id> <name>Henning Schmiedehausen</name> <timezone>-8</timezone> </developer> </developers> <contributors> <contributor> <name>Conny Kreyssel</name> </contributor> </contributors> <scm> <connection>scm:git:git://github.com/basepom/duplicate-finder-maven-plugin.git</connection> <developerConnection>scm:git:git://github.com/basepom/duplicate-finder-maven-plugin.git</developerConnection> <url>https://github.com/basepom/duplicate-finder-maven-plugin</url> <tag>duplicate-finder-maven-plugin-2.0.1</tag> </scm> <issueManagement> <system>Github</system> <url>https://github.com/basepom/duplicate-finder-maven-plugin/issues</url> </issueManagement> <properties> <!-- maven 3.9.x insanity --> <maven.plugin.validation>BRIEF</maven.plugin.validation> <project.build.targetJdk>11</project.build.targetJdk> <project.moduleName>org.basepom.mojo.duplicatefinder</project.moduleName> <basepom.nexus-staging.staging-url>https://oss.sonatype.org/</basepom.nexus-staging.staging-url> <basepom.release.profiles>basepom.oss-release,plugin-release</basepom.release.profiles> <basepom.release.tag-name-format>duplicate-finder-maven-plugin-@{project.version}</basepom.release.tag-name-format> <basepom.site.skip>false</basepom.site.skip> <basepom.site.scm.id>github</basepom.site.scm.id> <basepom.site.scm.site-path>${project.artifactId}/development</basepom.site.scm.site-path> <basepom.site.scm.skip-deploy>false</basepom.site.scm.skip-deploy> <basepom.site.scm.url>scm:git:https://github.com/basepom/basepom.github.io.git</basepom.site.scm.url> <!-- site requires full javadoc generation --> <basepom.javadoc.skip>false</basepom.javadoc.skip> <basepom.it.skip>true</basepom.it.skip> <basepom.it.fork-count>8</basepom.it.fork-count> <dep.groovy.version>4.0.12</dep.groovy.version> <dep.slf4j.version>1.7.36</dep.slf4j.version> <dep.guava.version>31.1-jre</dep.guava.version> <dep.plugin.gmavenplus.plugin>2.1.0</dep.plugin.gmavenplus.plugin> <!-- Maven API version. Keep on 3.8.x for now --> <dep.maven-api.version>3.8.7</dep.maven-api.version> <!-- other maven stuff --> <dep.plexus.version>2.1.1</dep.plexus.version> <dep.maven-shared-utils.version>3.4.2</dep.maven-shared-utils.version> <!-- plugin tooling --> <dep.plugin.plugin.version>3.9.0</dep.plugin.plugin.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> <version>${dep.plexus.version}</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-utils</artifactId> <version>${dep.maven-shared-utils.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${dep.slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${dep.slf4j.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- deps --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${dep.guava.version}</version> </dependency> <dependency> <groupId>net.jcip</groupId> <artifactId>jcip-annotations</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-annotations</artifactId> <version>${dep.spotbugs.version}</version> </dependency> <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>stax2-api</artifactId> <version>3.1.4</version> </dependency> <dependency> <groupId>com.fasterxml.staxmate</groupId> <artifactId>staxmate</artifactId> <version>2.2.1</version> <exclusions> <exclusion> <artifactId>stax-api</artifactId> <groupId>javax.xml.stream</groupId> </exclusion> </exclusions> </dependency> <!-- Maven provided dependencies --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${dep.maven-api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${dep.plugin.plugin.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${dep.maven-api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${dep.maven-api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${dep.maven-api.version}</version> <exclusions> <!-- weird no_aop classifier prevents dep convergence --> <exclusion> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> </exclusion> </exclusions> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <scope>provided</scope> </dependency> <!-- runtime dependencies --> <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>woodstox-core-asl</artifactId> <version>4.4.1</version> <scope>runtime</scope> <exclusions> <exclusion> <artifactId>stax-api</artifactId> <groupId>javax.xml.stream</groupId> </exclusion> </exclusions> </dependency> <!-- Test code --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${dep.groovy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-xml</artifactId> <version>${dep.groovy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${dep.plugin.plugin.version}</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> <helpPackageName>org.basepom.mojo.duplicatefinder</helpPackageName> </configuration> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <version>${dep.plexus.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries combine.children="append"> <Automatic-Module-Name>${project.moduleName}</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>${dep.plugin.gmavenplus.plugin}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>mojo-descriptor</id> <phase>process-classes</phase> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</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> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <excludeRoots combine.children="append"> <excludeRoot>target/generated-sources/plugin</excludeRoot> </excludeRoots> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <executions> <execution> <goals> <goal>addTestSources</goal> <goal>compileTests</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <licenseSets> <licenseSet> <excludes combine.children="append"> <exclude>**/conflict-different-content</exclude> <exclude>**/conflict-same-content</exclude> </excludes> </licenseSet> </licenseSets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <!-- Allows access to the groovy utility class in the test source tree. --> <addTestClassPath>true</addTestClassPath> </configuration> <!-- dependency for verify.groovy scripts --> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${dep.guava.version}</version> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${dep.groovy.version}</version> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-xml</artifactId> <version>${dep.groovy.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration combine.children="append"> <author>false</author> <detectJavaApiLink>true</detectJavaApiLink> <linksource>true</linksource> <nodeprecated>false</nodeprecated> <nohelp>true</nohelp> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-report-plugin</artifactId> <version>${dep.plugin.plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${dep.plugin.surefire.version}</version> <reportSets> <reportSet> <reports> <report>failsafe-report-only</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <profiles> <profile> <id>plugin-release</id> <properties> <basepom.site.scm.site-path>${project.artifactId}/release-${project.version}</basepom.site.scm.site-path> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-java17</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireJavaVersion> <version>[17,)</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <!-- Profile to skip time-consuming steps. --> <id>fast</id> <properties> <basepom.check.skip-all>true</basepom.check.skip-all> <basepom.check.skip-javadoc>false</basepom.check.skip-javadoc> <basepom.test.skip>true</basepom.test.skip> <basepom.it.skip>true</basepom.it.skip> </properties> </profile> </profiles> </project>