BTW, I am using JDK 1.8 on Mac. Not sure if anything special did by Apple.
:)
regards,
Lin
On Thu, Apr 16, 2015 at 3:43 PM, Lin Ma wrote:
> Thanks Gruss for the details,
>
> I tried mvn -U help:effective-pom -Doutput=epom.xml, and find
> sourceDirectory is without "main" directory in the midd
Thanks Gruss for the details,
I tried mvn -U help:effective-pom -Doutput=epom.xml, and find
sourceDirectory is without "main" directory in the middle, which conform to
what compiles actually when I execute mvn package.
Then I tried mvn -U
org.apache.maven.plugins:maven-dependency-plugin:2.10:di
Am Wed, 15 Apr 2015 14:49:21 -0700
schrieb Lin Ma :
> 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
Thanks Karl and Bernd,
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.
regards,
Lin
On Wed, Apr 15, 2015 at 2:42 PM, Bernd Eckenfels
wrote:
> Hello,
>
> you can see here a
Hello,
you can see here a documentation, it is also contained in the POM
refernece and finally it is the default if you try it (which is most
authoritative anyway :)
https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Gruss
Bernd
Am Wed, 15 Apr 2015
Hi,
https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Kind regards
Karl Heinz Marbaise
On 4/15/15 11:26 PM, Lin Ma wrote:
Thanks Wayne,
Are there any document mentioning src/main/java is default source?
Appreciate if you could point me to. Thanks
Thanks Wayne,
Are there any document mentioning src/main/java is default source?
Appreciate if you could point me to. Thanks.
regards,
Lin
On Wed, Apr 15, 2015 at 2:05 PM, Wayne Fay wrote:
> As Dan said before, the default is src/main/java for java sources.
>
> If src/java/com… is working, th
As Dan said before, the default is src/main/java for java sources.
If src/java/com… is working, then I'd assume there is a configuration
coming in somewhere in your project (pom, parent pom, etc) to change it
from src/main/java. Or I'd expect Maven to complain a little.
Wayne
On Wed, Apr 15, 201
Thanks Wayne for the correction, :))
Is there any default values for source if I do not use the parameter
explicitly?
I tried it compiles fine with sub-folder src/java/com/foo/goo/zoo.java
maven-compiler-plugin
2.3.2
1.5
1.5
regards,
Lin
On Wed, Apr 15, 20
Your link is to the m-javadoc-p. You want m-compiler-p as seen here. Look
for the "source" parameter.
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
Wayne
On Sun, Apr 12, 2015 at 1:10 AM, Lin Ma wrote:
> Thanks Dan,
>
> Followed your advice tried mvn -X compile and out
Hi Dan,
Are there any message in your last reply? Looks like your message is
truncated. Thanks.
regards,
Lin
On Sat, Apr 11, 2015 at 11:34 PM, Dan Tran wrote:
> looks like your pom reconfigures the default source ( ie
> build-->sourceDirectory) this may help
> https://maven.apache.org/po
looks like your pom reconfigures the default source ( ie
build-->sourceDirectory) this may help
https://maven.apache.org/pom.html
-D
On Sat, Apr 11, 2015 at 11:10 PM, Lin Ma wrote:
> Thanks Dan,
>
> Followed your advice tried mvn -X compile and output is very verbose, which
> items should
Thanks Dan,
Followed your advice tried mvn -X compile and output is very verbose, which
items should I look at?
I refer the document for compiler plug-in as well (
http://maven.apache.org/plugins/maven-javadoc-plugin/plugin-info.html), and
not found it is mentioned where is source directory to se
try mvn -X compile, it will give you lots of hints too
-D
On Sat, Apr 11, 2015 at 10:11 PM, Dan Tran wrote:
> looks like your pom reconfigures the default source ( ie
> build-->sourceDirectory) this may help
> https://maven.apache.org/pom.html
>
> -D
>
> On Sat, Apr 11, 2015 at 10:06 PM,
looks like your pom reconfigures the default source ( ie
build-->sourceDirectory) this may help
https://maven.apache.org/pom.html
-D
On Sat, Apr 11, 2015 at 10:06 PM, Lin Ma wrote:
> Hi Dan,
>
> I have this question since I tried it compiles fine with sources in
> src/java/com/foo/..., ar
Hi Dan,
I have this question since I tried it compiles fine with sources in
src/java/com/foo/..., are they default location as well? I do not find
sub-directory "main" in the middle of the path.
regards,
Lin
On Sat, Apr 11, 2015 at 9:59 PM, Dan Tran wrote:
> default main source is at src/main/
default main source is at src/main/java
to add more sources, use build-helper-maven-plugin
-Dan
On Sat, Apr 11, 2015 at 8:10 PM, Lin Ma wrote:
> Hi Maven masters,
>
> For maven-compiler-plugin, how to check what are the source
> files/directories it will scan for to compile? And add other sour
17 matches
Mail list logo