I was working on a Java project with eclipse where I used cyclic dependencies. Specifically I implemented the
Reverse MVP pattern with
GWT Platform. Everything went well in as long as I was using eclipse to compile the project, but once I tried to use Maven to compile the project, I got compilation errors for every case where I had a cyclic dependency. I figured that if eclipse is good enough to compile the sources in development time, it might as well be used in build time instead of JDK's javac. Here is the maven-compiler-plugin configuration from the project POM I initially had:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2.3.2
<source>1.6</source>
1.6
In order to replace javac with eclipse compiler we need to do two things: we need to add a dependency for plexus-compiler-eclipse, and we need to tell the maven-compiler-plugin to use the eclipse compiler
as described here. Here is the updated configuration:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2.3.2
<compilerId>eclipse</compilerId>
<source>1.6</source>
1.6
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId>
1.8.2
After that it was possible to build the project with Maven.
ReplyDeleteGreat Article
Final Year Projects for CSE in Python
FInal Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai
ReplyDeleteNice info..! Really superb and keep doing.....
Spark Training in Chennai
Spark Training Academy
Oracle Training in Chennai
Pega Training in Chennai
Graphic Design Courses in Chennai
Advanced Excel Training in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Tableau Training in Chennai
Unix Training in Chennai
Social Media Marketing Courses in Chennai
Your article is very informative. Thanks for sharing the valuable information.
ReplyDeleteielts coaching in bangalore
best ielts coaching in bangalore
ielts training in bangalore
ielts coaching centre in bangalore
IELTS Coaching in Chennai
ielts coaching centre in coimbatore
ielts coaching in madurai
IELTS Coaching in Hyderabad
AWS Training in Bangalore
Data Science Courses in Bangalore
Everything is coming up roses when I began to read your article. Your blog is efficacious and it grabs the attention of readers. Web Designing Course Training in Chennai | Web Designing Course Training in annanagar | Web Designing Course Training in omr | Web Designing Course Training in porur | Web Designing Course Training in tambaram | Web Designing Course Training in velachery
ReplyDeleteReally very helpful article , Thank you for sharing
ReplyDeleteGerman Classes in Chennai | Certification | Language Learning Online Courses | GRE Coaching Classes in Chennai | Certification | Language Learning Online Courses | TOEFL Coaching in Chennai | Certification | Language Learning Online Courses | Spoken English Classes in Chennai | Certification | Communication Skills Training
I am very interested in reading your blog. keep sharing.
ReplyDeletehow to implement devops
uses of java programming
adwords strategy
is web development dying
seo questions and answers
Excellent blog thanks for sharing the valuable information..it becomes easy to read and easily understand the information.
ReplyDeleteUseful article which was very helpful. also interesting and contains good information.
to know about python training course , use the below link.
Python Training in chennai
Python Course in chennai
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man, Keep it up.
ReplyDeleteJava Training in Chennai
Java Course in Chennai
Fabulous, what a weblog it is! This blog provides valuable information to us, keep it up.
ReplyDeleteJava Training in Chennai
Java Course in Chennai
start your journey abroad
ReplyDeleteMerkur & Ferencia: Merkur & Ferencia Merkur
ReplyDeleteMerkur https://febcasino.com/review/merit-casino/ & Ferencia merkur - Merkur & Ferencia wooricasinos.info Merkur in Solingen, Germany - Merkur - Merkur Merkur - febcasino.com MERKUR - sol.edu.kg Merkur & Ferencia https://septcasino.com/review/merit-casino/ Merkur