Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] JDK 9 Early Access with Project Jigsaw

Wayne Beaton wrote:
> Include "-jdkinternals" in your invocation.
> 
> e.g.
> 
>  for i in /c/develop/oomph/git/org.eclipse.oomph/plugins/*/bin; do jdeps
> -jdkinternals $i; done >> deps.txt
> 
> Note that jdeps is included in Java 8 as well, so you may need to give
> it a complete path to the executable to get the up-to-date version from
> Java 9.

If your build uses Tycho, you can also try the following:

    mvn install jdeps:jdkinternals

I found the output quite easy to digest.

FYI, the "install" phase in the above is necessary as the
"jdeps:jdkinternals" goal apparently tries to obtain your projects'
dependencies from there, even if they are build in the same reactor (no
"workspace resolution").

Also, you may want to switch to a Java 9 toolchain, if your build runs
with an older version of Java. See for more infos. [1].

Hope that helps,

Andreas

[1] <https://maven.apache.org/plugins/maven-jdeps-plugin/>

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top