| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugins</artifactId> |
| <version>41</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>maven-jlink-plugin</artifactId> |
| <version>3.2.0-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Maven JLink Plugin</name> |
| <description>The Maven JLink Plugin is intended to create Modular Run-Time Images. |
| https://openjdk.java.net/jeps/282, https://openjdk.java.net/jeps/220</description> |
| <inceptionYear>2016</inceptionYear> |
| |
| <prerequisites> |
| <maven>${mavenVersion}</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git</developerConnection> |
| <tag>HEAD</tag> |
| <url>https://github.com/apache/maven-jlink-plugin/tree/${project.scm.tag}</url> |
| </scm> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/MJLINK</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-jlink-plugin/</url> |
| </ciManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <mavenVersion>3.6.3</mavenVersion> |
| <maven.compiler.release>11</maven.compiler.release> |
| <!-- needed for enforce-bytecode-version in maven-parent-pom. --> |
| <maven.compiler.target>${maven.compiler.release}</maven.compiler.target> |
| <project.build.outputTimestamp>2020-12-21T12:52:28Z</project.build.outputTimestamp> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>4.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>5.10.1</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- Maven --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-utils</artifactId> |
| <version>3.4.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>3.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-archiver</artifactId> |
| <version>4.9.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-java</artifactId> |
| <version>1.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.11.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>4.2.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.25.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <filtering>true</filtering> |
| <directory>src/main/filtered-resources</directory> |
| </resource> |
| </resources> |
| <pluginManagement> |
| <plugins> |
| <!-- remove with next parent upgrade --> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>3.5.0</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>3.4.1</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.6.3</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.12.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.12.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.11.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>mrm-maven-plugin</artifactId> |
| <version>1.6.0</version> |
| <configuration> |
| <propertyName>mrm.repository.url</propertyName> |
| <repositories> |
| <mockRepo> |
| <source>src/it/mrm/repository</source> |
| </mockRepo> |
| <proxyRepo /> |
| </repositories> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>start</goal> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <environmentVariables> |
| <!-- |
| ! Prevent reading the .mavenrc or maven_pre.bat on Windows |
| ! in integration tests. |
| --> |
| <MAVEN_SKIP_RC>1</MAVEN_SKIP_RC> |
| </environmentVariables> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <projectsDirectory>src/it/projects</projectsDirectory> |
| <pomIncludes> |
| <pomInclude>*/pom.xml</pomInclude> |
| <pomInclude>cli-options/**/pom.xml</pomInclude> |
| </pomIncludes> |
| <pomExcludes> |
| <!-- |
| ! Currently this Test does not work correctly either based |
| ! on wrong implementation or my limited knowledge of suggest-providers |
| ! and how the work. |
| --> |
| <pomExclude>cli-options/suggest-providers/pom.xml</pomExclude> |
| </pomExcludes> |
| <settingsFile>src/it/mrm/settings.xml</settingsFile> |
| <filterProperties> |
| <mrm.repository.url>${mrm.repository.url}</mrm.repository.url> |
| </filterProperties> |
| <streamLogsOnFailures>true</streamLogsOnFailures> |
| <goals> |
| <goal>clean</goal> |
| <goal>package</goal> |
| </goals> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |