Quantcast

[sonar-dev] CI Job and Sonar Analysis for new Plugin

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Eric Hartmann-2
Hi Patroklos

We currently migrate plugins to Github and Cloudbees infrastructure, do you mind if we migrate this one to Github ?

If so, please give your Github login in order to give you write access to git repositories.

Cheers,

Eric Hartmann


On 6 September 2012 15:00, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

David Racodon-2
Hi Patroklos,

Just send your screenshots through the mailing-list. I'll upload them on the wiki page.

Regards,

David RACODON | SonarSource
Senior Consultant



On 6 September 2012 16:43, Eric Hartmann <[hidden email]> wrote:
Hi Patroklos

We currently migrate plugins to Github and Cloudbees infrastructure, do you mind if we migrate this one to Github ?

If so, please give your Github login in order to give you write access to git repositories.

Cheers,

Eric Hartmann


On 6 September 2012 15:00, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
In reply to this post by Eric Hartmann-2
Hi Eric

Yes no problem. My  Github login is : ppapapetrou76
Regards
Patroklos

2012/9/6 Eric Hartmann <[hidden email]>
Hi Patroklos

We currently migrate plugins to Github and Cloudbees infrastructure, do you mind if we migrate this one to Github ?

If so, please give your Github login in order to give you write access to git repositories.

Cheers,

Eric Hartmann



On 6 September 2012 15:00, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
In reply to this post by David Racodon-2
Hi David
Please find attached a couple of screenshots.
Thanks a lot!
Patroklos

2012/9/6 David Racodon <[hidden email]>
Hi Patroklos,

Just send your screenshots through the mailing-list. I'll upload them on the wiki page.

Regards,

David RACODON | SonarSource
Senior Consultant



On 6 September 2012 16:43, Eric Hartmann <[hidden email]> wrote:
Hi Patroklos

We currently migrate plugins to Github and Cloudbees infrastructure, do you mind if we migrate this one to Github ?

If so, please give your Github login in order to give you write access to git repositories.

Cheers,

Eric Hartmann


On 6 September 2012 15:00, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos






---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

scm-stats-commits-clockhour.png (11K) Download Attachment
scm-stats-commits-user.png (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

David Racodon-2
Done

David RACODON | SonarSource
Senior Consultant



On 6 September 2012 20:16, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi David
Please find attached a couple of screenshots.
Thanks a lot!
Patroklos

2012/9/6 David Racodon <[hidden email]>
Hi Patroklos,

Just send your screenshots through the mailing-list. I'll upload them on the wiki page.

Regards,

David RACODON | SonarSource
Senior Consultant



On 6 September 2012 16:43, Eric Hartmann <[hidden email]> wrote:
Hi Patroklos

We currently migrate plugins to Github and Cloudbees infrastructure, do you mind if we migrate this one to Github ?

If so, please give your Github login in order to give you write access to git repositories.

Cheers,

Eric Hartmann


On 6 September 2012 15:00, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos






---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Fabrice Bellingard-4
In reply to this post by Patroklos Papapetrou
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos

2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Eric Hartmann-2
Hi Patroklos,

I've moved SCM Stats to Github here : https://github.com/SonarCommunity/sonar-scm-stats 
The Sonar analysis is currently ongoing.

Best regards,

Eric Hartmann


On 7 September 2012 09:35, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Thanks a lot to both David and Eric!!

2012/9/7 Eric Hartmann <[hidden email]>
Hi Patroklos,

I've moved SCM Stats to Github here : https://github.com/SonarCommunity/sonar-scm-stats 
The Sonar analysis is currently ongoing.

Best regards,

Eric Hartmann



On 7 September 2012 09:35, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
In reply to this post by Eric Hartmann-2
Hmmm..
Forgive my ignorance... but where I can find the Sonar analysis for community plugins in CloudBees. I suppose for the plugins hosted there, Sonar analysis isn't available in nemo... right?
Regards
Patroklos

2012/9/7 Eric Hartmann <[hidden email]>
Hi Patroklos,

I've moved SCM Stats to Github here : https://github.com/SonarCommunity/sonar-scm-stats 
The Sonar analysis is currently ongoing.

Best regards,

Eric Hartmann



On 7 September 2012 09:35, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Eric Hartmann-2
Hi Patroklos,

The Nemo analysis are done on Cloudbees but on a private instance so you cannot see them ;-)
The analysis of SCM Stats has been launched but the result will be available in more or less one hour because the Nemo analysis take all open source plugins, so it's a bit longer.

Cheers,

Eric Hartmann


On 7 September 2012 09:51, Papapetrou P.Patroklos <[hidden email]> wrote:
Hmmm..
Forgive my ignorance... but where I can find the Sonar analysis for community plugins in CloudBees. I suppose for the plugins hosted there, Sonar analysis isn't available in nemo... right?
Regards
Patroklos

2012/9/7 Eric Hartmann <[hidden email]>
Hi Patroklos,

I've moved SCM Stats to Github here : https://github.com/SonarCommunity/sonar-scm-stats 
The Sonar analysis is currently ongoing.

Best regards,

Eric Hartmann



On 7 September 2012 09:35, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos






Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Thanks Eric!!
I think I can wait for an hour or so :)
Regards
Patroklos

2012/9/7 Eric Hartmann <[hidden email]>
Hi Patroklos,

The Nemo analysis are done on Cloudbees but on a private instance so you cannot see them ;-)
The analysis of SCM Stats has been launched but the result will be available in more or less one hour because the Nemo analysis take all open source plugins, so it's a bit longer.

Cheers,

Eric Hartmann



On 7 September 2012 09:51, Papapetrou P.Patroklos <[hidden email]> wrote:
Hmmm..
Forgive my ignorance... but where I can find the Sonar analysis for community plugins in CloudBees. I suppose for the plugins hosted there, Sonar analysis isn't available in nemo... right?
Regards
Patroklos

2012/9/7 Eric Hartmann <[hidden email]>
Hi Patroklos,

I've moved SCM Stats to Github here : https://github.com/SonarCommunity/sonar-scm-stats 
The Sonar analysis is currently ongoing.

Best regards,

Eric Hartmann



On 7 September 2012 09:35, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Fabrice Bellingard-4
In reply to this post by Patroklos Papapetrou
On Fri, Sep 7, 2012 at 9:35 AM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Fabrice 
Very interesting question. To be honest it's not fed by the value of SCM Activity plugin, although I thought a lot about it. 
The reason that I did it like this is to avoid "bonding" the two plugins. 
Currently if there is a maven project, url is taken directly from pom.xml ( if defined ) otherwise I use the sonar.scm-stats.url. 
So you propose to check for the existence of  sonar.scm.url  (in case of non-maven projects) and if it's valid, just use it?

Yes, just in the same way that you feed your property with Maven props when they are available.

 
Regards
Patroklos


2012/9/7 Fabrice Bellingard <[hidden email]>
Hi Patroklos,

just a question: you've defined the following property for your plugin => "sonar.scm-stats.url"

Is it automatically fed with the value of Sonar SCM Activity plugin "sonar.scm-stats.url" if this one exists? Indeed, this could be bothering to be obliged to define both properties whereas they refer to exactly the same thing.



Best regards,

Fabrice BELLINGARD | SonarSource
http://sonarsource.com



On Thu, Sep 6, 2012 at 3:00 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Sonar devs

Could you please create a CI Job for a new plugin ( SCM Stats ) ? ( http://svn.codehaus.org/sonar-plugins/trunk/scm-stats
I've already created a wiki page for the plugin http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin but I'll need someone to upload a couple of screenshots for me 

I'll wait for the CI build and Sonar SQALE index before starting a vote.

Kind Regards
Patroklos




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Jorge Costa
Hi,

Tried this plugin and got
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] = file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [ERROR] FATAL ERROR
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [DEBUG] Trace
[12:21:29][tekla.DOT_APPS:AppsLibrary] java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:95)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.createCommandLine(GitChangeLogCommand.java:114)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:77)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:68)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:105)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.AbstractGitScmProvider.changelog(AbstractGitScmProvider.java:207)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:357)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:337)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.manager.AbstractScmManager.changeLog(AbstractScmManager.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.plugins.scmstats.ScmFacade.getChangeLog(ScmFacade.java:53)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.plugins.scmstats.ScmStatsSensor.analyse(ScmStatsSensor.java:56)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)

I have git installed and on path. Im running this in windows machine btw.

Thanks in advance.
Jorge Costa
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Hi Jorge 
First, thanks a lot for testing the plugin.
I assume you're using Sonar Runner to run the analysis and you've set the sonar.scm-stats.url property right? 
Is this the full stacktrace?

Regards
Patroklos

2012/9/7 jmecosta <[hidden email]>
Hi,

Tried this plugin and got
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] =
file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [ERROR] FATAL ERROR
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [DEBUG] Trace
[12:21:29][tekla.DOT_APPS:AppsLibrary] java.lang.NoSuchMethodError:
org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:95)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.createCommandLine(GitChangeLogCommand.java:114)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:77)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:68)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:105)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.AbstractGitScmProvider.changelog(AbstractGitScmProvider.java:207)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:357)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:337)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.manager.AbstractScmManager.changeLog(AbstractScmManager.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.plugins.scmstats.ScmFacade.getChangeLog(ScmFacade.java:53)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.plugins.scmstats.ScmStatsSensor.analyse(ScmStatsSensor.java:56)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)

I have git installed and on path. Im running this in windows machine btw.

Thanks in advance.
Jorge Costa



--
View this message in context: http://sonar.15.n6.nabble.com/sonar-dev-CI-Job-and-Sonar-Analysis-for-new-Plugin-tp5002761p5002797.html
Sent from the Sonar dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Jorge Costa
Hi Papapetrou,

Im using maven, and my scm configuration looks like this:
                <sonar.scm.url>scm:git:http://esx-pamm:9000/DOT_APPS</sonar.scm.url>

If running it without setting the sonar.scm-stats.url in sonar i get this :

[15:10:06][Step 7/7] [INFO] ------------------------------------------------------------------------
[15:10:06][Step 7/7] [ERROR] BUILD ERROR
[15:10:06][Step 7/7] [INFO] ------------------------------------------------------------------------
[15:10:06][Step 7/7] [INFO] Can not execute Sonar
[15:10:06][Step 7/7]
[15:10:06][Step 7/7] Embedded error: SCM URL must not be blank. Please check the parameter "sonar.scm-stats.url" or the <scm> section of Maven pom.
[15:10:06][Step 7/7] [INFO] ------------------------------------------------------------------------
[15:10:06][Step 7/7] [DEBUG] Trace
[15:10:06][Step 7/7] org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar

If setting it in sonar than i get the stack trace in the prev message. Was thinking it was some problems with the maven repos but same thing happens after deleting my .m2 directory. Ive set the sonar.scm-stats.url to the scm:git:http://esx-pamm:9000/DOT_APPS  even tough is available in the pom file. Ive used the version from svn, not sure if there are fixes in the git since 3 hours ago. My maven is 2.2.1

In sonar the complete trace is:

