[Mifos-developer] why sonar hudson build is broken - using maven3 with sonar-maven-plugin 2.0-beta-2

66 views
Skip to first unread message

Udai Gupta

unread,
Jan 13, 2011, 7:37:54 AM1/13/11
to Developer
Hi,

I think we need to upgrade our sonar server to fix this problem,
because 2.1 doesn't support MAVEN 3.
http://ci.mifos.org/hudson/job/sonar-head-master/275/console (See
error at the end)

The version that latest sonar hudson plugin uses is
sonar-maven-plugin:2.0-beta-2 which is requires maven3,
http://ci.mifos.org/hudson/job/sonar-head-master/273/console

previously it was 2.0-SNAPSHOT which was able to build with maven2.

May be we can fix this ,but for now it can not find 2.0-SNAPSHOT in
our NEXUS repo even if we force that version on sonar-hudson plugin.
http://ci.mifos.org/hudson/job/sonar-head-master/277/console

When the beta was released sonar-hudson plugin tried upgrading it's dependency.

Another interesting thing is that there are two group ids
org.codehaus.mojo:sonar-maven-plugin (2,0-beta-2 is the latest)
org.codehaus.sonar:sonar-maven-plugin (2.2 is latest)

While sonar-hudson plugin only uses/support org.codehaus.mojo

Udai

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl

kgam...@gmail.com

unread,
Jan 13, 2011, 10:17:10 AM1/13/11
to Mifos software development
Hi Udai,
I can concur. I ran a build a sonar build on my laptop with sonar
version 2.4.1 a week ago on mifos successfully.

Kojo

Reply all
Reply to author
Forward
0 new messages