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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-repository-admin</artifactId>
  25. <version>2.2.9-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-repository-admin-api</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: Repository Admin Api</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>commons-collections</groupId>
  33. <artifactId>commons-collections</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>commons-lang</groupId>
  37. <artifactId>commons-lang</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva.redback</groupId>
  41. <artifactId>redback-users-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.maven.indexer</groupId>
  45. <artifactId>indexer-core</artifactId>
  46. <exclusions>
  47. <exclusion>
  48. <groupId>org.codehaus.plexus</groupId>
  49. <artifactId>plexus-container-default</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>classworlds</groupId>
  53. <artifactId>classworlds</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>commons-logging</groupId>
  57. <artifactId>commons-logging</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>velocity</groupId>
  61. <artifactId>velocity-dep</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>org.apache.maven</groupId>
  65. <artifactId>maven-plugin-registry</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>org.apache.maven</groupId>
  69. <artifactId>maven-settings</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>com.google.code.atinject</groupId>
  73. <artifactId>atinject</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.felix</groupId>
  82. <artifactId>maven-bundle-plugin</artifactId>
  83. <configuration>
  84. <instructions>
  85. <Bundle-SymbolicName>org.apache.archiva.repository.admin.api</Bundle-SymbolicName>
  86. <Bundle-Version>${project.version}</Bundle-Version>
  87. <Export-Package>
  88. org.apache.archiva.admin.model*;version=${project.version}
  89. </Export-Package>
  90. <Import-Package>
  91. javax.xml.bind.annotation,
  92. org.apache.commons.collections;version="[3.2,4)",
  93. org.apache.commons.lang;version="[2.4,3)",
  94. org.apache.archiva.redback.users,
  95. org.apache.maven.index.context;resolution:=optional
  96. </Import-Package>
  97. </instructions>
  98. </configuration>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-source-plugin</artifactId>
  103. <executions>
  104. <execution>
  105. <id>bind-sources</id>
  106. <goals>
  107. <goal>jar-no-fork</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. </plugins>
  113. </build>
  114. <profiles>
  115. <profile>
  116. <id>jdk9+</id>
  117. <activation>
  118. <jdk>[1.9,)</jdk>
  119. </activation>
  120. <dependencies>
  121. <!-- needed for jdk 11 -->
  122. <dependency>
  123. <groupId>javax.xml.bind</groupId>
  124. <artifactId>jaxb-api</artifactId>
  125. <version>2.3.1</version>
  126. </dependency>
  127. </dependencies>
  128. </profile>
  129. </profiles>
  130. </project>