mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-14 07:03:54 +08:00
As mvnd itself is Java8 lang level, it is completely okay to up resolver to 1.7 (that is java8 as well). The only reason why Maven 3.8.x CANNOT use resolver 1.7 is that it is still Java7 level.
132 lines
4.5 KiB
XML
132 lines
4.5 KiB
XML
<!--
|
|
|
|
Copyright 2021 the original author or authors.
|
|
|
|
Licensed 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>org.mvndaemon.mvnd</groupId>
|
|
<artifactId>mvnd</artifactId>
|
|
<version>0.7.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>mvnd-synccontext</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
<name>Maven Daemon - IPC Sync Context</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.inject</groupId>
|
|
<artifactId>jakarta.inject-api</artifactId>
|
|
<version>${jakarta.inject.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
|
<version>0.3.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mvndaemon.mvnd</groupId>
|
|
<artifactId>mvnd-common</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.takari.maven.plugins</groupId>
|
|
<artifactId>takari-lifecycle-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>sisu-index</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>native</id>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.graalvm.nativeimage</groupId>
|
|
<artifactId>native-image-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>native-image</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
<mainClass>org.mvndaemon.mvnd.sync.IpcServer</mainClass>
|
|
<imageName>mvnd-sync</imageName>
|
|
<buildArgs>
|
|
--no-server
|
|
--no-fallback
|
|
--allow-incomplete-classpath
|
|
-H:-ParseRuntimeOptions
|
|
-ea
|
|
</buildArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project> |