license-maven-plugin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>4.6</version> </dependency>
<!-- Copyright (C) 2008-2024 Mycila (mathieu.carbou@gmail.com) 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 https://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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin-parent</artifactId> <version>4.6</version> </parent> <artifactId>license-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>license-maven-plugin</name> <description>Maven 2 plugin to check and update license headers in source files</description> <inceptionYear>2008</inceptionYear> <url>https://oss.carbou.me/license-maven-plugin</url> <prerequisites> <maven>3.6.3</maven> </prerequisites> <scm> <connection>scm:git:https://github.com/mathieucarbou/license-maven-plugin.git</connection> <developerConnection>scm:git:git@github.com:mycila/license-maven-plugin.git</developerConnection> <url>https://github.com/mathieucarbou/license-maven-plugin</url> <tag>license-maven-plugin-4.6</tag> </scm> <properties> <jacoco.minimum.coverage>0.76</jacoco.minimum.coverage> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <goalPrefix>license</goalPrefix> <helpPackageName>com.mycila.maven.plugin.license</helpPackageName> </configuration> <executions> <execution> <id>default-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <licenseSets> <licenseSet> <excludes combine.children="append"> <exclude>src/test/**</exclude> <exclude>src/it/**</exclude> <exclude>src/main/resources/**</exclude> <exclude>**/PropertyPlaceholderResolver.java</exclude> </excludes> </licenseSet> </licenseSets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnError>false</failOnError> <sourceFileExcludes combine.children="append"> <sourceFileExclude>**/*Mojo.java</sourceFileExclude> </sourceFileExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> <preBuildHookScript>setup</preBuildHookScript> <postBuildHookScript>verify</postBuildHookScript> </configuration> <executions> <execution> <id>integration-tests</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>com.soebes.itf.jupiter.extension</groupId> <artifactId>itf-maven-plugin</artifactId> <version>0.13.1</version> <executions> <execution> <id>installing</id> <phase>pre-integration-test</phase> <goals> <goal>install</goal> <goal>resources-its</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <systemPropertyVariables> <maven.version>${maven.version}</maven.version> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> <properties> <configurationParameters> junit.jupiter.execution.parallel.enabled=true junit.jupiter.execution.parallel.mode.default=concurrent junit.jupiter.execution.parallel.mode.classes.default=same_thread junit.jupiter.execution.parallel.config.strategy=fixed junit.jupiter.execution.parallel.config.fixed.parallelism=6 </configurationParameters> </properties> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <distributionManagement> <site> <id>report</id> <url>https://oss.carbou.me/license-maven-plugin/reports/${project.version}/${project.artifactId}</url> </site> </distributionManagement> <dependencies> <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-plugin-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-utils</artifactId> <version>3.4.2</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-common-artifact-filters</artifactId> <version>3.4.0</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-dependency-tree</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.11.0</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>4.0.2</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> <version>3.0.1</version> </dependency> <dependency> <groupId>com.mycila</groupId> <artifactId>mycila-xmltool</artifactId> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency> <!-- Still required for MavenProjectStubs --> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.26.3</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.3.1-jre</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-verifier</artifactId> <version>2.0.0-M1</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.soebes.itf.jupiter.extension</groupId> <artifactId>itf-assertj</artifactId> <version>0.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>com.soebes.itf.jupiter.extension</groupId> <artifactId>itf-jupiter-extension</artifactId> <version>0.13.1</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>report</id> <activation> <os> <family>unix</family> </os> </activation> <reporting> <outputDirectory>../docs/reports/${project.version}/${project.artifactId}</outputDirectory> </reporting> </profile> </profiles> </project>