*
The moose likes Ant, Maven and Other Build Tools and the fly likes What's the right way to pass javac parameters to java:compile in Maven? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "What Watch "What New topic
Author

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

Juarez Alvares Barbosa Junior
Ranch Hand

Joined: Mar 18, 2002
Posts: 80
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What's the right way to pass javac parameters to java:compile in Maven?
 
Similar Threads
What does maven "packaging = jar" mean ?
Do developers/professionals use non-GUI compilers ?
javac woes.
maven java:compile
Maven