mirror of https://github.com/apache/archiva.git
140 lines
5.1 KiB
XML
140 lines
5.1 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>archiva-cli</artifactId>
|
|
<name>Archiva :: Command Line Client</name>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-scanner</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-admin-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-admin-default</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-consumer-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-layer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.cli-parser</groupId>
|
|
<artifactId>cli</artifactId>
|
|
<version>7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
</dependency>
|
|
<!-- Consumers to include -->
|
|
<!--
|
|
This will require some additional configuration now to point to an appropriate metadata repository storage, which is not in the CLI yet
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-metadata-consumer</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
-->
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>apache-archiva-cli-${project.version}</finalName>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
<resource>META-INF/spring.handlers</resource>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
|
|
<resource>META-INF/spring-context.xml</resource>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
|
|
</transformers>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>xerces:xercesImpl</exclude>
|
|
<exclude>xml-apis:xml-apis</exclude>
|
|
<exclude>xalan:xalan</exclude>
|
|
<exclude>commons-beanutils:commons-beanutils</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.apache.archiva.cli.ArchivaCli</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<mainClass>org.apache.archiva.cli.ArchivaCli</mainClass>
|
|
<arguments>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|