| <?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>45</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>maven-jmod-plugin</artifactId> |
| <version>3.0.1-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Maven JMod Plugin</name> |
| <description>Create JMod files http://openjdk.java.net/jeps/261</description> |
| <inceptionYear>2016</inceptionYear> |
| |
| <prerequisites> |
| <maven>3.6.3</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-jmod-plugin.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-jmod-plugin.git</developerConnection> |
| <tag>HEAD</tag> |
| <url>https://github.com/apache/maven-jmod-plugin/tree/${project.scm.tag}</url> |
| </scm> |
| <issueManagement> |
| <system>GitHub</system> |
| <url>https://github.com/apache/maven-jmod-plugin/issues/</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-jmod-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.9.15</mavenVersion> |
| <javaVersion>8</javaVersion> |
| <project.build.outputTimestamp>2025-12-22T00:54:55Z</project.build.outputTimestamp> |
| |
| <version.palantirJavaFormat>2.82.0</version.palantirJavaFormat> |
| <version.maven-invoker-plugin>3.9.1</version.maven-invoker-plugin> |
| </properties> |
| |
| <dependencies> |
| <!-- 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</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- dependencies to annotations --> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>${version.maven-plugin-tools}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-java</artifactId> |
| <version>1.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-utils</artifactId> |
| <version>3.4.2</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <filtering>true</filtering> |
| <directory>src/main/filtered-resources</directory> |
| </resource> |
| </resources> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <!-- |
| ! The module-info.java does not contain comments. |
| --> |
| <exclude>src/it/*/module-info.java</exclude> |
| <exclude>README.md</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-bytecode-version</id> |
| <configuration> |
| <rules> |
| <enforceBytecodeVersion> |
| <maxJdkVersion>${maven.compiler.target}</maxJdkVersion> |
| <excludes> |
| <exclude>org.ow2.asm:asm</exclude> |
| </excludes> |
| </enforceBytecodeVersion> |
| <requireSameVersions /> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <!-- |
| ! Prevent reading the .mavenrc or maven_pre.bat on Windows |
| ! in integration tests. |
| --> |
| <environmentVariables> |
| <MAVEN_SKIP_RC>1</MAVEN_SKIP_RC> |
| </environmentVariables> |
| <goals> |
| <goal>clean</goal> |
| <goal>package</goal> |
| </goals> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>analyze</id> |
| <goals> |
| <goal>analyze-only</goal> |
| </goals> |
| <configuration> |
| <failOnWarning>true</failOnWarning> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |