| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.james</groupId> |
| <artifactId>apache-james-mpt</artifactId> |
| <version>3.7.1-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>apache-james-mpt-app</artifactId> |
| |
| <name>Apache James MPT Application</name> |
| <description>Apache James Mail Protocol Tester (MPT) is a library providing a framework for the |
| scriptable functional testing of ASCII based line protocols. This application provides easy executable |
| interfaces to the MPT library.</description> |
| <url>http://james.apache.org/mpt/app</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>apache-james-mpt-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>testing-base</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <?SORTPOM IGNORE?> |
| <!-- We need to run a specific execution of sortpom after the shade plugin has |
| generated the dependency reduced file and execution order is defined by order of |
| declaration --> |
| <!-- Uber Jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>commons-logging:commons-logging</include> |
| <include>commons-cli:commons-cli</include> |
| <include>junit:junit</include> |
| <include>${james.groupId}:apache-james-mpt-core</include> |
| </includes> |
| </artifactSet> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sort-reduced-pom</id> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <pomFile>dependency-reduced-pom.xml</pomFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <?SORTPOM RESUME?> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Main-Class>org.apache.james.mpt.app.Main</Main-Class> |
| <Specification-Title>Apache James MPT Application</Specification-Title> |
| <Specification-Version>${project.version}</Specification-Version> |
| <Specification-Vendor>The Apache Software Foundation</Specification-Vendor> |
| <Implementation-Title>Apache James MPT Application</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor> |
| <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> |
| <url>${project.url}</url> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-javadocs</id> |
| <goals> |
| <goal>javadoc</goal> |
| <goal>jar</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |