Use an agent to support processes launched with redirected io, fixes #241

This commit is contained in:
Guillaume Nodet
2021-01-05 15:25:02 +01:00
parent f84f1e0c4b
commit d6464ed790
13 changed files with 460 additions and 8 deletions

27
pom.xml
View File

@@ -1,6 +1,6 @@
<!--
Copyright 2019 the original author or authors.
Copyright 2019-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.
@@ -58,16 +58,20 @@
<license-maven-plugin.version>3.0</license-maven-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-install-plugin.version>2.4</maven-install-plugin.version>
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
<mrm.version>1.2.0</mrm.version>
<surefire.version>2.22.2</surefire.version><!-- keep in sync with junit-platform-launcher.version -->
<junit-platform-launcher.version>1.3.1</junit-platform-launcher.version><!-- keep in sync with surefire.version -->
<takari-lifecycle.version>1.13.9</takari-lifecycle.version>
<takari-provisio.version>1.0.15</takari-provisio.version>
<javassist.version>3.27.0-GA</javassist.version>
</properties>
<modules>
<module>build-plugin</module>
<module>agent</module>
<module>helper</module>
<module>common</module>
<module>client</module>
<module>daemon</module>
@@ -169,6 +173,11 @@
<version>${assertj.version}</version>
</dependency>
<dependency>
<groupId>org.mvndaemon.mvnd</groupId>
<artifactId>mvnd-agent</artifactId>
<version>0.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mvndaemon.mvnd</groupId>
<artifactId>mvnd-client</artifactId>
@@ -190,6 +199,11 @@
<artifactId>mvnd-daemon</artifactId>
<version>0.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mvndaemon.mvnd</groupId>
<artifactId>mvnd-helper-agent</artifactId>
<version>0.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jline</groupId>
@@ -223,6 +237,12 @@
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
@@ -341,6 +361,11 @@ limitations under the License.</inlineHeader>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>