Re: Compilation Error -Incompatible Types

2015-11-26 Thread pradeepkumar
I have tried compile form console , even i am facing the same error from command prompt. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5853003.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Jörg Schaible
pradeepkumar wrote: > I have tried compile form console , even i am facing the same error from > command prompt. That simply means your code is not Java compliant. It does not matter that the Eclipse compiler has no problem. Cheers, Jörg

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Adrien Rivard
I'm not sure this is the case here, but most of the time differences between eclipse and command line compilation are due to scopes problems. Eclipse is merging various scopes (test/compile ..) when compiling while command line is enforcing strict separation. Have a look at the scopes of the

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Brice Vandeputte
Hi Maybe try - to avoid wildcard (*) in your imports statement - check dependencies version differences between your workstation and jenkins Le 25 nov. 2015 09:48, "pradeepkumar" a écrit : > Is there any was to resolve this issue from maven side by adding any flag > to

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Curtis Rueden
Hi Adrien, > most of the time differences between eclipse and command line > compilation are due to scopes problems. I agree that Eclipse's handling of scopes is a common reason for code which works in Eclipse, but actually fails on the CLI. However, there are also significant differences in

RE: Compilation Error -Incompatible Types

2015-11-26 Thread David Evans
I think the original question noted two different classes along the lines of com.someone.xxx.bo.BusinessObject and com.someone.xxx.BusinessObject These are different classes. ... I cannot find the original post and I can't be sure so sorry if this is a red herring. One of Eclipse's useful

Re: animal-sniffer-maven-plugin repo missing

2015-11-26 Thread Curtis Rueden
You mean this? https://github.com/mojohaus/animal-sniffer/tree/master/animal-sniffer-maven-plugin On Thu, Nov 26, 2015 at 9:44 PM, Martin Gainty wrote: > anyone know what happened to animal-sniffer-maven-plugin repo? >

animal-sniffer-maven-plugin repo missing

2015-11-26 Thread Martin Gainty
anyone know what happened to animal-sniffer-maven-plugin repo?https://github.com/mojohaus/animal-sniffer.git/animal-sniffer-maven-plugin http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/source-repository.htmlsays this is the repo for animal-sniffer-maven-plugin? Thanks,