[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] org.sonar.maven.SonarMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.sonar:sonar-maven-plugin:3.2]
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-maven-plugin/3.2/sonar-maven-plugin-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[1] = file:/C:/Users/jocs/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[2] = file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[3] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-batch/3.2/sonar-batch-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[4] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-core/3.2/sonar-core-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[5] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-plugin-api/3.2/sonar-plugin-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[6] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-check-api/3.2/sonar-check-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[7] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-colorizer/3.2/sonar-colorizer-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[8] = file:/C:/Users/jocs/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[9] = file:/C:/Users/jocs/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[10] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-channel/3.2/sonar-channel-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[11] = file:/C:/Users/jocs/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[12] = file:/C:/Users/jocs/.m2/repository/org/slf4j/slf4j-api/1.6.2/slf4j-api-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[13] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-duplications/3.2/sonar-duplications-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[14] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-graph/3.2/sonar-graph-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[15] = file:/C:/Users/jocs/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[16] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-squid/3.2/sonar-squid-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[17] = file:/C:/Users/jocs/.m2/repository/org/picocontainer/picocontainer/2.14.1/picocontainer-2.14.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[18] = file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[19] = file:/C:/Users/jocs/.m2/repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[20] = file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[21] = file:/C:/Users/jocs/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[22] = file:/C:/Users/jocs/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[23] = file:/C:/Users/jocs/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[24] = file:/C:/Users/jocs/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[25] = file:/C:/Users/jocs/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[26] = file:/C:/Users/jocs/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[27] = file:/C:/Users/jocs/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[28] = file:/C:/Users/jocs/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[29] = file:/C:/Users/jocs/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[30] = file:/C:/Users/jocs/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[31] = file:/C:/Users/jocs/.m2/repository/org/slf4j/log4j-over-slf4j/1.6.2/log4j-over-slf4j-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[32] = file:/C:/Users/jocs/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[33] = file:/C:/Users/jocs/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[34] = file:/C:/Users/jocs/.m2/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[35] = file:/C:/Users/jocs/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[36] = file:/C:/Users/jocs/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[37] = file:/C:/Users/jocs/.m2/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[38] = file:/C:/Users/jocs/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[39] = file:/C:/Users/jocs/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[40] = file:/C:/Users/jocs/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[41] = file:/C:/Users/jocs/.m2/repository/org/mybatis/mybatis/3.1.1/mybatis-3.1.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[42] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-update-center-common/1.3/sonar-update-center-common-1.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[43] = file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[44] = file:/C:/Users/jocs/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[45] = file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[46] = file:/C:/Users/jocs/.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[47] = file:/C:/Users/jocs/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[48] = file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[49] = file:/C:/Users/jocs/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[50] = file:/C:/Users/jocs/.m2/repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[51] = file:/C:/Users/jocs/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[52] = file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[53] = file:/C:/Users/jocs/.m2/repository/ch/qos/logback/logback-classic/0.9.30/logback-classic-0.9.30.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[54] = file:/C:/Users/jocs/.m2/repository/ch/qos/logback/logback-core/0.9.30/logback-core-0.9.30.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[55] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-deprecated/3.2/sonar-deprecated-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[56] = file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-java-api/3.2/sonar-java-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Container realm = plexus.core
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] = file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0]
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] = file:/C:/Users/jocs/.m2/repository/org/codehaus/mojo/sonar-maven-plugin/1.0/sonar-maven-plugin-1.0.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[1] = file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Container realm = plexus.core
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] = file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [ERROR] FATAL ERROR
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [DEBUG] Trace
[12:21:29][tekla.DOT_APPS:AppsLibrary] java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:95)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.createCommandLine(GitChangeLogCommand.java:114)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:77)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:68)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:105)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.git.AbstractGitScmProvider.changelog(AbstractGitScmProvider.java:207)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:357)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:337)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.scm.manager.AbstractScmManager.changeLog(AbstractScmManager.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.plugins.scmstats.ScmFacade.getChangeLog(ScmFacade.java:53)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.plugins.scmstats.ScmStatsSensor.analyse(ScmStatsSensor.java:56)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.phases.Phases.execute(Phases.java:93)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:139)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:131)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:126)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:121)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:121)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:73)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:60)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.sonar.maven.SonarMojo.execute(SonarMojo.java:150)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:88)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at java.lang.reflect.Method.invoke(Method.java:597)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[12:21:29][tekla.DOT_APPS:AppsLibrary] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Total time: 56 seconds
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Finished at: Fri Sep 07 12:21:29 EEST 2012
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Final Memory: 38M/560M
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] ------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] Process exited with code 1
[12:21:29][tekla.DOT_APPS:AppsLibrary] Publishing artifacts
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Hi Jorge

From the log I can't figure out what's the problem but I'd like to clarify this.
The subversion version is out-dated so I 'd suggest that you use the GitHub version. Now a few notes about finding the SCM URL.

First if it's a maven project the plugin tries to find in pom.xml the following attribute
<scm>
    <connection>scm:svn:http://....</connection>
  </scm>
If it's a non-maven project then it tries to use the sonar.scm.url property from SCM Activity plugin. Finally it uses the sonar.scm-stats.url property which is a property of the plugin itself.
Which one do you actually use?
Regards
Patroklos

2012/9/7 jmecosta <[hidden email]>
Hi Papapetrou,

Im using maven, and my scm configuration looks like this:
                <sonar.scm.url>scm:git:http://esx-pamm:9000/DOT_APPS</sonar.scm.url>

If running it without setting the sonar.scm-stats.url in sonar i get this :

[15:10:06][Step 7/7] [INFO]
------------------------------------------------------------------------
[15:10:06][Step 7/7] [ERROR] BUILD ERROR
[15:10:06][Step 7/7] [INFO]
------------------------------------------------------------------------
[15:10:06][Step 7/7] [INFO] Can not execute Sonar
[15:10:06][Step 7/7]
[15:10:06][Step 7/7] Embedded error: SCM URL must not be blank. Please check
the parameter "sonar.scm-stats.url" or the <scm> section of Maven pom.
[15:10:06][Step 7/7] [INFO]
------------------------------------------------------------------------
[15:10:06][Step 7/7] [DEBUG] Trace
[15:10:06][Step 7/7] org.apache.maven.lifecycle.LifecycleExecutionException:
Can not execute Sonar

If setting it in sonar than i get the stack trace in the prev message. Was
thinking it was some problems with the maven repos but same thing happens
after deleting my .m2 directory. Ive set the sonar.scm-stats.url to the
scm:git:http://esx-pamm:9000/DOT_APPS  even tough is available in the pom
file. Ive used the version from svn, not sure if there are fixes in the git
since 3 hours ago. My maven is 2.2.1

In sonar the complete trace is:

[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR]
org.sonar.maven.SonarMojo#execute() caused a linkage error
(java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.sonar:sonar-maven-plugin:3.2]
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-maven-plugin/3.2/sonar-maven-plugin-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[1] =
file:/C:/Users/jocs/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[2] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[3] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-batch/3.2/sonar-batch-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[4] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-core/3.2/sonar-core-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[5] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-plugin-api/3.2/sonar-plugin-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[6] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-check-api/3.2/sonar-check-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[7] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-colorizer/3.2/sonar-colorizer-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[8] =
file:/C:/Users/jocs/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[9] =
file:/C:/Users/jocs/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[10] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-channel/3.2/sonar-channel-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[11] =
file:/C:/Users/jocs/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[12] =
file:/C:/Users/jocs/.m2/repository/org/slf4j/slf4j-api/1.6.2/slf4j-api-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[13] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-duplications/3.2/sonar-duplications-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[14] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-graph/3.2/sonar-graph-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[15] =
file:/C:/Users/jocs/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[16] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-squid/3.2/sonar-squid-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[17] =
file:/C:/Users/jocs/.m2/repository/org/picocontainer/picocontainer/2.14.1/picocontainer-2.14.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[18] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[19] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[20] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[21] =
file:/C:/Users/jocs/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[22] =
file:/C:/Users/jocs/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[23] =
file:/C:/Users/jocs/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[24] =
file:/C:/Users/jocs/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[25] =
file:/C:/Users/jocs/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[26] =
file:/C:/Users/jocs/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[27] =
file:/C:/Users/jocs/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[28] =
file:/C:/Users/jocs/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[29] =
file:/C:/Users/jocs/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[30] =
file:/C:/Users/jocs/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[31] =
file:/C:/Users/jocs/.m2/repository/org/slf4j/log4j-over-slf4j/1.6.2/log4j-over-slf4j-1.6.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[32] =
file:/C:/Users/jocs/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[33] =
file:/C:/Users/jocs/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[34] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[35] =
file:/C:/Users/jocs/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[36] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[37] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[38] =
file:/C:/Users/jocs/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[39] =
file:/C:/Users/jocs/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[40] =
file:/C:/Users/jocs/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[41] =
file:/C:/Users/jocs/.m2/repository/org/mybatis/mybatis/3.1.1/mybatis-3.1.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[42] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-update-center-common/1.3/sonar-update-center-common-1.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[43] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[44] =
file:/C:/Users/jocs/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[45] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[46] =
file:/C:/Users/jocs/.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[47] =
file:/C:/Users/jocs/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[48] =
file:/C:/Users/jocs/.m2/repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[49] =
file:/C:/Users/jocs/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[50] =
file:/C:/Users/jocs/.m2/repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[51] =
file:/C:/Users/jocs/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[52] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[53] =
file:/C:/Users/jocs/.m2/repository/ch/qos/logback/logback-classic/0.9.30/logback-classic-0.9.30.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[54] =
file:/C:/Users/jocs/.m2/repository/ch/qos/logback/logback-core/0.9.30/logback-core-0.9.30.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[55] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-deprecated/3.2/sonar-deprecated-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[56] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/sonar/sonar-java-api/3.2/sonar-java-api-3.2.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Container realm =
plexus.core
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] =
file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR]
org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error
(java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0]
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/mojo/sonar-maven-plugin/1.0/sonar-maven-plugin-1.0.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[1] =
file:/C:/Users/jocs/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [FATAL ERROR] Container realm =
plexus.core
[12:21:29][tekla.DOT_APPS:AppsLibrary] urls[0] =
file:/C:/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [ERROR] FATAL ERROR
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [DEBUG] Trace
[12:21:29][tekla.DOT_APPS:AppsLibrary] java.lang.NoSuchMethodError:
org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:95)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.createCommandLine(GitChangeLogCommand.java:114)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:77)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand.executeChangeLogCommand(GitChangeLogCommand.java:68)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:105)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.git.AbstractGitScmProvider.changelog(AbstractGitScmProvider.java:207)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:357)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:337)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.scm.manager.AbstractScmManager.changeLog(AbstractScmManager.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.plugins.scmstats.ScmFacade.getChangeLog(ScmFacade.java:53)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.plugins.scmstats.ScmStatsSensor.analyse(ScmStatsSensor.java:56)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.phases.Phases.execute(Phases.java:93)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:139)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:131)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:126)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:121)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:121)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrap.Module.start(Module.java:83)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:73)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.batch.bootstrapper.Batch.execute(Batch.java:60)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.sonar.maven.SonarMojo.execute(SonarMojo.java:150)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:88)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
java.lang.reflect.Method.invoke(Method.java:597)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[12:21:29][tekla.DOT_APPS:AppsLibrary]  at
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Total time: 56 seconds
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Finished at: Fri Sep 07
12:21:29 EEST 2012
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO] Final Memory: 38M/560M
[12:21:29][tekla.DOT_APPS:AppsLibrary] [INFO]
------------------------------------------------------------------------
[12:21:29][tekla.DOT_APPS:AppsLibrary] Process exited with code 1
[12:21:29][tekla.DOT_APPS:AppsLibrary] Publishing artifacts




--
View this message in context: http://sonar.15.n6.nabble.com/sonar-dev-CI-Job-and-Sonar-Analysis-for-new-Plugin-tp5002761p5002799.html
Sent from the Sonar dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Jorge Costa
Hi,

Ive tried with the git version also, and the same behaviour. Im using this in a c# project, and using pom.xml just with the properties for sonar. So in this case only  the sonar.scm.url is defined in the pom (so non maven project). Tried again setting the property in sonar but same thing.

I will debug this on my side, and let you know the problem once i have  a bit of time.

Thanks
Jorge Costa
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sonar-dev] CI Job and Sonar Analysis for new Plugin

Patroklos Papapetrou
Hi Jorge

I just managed to re-produce the issue. It occurs only when using Maven 2.2.1. 
I'll fix it and let you know!
Thanks a lot
Patroklos

2012/9/11 jmecosta <[hidden email]>
Hi,

Ive tried with the git version also, and the same behaviour. Im using this
in a c# project, and using pom.xml just with the properties for sonar. So in
this case only  the sonar.scm.url is defined in the pom (so non maven
project). Tried again setting the property in sonar but same thing.

I will debug this on my side, and let you know the problem once i have  a
bit of time.

Thanks
Jorge Costa



--
View this message in context: http://sonar.15.n6.nabble.com/sonar-dev-CI-Job-and-Sonar-Analysis-for-new-Plugin-tp5002761p5002894.html
Sent from the Sonar dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



12
Loading...