Closed glassfishrobot closed 8 years ago
Reported by @ljnelson
@romain-grecourt said: what maven version are you using ?
@ljnelson said:
$ mvn --version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)
Maven home: /usr/local/maven
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: ISO8859-1
OS name: "mac os x", version: "10.11.1", arch: "x86_64", family: "mac"
@romain-grecourt said: This is caused by the use of jdk8.
There is a jdk8 maven profile to handle the -Xdoclint javadoc param, so that profile is active when using jdk8. Another profile "noagent" has been added to declares surefireArgLineExtra as an empty property, and is expected to be active by default.
There can be only one active default profile, so instead of relying on this I just set the property at the top as Maven properties are not immutable like in ant.
The change has been pushed to the repo.
This issue was imported from java.net JIRA HK2-282
Marked as fixed on Tuesday, December 1st 2015, 7:42:34 am
The workaround is simple: add a -DsurefireArgLineExtra="" command line property. But this shouldn't be necessary.
Affected Versions
[2.3.0]