Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's the right way to pass javac parameters to java:compile in Maven?

 
Juarez Alvares Barbosa Junior
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

The question is very simple: What's the usage pattern to pass javac parameters to java:compile in Maven? I've searched the web (Google, Maven docs, etc) but I have not found a single answer Could anybody help please?

[java] ( NO DEFAULT GOAL )
compile ........................ Compile the project
jar ............................ Create the deliverable jar file.
jar-resources .................. Copy any resources that must be present in
the deployed JAR file
prepare-filesystem ............. Create the directory structure needed to
compile

Best Regards,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic