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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <artifactId>metadata</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>2.2.9-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>metadata-model</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Metadata :: Model</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.geronimo.specs</groupId>
  33. <artifactId>geronimo-jpa_2.0_spec</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.metadata.model</Bundle-SymbolicName>
  44. <Bundle-Version>${project.version}</Bundle-Version>
  45. <Export-Package>
  46. org.apache.archiva.metadata.model;version=${project.version};-split-package:=merge-first
  47. </Export-Package>
  48. <Import-Package>
  49. javax.xml.bind.annotation,javax.persistence
  50. </Import-Package>
  51. </instructions>
  52. </configuration>
  53. </plugin>
  54. </plugins>
  55. </build>
  56. <profiles>
  57. <profile>
  58. <id>jdk9+</id>
  59. <activation>
  60. <jdk>[1.9,)</jdk>
  61. </activation>
  62. <dependencies>
  63. <!-- needed for jdk 11 -->
  64. <dependency>
  65. <groupId>javax.xml.bind</groupId>
  66. <artifactId>jaxb-api</artifactId>
  67. <version>2.3.1</version>
  68. </dependency>
  69. </dependencies>
  70. </profile>
  71. </profiles>
  72. </project>