You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <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">
  21. <parent>
  22. <groupId>org.apache.archiva</groupId>
  23. <artifactId>archiva</artifactId>
  24. <version>2.0.2-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-cli</artifactId>
  28. <name>Archiva :: Command Line Client</name>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.apache.archiva</groupId>
  32. <artifactId>archiva-repository-scanner</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.archiva</groupId>
  36. <artifactId>archiva-metadata-consumer</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>archiva-configuration</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.archiva</groupId>
  45. <artifactId>archiva-consumer-api</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.archiva</groupId>
  49. <artifactId>archiva-converter</artifactId>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>commons-logging</groupId>
  53. <artifactId>commons-logging-api</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>log4j</groupId>
  57. <artifactId>log4j</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.maven.wagon</groupId>
  63. <artifactId>wagon-file</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.code.cli-parser</groupId>
  67. <artifactId>cli</artifactId>
  68. <version>7</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.maven</groupId>
  72. <artifactId>maven-artifact-manager</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-io</groupId>
  76. <artifactId>commons-io</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-lang</groupId>
  80. <artifactId>commons-lang</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-beans</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.logging.log4j</groupId>
  88. <artifactId>log4j-jcl</artifactId>
  89. <scope>compile</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.logging.log4j</groupId>
  93. <artifactId>log4j-1.2-api</artifactId>
  94. <scope>compile</scope>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-shade-plugin</artifactId>
  102. <version>1.2.2</version>
  103. <executions>
  104. <execution>
  105. <phase>package</phase>
  106. <goals>
  107. <goal>shade</goal>
  108. </goals>
  109. <configuration>
  110. <finalName>apache-archiva-cli-${project.version}</finalName>
  111. <transformers>
  112. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  113. <resource>META-INF/spring.handlers</resource>
  114. </transformer>
  115. <transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
  116. <resource>META-INF/spring-context.xml</resource>
  117. </transformer>
  118. <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
  119. </transformers>
  120. <artifactSet>
  121. <excludes>
  122. <exclude>xerces:xercesImpl</exclude>
  123. <exclude>xml-apis:xml-apis</exclude>
  124. <exclude>xalan:xalan</exclude>
  125. <exclude>commons-beanutils:commons-beanutils</exclude>
  126. </excludes>
  127. </artifactSet>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-jar-plugin</artifactId>
  135. <version>2.1</version>
  136. <configuration>
  137. <archive>
  138. <manifest>
  139. <mainClass>org.apache.archiva.cli.ArchivaCli</mainClass>
  140. </manifest>
  141. </archive>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.codehaus.mojo</groupId>
  146. <artifactId>exec-maven-plugin</artifactId>
  147. <configuration>
  148. <executable>java</executable>
  149. <mainClass>org.apache.archiva.cli.ArchivaCli</mainClass>
  150. <arguments>
  151. </arguments>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>