maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1262) Add modulepath support
Date Sun, 19 Nov 2017 09:15:09 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258401#comment-16258401
] 

Hudson commented on SUREFIRE-1262:
----------------------------------

SUCCESS: Integrated in Jenkins build maven-surefire #1802 (See [https://builds.apache.org/job/maven-surefire/1802/])
[SUREFIRE-1262] Add modulepath support (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=f337881ff7f47ab35669d9c499213f5a6b9a4d8b])
* (add) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/AbstractClasspathForkConfiguration.java
* (add) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/JarManifestForkConfiguration.java
* (edit) maven-surefire-common/src/test/java/org/apache/maven/surefire/JUnit4SuiteTest.java
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ClasspathConfiguration.java
* (add) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfiguration.java
* (add) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ModulePathIT.java
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/StartupConfiguration.java
* (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/AbstractSurefireMojoTest.java
* (add) surefire-integration-tests/src/test/resources/modulepath/pom.xml
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
* (edit) surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/InPluginVMSurefireStarter.java
* (add) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ModularClasspathConfiguration.java
* (add) surefire-integration-tests/src/test/resources/modulepath/src/main/java/module-info.java
* (add) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ModularClasspathForkConfiguration.java
* (edit) maven-surefire-common/src/test/java/org/apache/maven/surefire/util/RelocatorTest.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/util/Relocator.java
* (edit) surefire-api/src/main/java/org/apache/maven/surefire/util/DefaultScanResult.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/BooterSerializer.java
* (add) surefire-booter/src/main/java/org/apache/maven/surefire/booter/AbstractPathConfiguration.java
* (edit) surefire-api/src/test/java/org/apache/maven/surefire/util/ScanResultTest.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/surefire/providerapi/ServiceLoader.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
* (edit) maven-surefire-common/pom.xml
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java
* (add) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ClasspathForkConfiguration.java
* (add) surefire-integration-tests/src/test/resources/modulepath/src/main/java/com/app/Main.java
* (add) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ModularClasspath.java
* (add) surefire-integration-tests/src/test/resources/modulepath/src/test/java/com/app/AppTest.java
* (edit) pom.xml
* (add) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfigurationTest.java
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/Platform.java
* (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/ForkConfigurationTest.java
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
* (edit) maven-surefire-plugin/src/test/java/org/apache/maven/plugin/surefire/SurefirePluginTest.java
* (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/BooterDeserializerStartupConfigurationTest.java
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java


> Add modulepath support
> ----------------------
>
>                 Key: SUREFIRE-1262
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1262
>             Project: Maven Surefire
>          Issue Type: Improvement
>            Reporter: Robert Scholte
>            Assignee: Tibor Digana
>             Fix For: 2.21.0.Jigsaw
>
>
> With the Jigsaw project Java9 is extended with a modulepath. This means that surefire
should be executed in a different way.
> When working with a modulepath, the Classpath in the MANIFEST of the executable jar will
be ignored, you need need to add everything on commandline. 
> Just like javadoc, the java executable has an {{@<file>}} option, where you can
add arguments per line. So this is the new preferred way to build the module-path.
> IIUC for surefire it is important to add {{--patch-module target/test-classes}} (was:
-Xpatch) which makes it possible to use the same packages as target/classes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message