| <?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>james-server</artifactId> |
| <version>3.6.2-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>james-server-cli</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Apache James :: Server :: Client</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-server-data-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-server-mailbox-jmx</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-server-util</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>testing-base</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>org.apache.james.cli.ServerCmd</mainClass> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <includeScope>compile</includeScope> |
| <includeScope>runtime</includeScope> |
| <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <finalName>${project.artifactId}</finalName> |
| <archive> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>${project.artifactId}.lib/</classpathPrefix> |
| <mainClass>org.apache.james.cli.ServerCmd</mainClass> |
| <useUniqueVersions>false</useUniqueVersions> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| <appendAssemblyId>false</appendAssemblyId> |
| <finalName>james-cli</finalName> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |