Hi Baptiste, Exact, this is the expected error. And I agree, the message should tell which minimal version should be used. What about simply replacing the error message with "Maven 3.1+ requires SonarQube 3.7+" ?
Thanks <http://twitter.com/SimonBrandhof> On 31 July 2013 10:29, Baptiste MATHUS <[email protected]> wrote: > Hi Simon, > > Just launched a build on our Sonar instance using that plugin, is it > supposed to be backward-compatible? > Here's the failure log: > > > [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar > (default-cli) on project sup-gfi-cge-parent: SonarQube 3.4.1 does not support > Maven 3.1 -> [Help 1] > > > From MSONAR-22, I suppose this might be normal and unsupported? (Btw, I > just realized we never locked down the sonar plugin, that's also why the > upgrade was automatic :-/. I'm gonna have to fix that quickly). > > If so, then I just think the message should be improved since we get the > failure using maven 3.0.4. I suppose in this case it's also meant to say > something along "sonar-maven-plugin:2.1 requires a 3.7+ version SonarQube", > right? > > If so, then I'd be -0.1 on this release to get the error message improved > first since I fear this error is going to happen quite often isn't it? > > Thanks again for providing this wonderful tool, by the way. > > > > 2013/7/30 Simon Brandhof <[email protected]> > >> Hi, >> >> I'd like to release version 2.1 of sonar-maven-plugin. >> It resolves 4 issues : >> >> * [MSONAR-22] - Support Maven 3.1. Note that it requires SonarQube >> 3.7-RC1 for testing. >> * [MSONAR-26] - Rename Sonar to SonarQube in documentation and fix dead >> links >> * [MSONAR-19] - Log stack trace when server can not be reached >> * [MSONAR-14] - Fix PMD violation >> >> Staging Repository: >> https://nexus.codehaus.org/content/repositories/orgcodehausmojo-1003 >> >> SCM Tag: >> http://svn.codehaus.org/mojo/tags/sonar-maven-plugin-2.1/ >> >> The vote is open for 72 hours and will succeed by lazy consensus. >> >> Thank you very much >> >> -- >> Baptiste <Batmat> MATHUS - http://batmat.net >> Sauvez un arbre, >> Mangez un castor ! nbsp;! >> >
