Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2005-2006 The Apache Software Foundation.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <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">
  18. <parent>
  19. <artifactId>archiva-xmlrpc</artifactId>
  20. <groupId>org.apache.archiva</groupId>
  21. <version>1.2-SNAPSHOT</version>
  22. </parent>
  23. <modelVersion>4.0.0</modelVersion>
  24. <artifactId>archiva-xmlrpc-client</artifactId>
  25. <name>Archiva Web :: XML-RPC Client</name>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.apache.archiva</groupId>
  29. <artifactId>archiva-xmlrpc-api</artifactId>
  30. <version>${project.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.atlassian.xmlrpc</groupId>
  34. <artifactId>atlassian-xmlrpc-binder</artifactId>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.codehaus.mojo</groupId>
  41. <artifactId>exec-maven-plugin</artifactId>
  42. <configuration>
  43. <executable>java</executable>
  44. <mainClass>org.apache.archiva.web.xmlrpc.client.SampleClient</mainClass>
  45. <arguments>
  46. <!--
  47. URL: ex. http://127.0.0.1:8080/archiva/xmlrpc
  48. USERNAME & PASSWORD: Archiva credentials
  49. -->
  50. <argument>http://127.0.0.1:8080/archiva/xmlrpc</argument>
  51. <argument>username</argument>
  52. <argument>password</argument>
  53. </arguments>
  54. </configuration>
  55. </plugin>
  56. <!-- override parent config, commons-logging cannot be excluded from atlassian-xml-rpc-binder - NoClassDef error occurs -->
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-enforcer-plugin</artifactId>
  60. <version>1.0-alpha-3</version>
  61. <executions>
  62. <execution>
  63. <goals>
  64. <goal>enforce</goal>
  65. </goals>
  66. <configuration>
  67. <rules>
  68. <bannedDependencies>
  69. <excludes>
  70. <exclude>org.codehaus.plexus:plexus-container-default</exclude>
  71. <exclude>velocity:velocity-dep</exclude>
  72. <exclude>classworlds:classworlds</exclude>
  73. <exclude>javax.transaction:jta</exclude>
  74. <exclude>javax.sql:jdbc-stdext</exclude>
  75. <exclude>ant:ant-optional</exclude>
  76. <!-- exclude>org.apache.maven.wagon:wagon-http-lightweight</exclude -->
  77. <exclude>xom:xom</exclude>
  78. </excludes>
  79. </bannedDependencies>
  80. </rules>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>