| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-weaver-parent</artifactId> |
| <version>2.0-SNAPSHOT</version> |
| <relativePath>../parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>commons-weaver-maven-plugin</artifactId> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Commons Weaver Maven Plugin</name> |
| <description>Weaving Maven goals</description> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.version>3.1.0</maven.version> |
| <maven.plugin.version>3.5.2</maven.plugin.version> |
| <aether.version>1.1.0</aether.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-weaver-processor</artifactId> |
| </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</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${maven.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>${maven.plugin.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>2.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-api</artifactId> |
| <version>${aether.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-util</artifactId> |
| <version>${aether.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>com.github.siom79.japicmp</groupId> |
| <artifactId>japicmp-maven-plugin</artifactId> |
| <configuration> |
| <parameter> |
| <!-- Maven plugin not intended for programmatic use --> |
| <accessModifier>public</accessModifier> |
| <excludes> |
| <!-- moved up to new superclass --> |
| <exclude>org.apache.commons.weaver.maven.AbstractPrepareMojo#execute()</exclude> |
| <!-- moved up to new superclass --> |
| <exclude>org.apache.commons.weaver.maven.AbstractWeaveMojo#execute()</exclude> |
| </excludes> |
| <postAnalysisScript>${project.basedir}/src/site/resources/japicmp-post-analysis.groovy</postAnalysisScript> |
| </parameter> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <excludes>HelpMojo.java</excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>HelpMojo.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.4.0</version> |
| <configuration> |
| <supportedProjectTypes> |
| <supportedProjectType>maven-plugin</supportedProjectType> |
| </supportedProjectTypes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>${maven.plugin.version}</version> |
| <configuration> |
| <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| </configuration> |
| <executions> |
| <execution> |
| <id>mojo-descriptor</id> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </execution> |
| <!-- if you want to generate help goal --> |
| <execution> |
| <id>help-goal</id> |
| <goals> |
| <goal>helpmojo</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-test-sources</id> |
| <phase /> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>${maven.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <rulesets> |
| <ruleset>/org/apache/commons/weaver/pmd.xml</ruleset> |
| </rulesets> |
| <skipEmptyReport>false</skipEmptyReport> |
| <excludeRoots> |
| <excludeRoot>target/generated-sources/plugin</excludeRoot> |
| </excludeRoots> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.version}</version> |
| <configuration> |
| <configLocation>org/apache/commons/weaver/checkstyle.xml</configLocation> |
| <excludes>org/apache/commons/weaver/maven/HelpMojo.java</excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <xmlOutput>true</xmlOutput> |
| <excludeFilterFile>/org/apache/commons/weaver/findbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| </project> |