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 code runs. I do not see Maven using the compiler plugin as I would
see it if I were building it from the command line.

So does Maven internally and automatically use the Maven compile plugin to
generate .class files ? Because my .class files are magically kept exactly
where they are suppose to be ie. in the /target folder.

Also is the maven compile command just useful for command line building ?
Or is there an use for the plugin in Eclipse projects also ?

Regards
Sreyan Chakravarty

Reply via email to