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 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>1.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-layer</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.archiva</groupId>
  36. <artifactId>archiva-dependency-tree-consumer</artifactId>
  37. <version>1.2-SNAPSHOT</version>
  38. <scope>runtime</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.archiva</groupId>
  42. <artifactId>archiva-xml-tools</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.archiva</groupId>
  46. <artifactId>archiva-converter</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.maven.wagon</groupId>
  50. <artifactId>wagon-file</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.google.code.cli-parser</groupId>
  54. <artifactId>cli</artifactId>
  55. <version>7</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.codehaus.plexus</groupId>
  59. <artifactId>plexus-spring</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>jcl104-over-slf4j</artifactId>
  64. <scope>compile</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>slf4j-log4j12</artifactId>
  69. <scope>compile</scope>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-shade-plugin</artifactId>
  77. <version>1.2</version>
  78. <executions>
  79. <execution>
  80. <phase>package</phase>
  81. <goals>
  82. <goal>shade</goal>
  83. </goals>
  84. <configuration>
  85. <finalName>apache-archiva-cli-${project.version}</finalName>
  86. <transformers>
  87. <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
  88. </transformers>
  89. <artifactSet>
  90. <excludes>
  91. <exclude>xerces:xercesImpl</exclude>
  92. <exclude>xml-apis:xml-apis</exclude>
  93. <exclude>xalan:xalan</exclude>
  94. <exclude>commons-beanutils:commons-beanutils</exclude>
  95. <exclude>commons-io:commons-io</exclude>
  96. </excludes>
  97. </artifactSet>
  98. </configuration>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-jar-plugin</artifactId>
  105. <version>2.1</version>
  106. <configuration>
  107. <archive>
  108. <manifest>
  109. <mainClass>org.apache.maven.archiva.cli.ArchivaCli</mainClass>
  110. </manifest>
  111. </archive>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.codehaus.mojo</groupId>
  116. <artifactId>exec-maven-plugin</artifactId>
  117. <configuration>
  118. <executable>java</executable>
  119. <mainClass>org.apache.maven.archiva.cli.ArchivaCli</mainClass>
  120. <arguments>
  121. </arguments>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>