| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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.yetus</groupId> |
| <artifactId>yetus-project</artifactId> |
| <version>0.10.0</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>yetus-maven-plugin</artifactId> |
| <description>Apache Yetus Maven Tools</description> |
| <name>Apache Yetus - Maven Plugin</name> |
| <packaging>maven-plugin</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${maven.plugin.api.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons.io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>audience-annotations</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>${maven.api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>releasedocmaker</artifactId> |
| <version>${project.version}</version> |
| <classifier>jar-with-dependencies</classifier> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>shelldocs</artifactId> |
| <version>${project.version}</version> |
| <classifier>jar-with-dependencies</classifier> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>${build-helper-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>add-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>../yetus-minimaven-plugin/src/main/resources</source> |
| <source>../yetus-minimaven-plugin/src/main/java/org/apache/yetus/maven/plugin/fileops</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-resource</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>add-resource</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>../yetus-minimaven-plugin/src/main/resources</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-internal-zip</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>classes/yetus-bin</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <attach>false</attach> |
| <descriptors> |
| <descriptor>src/main/assemblies/yetus-maven-plugin.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-descriptor</id> |
| <phase>compile</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |