| <!-- |
| |
| Copyright (c) 2010, 2021 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Distribution License v. 1.0, which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
| |
| --> |
| |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.sun.xml.bind.mvn</groupId> |
| <artifactId>jaxb-codemodel-parent</artifactId> |
| <version>3.1.0-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>codemodel-annotation-compiler</artifactId> |
| <name>Codemodel Annotation Compiler</name> |
| <description>The annotation compiler ant task for the CodeModel java source code generation library</description> |
| <url>https://eclipse-ee4j.github.io/jaxb-ri/</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>codemodel</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.10.11</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-compile</id> |
| <configuration> |
| <compilerArgs> |
| <arg>--add-reads</arg> |
| <arg>com.sun.codemodel.ac=ALL-UNNAMED</arg> |
| </compilerArgs> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <additionalJOptions> |
| <additionalJOption>--add-reads</additionalJOption> |
| <additionalJOption>com.sun.codemodel.ac=ALL-UNNAMED</additionalJOption> |
| </additionalJOptions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |