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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-base</artifactId>
  25. <version>2.2.9-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-maven2-model</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: Maven 2 Model</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>com.fasterxml.jackson.core</groupId>
  33. <artifactId>jackson-annotations</artifactId>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.felix</groupId>
  40. <artifactId>maven-bundle-plugin</artifactId>
  41. <configuration>
  42. <instructions>
  43. <Bundle-SymbolicName>org.apache.archiva.maven2.model</Bundle-SymbolicName>
  44. <Bundle-Version>${project.version}</Bundle-Version>
  45. <Import-Package>
  46. javax.xml.bind.annotation,
  47. com.fasterxml.jackson.annotation
  48. </Import-Package>
  49. <Export-Package>
  50. org.apache.archiva.maven2.model*;version=${project.version}
  51. </Export-Package>
  52. </instructions>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. <profiles>
  58. <profile>
  59. <id>jdk9+</id>
  60. <activation>
  61. <jdk>[1.9,)</jdk>
  62. </activation>
  63. <dependencies>
  64. <!-- needed for jdk 11 -->
  65. <dependency>
  66. <groupId>javax.xml.bind</groupId>
  67. <artifactId>jaxb-api</artifactId>
  68. <version>2.3.1</version>
  69. </dependency>
  70. </dependencies>
  71. </profile>
  72. </profiles>
  73. </project>