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.
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
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
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
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
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
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?
>
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,