rempl-cli
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.rempl</groupId>
<artifactId>rempl-cli</artifactId>
<version>1.0</version>
</dependency><?xml version="1.0"?>
<!--
*
* Copyright (c) 2011, REMPL.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2) Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* 3) Neither the name of the REMPL.com nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
* NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @version $Id: pom.xml 721 2011-03-16 22:40:43Z yegor256@yahoo.com $
*
-->
<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>com.rempl</groupId>
<artifactId>rempl</artifactId>
<version>1.0</version>
</parent>
<artifactId>rempl-cli</artifactId>
<packaging>jar</packaging>
<name>CLI</name>
<properties>
<aether.version>1.11</aether.version>
</properties>
<dependencies>
<dependency>
<groupId>com.rempl</groupId>
<artifactId>rempl-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.rempl</groupId>
<artifactId>rempl-core</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.rempl</groupId>
<artifactId>rempl-tk</artifactId>
<!-- see details in rempl/pom.xml/dependencyManagement -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<!-- see details in rempl/pom.xml/dependencyManagement -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<!-- see details in rempl/pom.xml/dependencyManagement -->
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<!-- see details in rempl/pom.xml/dependencyManagement -->
</dependency>
<dependency>
<!--
Apache Commons CLI
@see http://commons.apache.org/cli/usage.html
-->
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<!-- see details in rempl/pom.xml/dependencyManagement -->
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<!-- see details in rempl/pom.xml/dependencyManagement -->
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<!-- see details in rempl/pom.xml/dependencyManagement -->
</dependency>
<!--
All dependencies below are from AETHER.
@see https://docs.sonatype.org/display/AETHER/Home
-->
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-api</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-spi</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-util</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-impl</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-connector-file</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-connector-wagon</artifactId>
<version>${aether.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-aether-provider</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-api</artifactId>
<version>1.0-beta-6</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
<version>1.0-beta-7</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<!--
Run all tests again but with logging turned OFF. It is
necessary to increase code coverage. Somewhere in the
code we depend on logging configuration.
-->
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>test-without-logging</id>
<goals>
<goal>test</goal>
</goals>
<!--
This execution is bound to such a strange phase because
if we bind it to "test" it will be merged with the main
goal, and configuration won't be effective.
-->
<phase>process-test-classes</phase>
<configuration>
<systemPropertyVariables>
<log4j.configuration>
file:${project.basedir}/src/test/resources/log4j-off.properties
</log4j.configuration>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--
To assemble the project into one executable standalone JAR
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version> <!-- 19 Dec 2010 -->
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<appendAssemblyId>true</appendAssemblyId>
<archive>
<manifest>
<mainClass>com.rempl.cli.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- version is specified in pluginManagement section -->
<executions>
<execution>
<id>executable-jar</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--
@todo #9 temporary, in order to disable code coverage check. We
should remove this plugin from here as soon as we
cover all classes with tests.
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<check>
<haltOnFailure>false</haltOnFailure>
</check>
</configuration>
</plugin>
<plugin>
<!--
We create a mocked version of maven repository,
in order to perform testing with mocked readers.
@link http://code.google.com/p/gettext-commons/wiki/Tutorial
-->
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>build-mock-repository</id>
<phase>generate-test-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="source" value="${project.basedir}" />
<property name="target" value="${project.build.directory}" />
<property name="api.version" value="${project.version}" />
<property name="classpath" refid="maven.compile.classpath" />
<property name="user.home" value="${user.home}" />
<ant antfile="${project.basedir}/src/test/ant/build-repo-dbl.xml" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>