META-INF.maven.com.sun.istack.istack-commons-tools.pom.xml Maven / Gradle / Ivy
<!-- Copyright (c) 1997, 2022 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.istack</groupId> <artifactId>istack-commons</artifactId> <version>4.1.1</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>istack-commons-tools</artifactId> <name>istack common utility code tools</name> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> </dependencies> <properties> <argLine/> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-compile</id> <goals> <goal>compile</goal> </goals> <configuration> <compilerArgs> <arg>--add-reads</arg> <arg>com.sun.istack.tools=ALL-UNNAMED</arg> </compilerArgs> </configuration> </execution> <execution> <id>default-testCompile</id> <goals> <goal>testCompile</goal> </goals> <configuration> <compilerArgs> <arg>--add-reads</arg> <arg>com.sun.istack.tools=ALL-UNNAMED</arg> </compilerArgs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine> @{argLine} --add-opens java.base/java.net=com.sun.istack.tools </argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalJOptions> <additionalJOption>--add-reads</additionalJOption> <additionalJOption>com.sun.istack.tools=ALL-UNNAMED</additionalJOption> </additionalJOptions> </configuration> </plugin> </plugins> </build> </project>