Wayne Fay wrote
I rarely use any parameters as you have done here. Can you try a
simple mvn clean install and see how that goes? Also -U and -X may
be useful shortcuts for you to know about.
And I agree with Stephen and Ron - Eclipse sometimes does helpful
things which produce hard to
Well, Eclipse is not installed on my daily-build server, so I guess it has
nothing to do with Eclipse. ;-)
I guess when Maven encounters the missing-dependency compilation error, it
doesn't stop compiling immediately, and it tries its best to compile other
unrelated modules. When I compile
On 20 February 2014 01:58, LevskiWeng levskiw...@gmail.com wrote:
Wayne Fay wrote
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provided previously, Maven is simply passing
along the error that was reported by javac. I bet, if you constructed
On 20/02/2014 4:38 AM, Stephen Connolly wrote:
On 20 February 2014 01:58, LevskiWeng levskiw...@gmail.com wrote:
Wayne Fay wrote
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provided previously, Maven is simply passing
along the error that was
It's because my code depends some other modules which I didn't put it into
pom.xml explicitly. And I'm adding them into the corresponding pom.xml.
Thank you for directing me back to the right track!
Glad you sorted that out! :)
However, I'm curious that I succeed to compile the project after
Wayne Fay wrote
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provided previously, Maven is simply passing
along the error that was reported by javac. I bet, if you constructed
the proper javac call (which can be seen in Maven's logs if you use -X
Date: Wed, 19 Feb 2014 17:58:13 -0800
From: levskiw...@gmail.com
To: users@maven.apache.org
Subject: Re: Why does Maven fail to compile my project occasionally?
Wayne Fay wrote
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provided
Thanks for your suggestion. But I don't think it's the Jenkins fault
because:
I've written a Windows batch file to invoke Maven to build the project
before I choose Jenkins as my daily build system. And at that time I got
the same Maven error as I described in this thread.
I'll post some other
I've written a Windows batch file to invoke Maven to build the project
before I choose Jenkins as my daily build system. And at that time I got
the same Maven error as I described in this thread.
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provided
Is it possible that you have more than 1 version of Java installed?
I use Eclipse/STS, have all the Maven tools that I need to build with
Maven so I may suggest some things that you may not have, with m2
installed separately.
1) Look in the project properties and make sure that you have
Robert Scholte-4 wrote
My code is correct because I could successfully build the whole project
in Eclipse again and again.
This is 100% true. Within Eclipse you can manually add libraries.
Actually, if you create your first JUnit test, Eclipse will ask if the
JUnit4 library should be
My code is correct because I could successfully build the whole project
in Eclipse again and again.
This is 100% true. Within Eclipse you can manually add libraries.
Actually, if you create your first JUnit test, Eclipse will ask if the
JUnit4 library should be added. If you do so, it's
On Saturday, 15 February 2014, LevskiWeng levskiw...@gmail.com wrote:
Parsing POMs
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/xxx/system/systempom/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact
To: users@maven.apache.org
Subject: Re: Why does Maven fail to compile my project occasionally?
Date: Sat, 15 Feb 2014 11:45:57 +0100
From: rfscho...@apache.org
My code is correct because I could successfully build the whole project
in Eclipse again and again.
This is 100% true. Within
Since the error message is in Chinese it is a bit difficult to tell.
Why are you deleting your local repo?
Is it possible that you are using different compilers?
How is TYPE_AGENT_ID source com compiles - same pom?
On 14/02/2014 9:12 AM, Levski Weng wrote:
Hello, I'm new to Maven. Currently I
Sorry for that, I forgot to translate all the Chinese characters into
English, those Chinese characters have the same meaning of 'Cannot find the
symbol'.
I will change the compilers to javac and see what will happen. I'll post my
result later.
The reason why I'm deleting my local repository is
clean should delete your compiler output and force a new compile.
The repo has nothing to do with this.
Ron
On 14/02/2014 10:08 AM, LevskiWeng wrote:
Sorry for that, I forgot to translate all the Chinese characters into
English, those Chinese characters have the same meaning of 'Cannot find
After changing the compiler to javac, and add verbose parameters as the
following:
the problem remains the same, but the console output reveals the compile
procedure in details, could you help me to find what is missing? Thanks.
BEGIN
...
[DEBUG] Command line options:
[DEBUG] -d
The parameters is missing, sorry:
clean install -Dmaven.test.skip=true --update-snapshots --batch-mode
--fail-fast --debug -Dmaven.compiler.forceJavacCompilerUse=true
-Dmaven.compiler.verbose=true
LevskiWeng wrote
After changing the compiler to javac, and add verbose parameters as the
Where is the compiler version and options line?
Ron
On 14/02/2014 10:36 AM, LevskiWeng wrote:
After changing the compiler to javac, and add verbose parameters as the
following:
the problem remains the same, but the console output reveals the compile
procedure in details, could you help me to
Parsing POMs
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/centerm/system/systempom/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/centerm/pom/1.0.0-SNAPSHOT/maven-metadata.xml
Modules changed,
Parsing POMs
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/xxx/system/systempom/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/xxx/pom/1.0.0-SNAPSHOT/maven-metadata.xml
Modules changed, recalculating
22 matches
Mail list logo