maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Eckenfels <e...@zusammenkunft.net>
Subject Re: for maven-compiler-plugin
Date Wed, 15 Apr 2015 22:25:22 GMT
Am Wed, 15 Apr 2015 14:49:21 -0700
schrieb Lin Ma <linlma@gmail.com>:

> The document is very helpful. Any thoughts how to check why
> src/java/com/foo/goo works is great. Is there some other files like
> super POM or other files to check? Thanks.

You can print out the effective pom and check if sourceDirectory is
set or if the compiler plugin has a modified configuration:

  mvn -U help:effective-pom -Doutput=epom.xml

The completely resolved pom is in epom.xml. If you want to know what
parent poms (up to the root) have been visited, you can use:

  mvn -U org.apache.maven.plugins:maven-dependency-plugin:2.10:display-ancestors

Gruss
Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message