If you want to use JDT from the command line you can look at the Takari
Lifecycle[1] which does have an option to use JDT on the command line (in an
up-to-date and modern way vs the plexus-compiler-plugin). The people who work
on the Takari Lifecycle are also the people who work on M2Eclipse
Thanks for the explanation!
Also note that IDEA has also started using JDT for incremental compilation.
I didn’t know that. It doesn't look like it is being used for maven builds
however.
/Tommy
24 aug 2015 kl. 14:02 skrev Jason van Zyl ja...@takari.io:
The short answer is the
The short answer is the maven-compiler-plugin is not used inside Eclipse for
projects that use M2Eclipse. Maven has an internal API that lets you calculate
the build plan and inside Eclipse we selectively execute certain parts of the
build plan. We need to worry about the generation of
When you are using maven together with Eclipse things does not work as I think
you believe from reading your question :-)
The maven compiler plugin always runs on in the compile phase of a maven build.
If you are using Intellij IDEA or NetBeans then the IDE runs maven as it would
be run on the
OK I am new to Maven and I am using it within Eclipse for a simple
Hibernate project.
What I want to know what is the use of the maven compiler plugin. In
Eclipse regardless of whether my project is a Maven project or not I just
- Type my code
- And select Run As Java Application
And my