stat-scm-user Mailing List for Source Code Management Statistics Mojo
Brought to you by:
benoitx,
dougculnane
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
(9) |
Apr
(5) |
May
(9) |
Jun
(3) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
(8) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(3) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Pablo <pa...@an...> - 2011-09-12 15:23:54
|
in scm add the svn user name to the svn url e.g. scm:svn:http://*username*@host.com/etc ssh login to the jenkis box and type: > sudo -H -u jenkins bash > cd/var/lib/jenkins/jobs/yourjob/workspace >/path/to/mvn site Then the shell will ask you or svn password for anahata and ask you wether to store the password in .subversion folder then reply 'yes' Next time the project gets run from jenkins svn will not prompt for credentials I think, ideally, the maven-scm-plugin should pick up the user name and password from maven-scm-plugin or at least from maven command line options -Dusername=xxx -Dpassword=zzz Maybe one of the plugin developers can shed some light onto this -- Pablo Rodriguez Pina Director Anahata Technologies PTY LTD Phone0410 915 078 E-mail pa...@an... <mailto:pa...@an...> Web anahata-it.com <http://www.anahata-it.com> |
From: Pablo R. <Pab...@co...> - 2011-09-12 04:33:37
|
I've somehow got it running in my local machine, but when running in jenkins the build seems to get stuck when statscm plugin tryies to connect to the SVN server. How is one ment to specify the user name and password? Is it in the maven-scm-plugin <username> and <password> tags? Should maven-scm-plugin be placed inside maven-site-plugin or as a top level plugin? ___________________________________________ Pablo Rodriguez Pina Senior Software Developer, Information Services Department of Commerce Ground Floor, 219 St Georges Terrace, Perth WA 6000 *: pab...@co... This email is from the Department of Commerce and any information or attachments to it may be confidential. If you are not the intended recipient, please reply mail to the sender informing them of the error and delete all copies from your computer system, including attachments and your reply email. As the information is confidential you must not disclose, copy or use it in any manner. |
From: sandeep r. <san...@gm...> - 2010-08-09 15:35:36
|
I use the statscm plugin from my project pom file. I use continuum site-deloy to generate reports for the project. The reports are to be generated in www/html/maven/site/project directory. For some reason I notice that the statscm directory in www/html/maven/site/project contains only the statscm.html, and not the other generated files. Any help would be appreciated. On Fri, Jul 30, 2010 at 2:28 AM, Doug Culnane <dou...@gm...> wrote: > Maybe you have not checked out the HEAD? Look at the output of the svn log > file. This is what the reports are based on. > > All the best, > > Doug > > > On Thu, Jul 29, 2010 at 6:58 PM, sandeep reddy <san...@gm...>wrote: > >> I already did that. But it doesn't update the reports for some reason. >> >> >> On Thu, Jul 29, 2010 at 9:58 AM, Doug Culnane <dou...@gm...>wrote: >> >>> You should do an subversion update then a mvn site to create a new >>> version of the site. This can be done with a script and a timed job on a >>> server. To deploy the site use mvn site:deploy. >>> >>> svn up >>> mvn site site:deploy >>> >>> >>> >>> All the best, >>> >>> Doug >>> >>> >>> >> >> >> -- >> Thanks, >> Sandeep >> > > -- Thanks, Sandeep |
From: Doug C. <dou...@gm...> - 2010-07-29 14:58:57
|
You should do an subversion update then a mvn site to create a new version of the site. This can be done with a script and a timed job on a server. To deploy the site use mvn site:deploy. svn up mvn site site:deploy All the best, Doug |
From: sandeep r. <san...@gm...> - 2010-07-29 14:41:10
|
Hello, Yesterday evening I was looking at the stat-scm reports not being updated. I’ve checked the logs for the report and found several NullPointerException like the one pasted below. Have you encountered anything like this before? Any clue? Happens when local files are not synced with the repository. [ERROR] java.lang.NullPointerException at net.sf.statsvn.input.SvnLogfileParser$PerRevDiffTask.run(SvnLogfileParser.java:784) at net.sf.statsvn.input.SvnLogfileParser.executeTask(SvnLogfileParser.java:216) at net.sf.statsvn.input.SvnLogfileParser.handleLineCounts(SvnLogfileParser.java:201) at net.sf.statsvn.input.SvnLogfileParser.parse(SvnLogfileParser.java:343) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:278) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:240) at net.sf.statscm.StatScmMojo.doSvnStats(StatScmMojo.java:255) at net.sf.statscm.StatScmMojo.executeReport(StatScmMojo.java:220) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:164) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:330) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:158) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:120) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Sandeep ---------- Forwarded message ---------- From: sandeep reddy <san...@gm...> Date: Wed, Jul 28, 2010 at 1:44 PM Subject: Does not update reports To: sta...@li... Hello, I have a question, I'm using stat-scm for generating project reports. I see that it does not update reports (nothing changed in configuration). When I open the site to view the reports, it does not update the new results. Any clue? -- Thanks, Sandeep -- Thanks, Sandeep |
From: sandeep r. <san...@gm...> - 2010-07-20 15:03:16
|
Hello, I'm new to Stat SCM. I'm trying to view the reports for a period of time e.g between START Date and END date. How do I specify a time period to view the stat scm reports? Can I do it in the maven pom.xml? or what is the best possible way to do it? Any help would be useful. -- Thanks, Sandeep |
From: sandeep r. <san...@gm...> - 2010-07-19 20:05:46
|
Hello, I'm new to Stat SCM. I'm trying to view the reports for a period of time e.g between START Date and END date. How do I specify a time period to view the stat scm reports? Can I do it in the maven pom.xml? Any help would be useful. -- Thanks, Sandeep |
From: André Björn D. G. <And...@rw...> - 2010-03-14 17:21:01
|
Hello everybody, I wonder if anyone succeeded in adding files to the stats that are not handled by maven. In my svn I have this setup / adminFrontend/... backend/... userFrontend/... in backend I have my maven project which is a java project, so backend looks like backend/ src/main/... src/test/... pom.xml so, to build the stats I cd to the backend subdir and execute mvn site. Works nicely, but it only includes files which are in the backend/src/ subdirectory (since that is the dir that maven uses to build my project) I would also like to have the statistics to include the adminFrontend and userFrontend projects, which are php and objectiveC files. Any idea how to accomplish that? Thanks, Andre |
From: Benjamin T. <bt...@ra...> - 2009-07-08 13:28:27
|
Hi - I am trying to use stat-scm with maven via a hudson continuous integration job. I'm running into a problem with authentication. It appears that the "svn log" command is blocking the build from proceeding because of an authentication check. Here is the relevant snippet from the build output: [INFO] Generating "StatSCM" report. [INFO] StatSCM - generating source code management metrics. [INFO] StatSCM Version: (1.2.0) [INFO] Configuring StatXXX [INFO] Includes: **/*.java [INFO] Excludes: **/test/**/*.java;**/target/**/*.java [INFO] SCM Connection Type :svn [INFO] Output Directory :/home/hudson-farm/.hudson/jobs/farm- toplevel/workspace/farm-toplevel/target/generated-site/xdoc/statscm/ [INFO] scm log > /home/hudson-farm/.hudson/jobs/farm-toplevel/ workspace/farm-toplevel/target/generated-site/xdoc/statscm/scm.log [WARNING] Authentication realm: <http://servername.company.com:80> Company Subversion Repository And at this point the build locks up. When I try running the svn log command from that directory on the command line, I am prompted for authentication credentials: $ svn log -v --xml > /tmp/logfile.log Authentication realm: <http://servername.company.com:80> Company Subversion Repository Username: So it seems that I need a way to provide stat-scm with the username and password to use for Subversion. It looks like this could then be used in SrcManager::log() in the "command" variable. Do you see any other way to overcome this problem? If not, what is the best way to help get this feature implemented? Thanks! Benjamin Truitt Confidentiality Notice: This e-mail message (including any attached or embedded documents) is intended for the exclusive and confidential use of the individual or entity to which this message is addressed, and unless otherwise expressly indicated, is confidential and privileged information of Rackspace. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at ab...@ra..., and delete the original message. Your cooperation is appreciated. |
From: Andreas G. <And...@ma...> - 2008-11-10 16:29:49
|
Doug, I deployed the attachments to our internal repository. However, it still looks as if there are dependencies missing. At this point of time I get the following error [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error getting reports from the plugin 'net.sf:stat-scm': Unable to find the mojo 'net.sf:stat-scm:1.2.0:stats' in the plugin 'net.sf:stat-scm' net/sf/statcvs/output/ConfigurationException Andreas -----Original Message----- From: Doug Culnane [mailto:do...@cu...] Sent: Saturday, November 08, 2008 11:06 AM To: Andreas Guther Cc: sta...@li... Subject: Re: [Stat-scm-user] Maven Dependencies Hi Andreas, The whole site on source forge seams to have gone....??? I was not aware of this, and will look into it. The jars come from the SF repository and if it is not there then the plugin will not work. For a quick fix here attached are the dependencies you need. All the best, Doug Andreas Guther wrote: > > Hi, > > > > I am trying to use StatScm 1.2.0 > > > > The version I found in the Maven Repository > http://repo1.maven.org/maven2/net/sf/stat-scm/1.2.0/stat-scm-1.2.0.pom > defines a dependency on stat-svn 0.4.0-StatSCM which is not available > from the maven repo. > > > > <dependency> > > <groupId>net.sf</groupId> > > <artifactId>stat-svn</artifactId> > > <version>0.4.0-StatSCM</version> > > </dependency> > > > > The only similar dependency I can find on maven is > http://repo1.maven.org/maven2/net/sf/statsvn/statsvn/ (no hyphen). > > > > The Maven2 repository on sourceforge seems to be down on gone. > > > > Please help me to resolve the dependencies. > > > > Thank you in advance, > > > > Andreas > > > > > > > > > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Stat-scm-user mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/stat-scm-user > |
From: Andreas G. <And...@ma...> - 2008-11-10 15:38:42
|
Doug, Thank for the attachments. Is there a specific reason why only some of the jars are deployed to the official Maven Repository? I find it inconsistent to have some jars on repo1.maven.org/maven2 and some on an additional repository. If I remember correctly the repository is defined in the pom file on repo1 but still, I think it would be better to have everything on repo1. Andreas -----Original Message----- From: Doug Culnane [mailto:do...@cu...] Sent: Saturday, November 08, 2008 11:06 AM To: Andreas Guther Cc: sta...@li... Subject: Re: [Stat-scm-user] Maven Dependencies Hi Andreas, The whole site on source forge seams to have gone....??? I was not aware of this, and will look into it. The jars come from the SF repository and if it is not there then the plugin will not work. For a quick fix here attached are the dependencies you need. All the best, Doug Andreas Guther wrote: > > Hi, > > > > I am trying to use StatScm 1.2.0 > > > > The version I found in the Maven Repository > http://repo1.maven.org/maven2/net/sf/stat-scm/1.2.0/stat-scm-1.2.0.pom > defines a dependency on stat-svn 0.4.0-StatSCM which is not available > from the maven repo. > > > > <dependency> > > <groupId>net.sf</groupId> > > <artifactId>stat-svn</artifactId> > > <version>0.4.0-StatSCM</version> > > </dependency> > > > > The only similar dependency I can find on maven is > http://repo1.maven.org/maven2/net/sf/statsvn/statsvn/ (no hyphen). > > > > The Maven2 repository on sourceforge seems to be down on gone. > > > > Please help me to resolve the dependencies. > > > > Thank you in advance, > > > > Andreas > > > > > > > > > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Stat-scm-user mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/stat-scm-user > |
From: Doug C. <do...@cu...> - 2008-11-08 19:34:05
|
Hi Andreas, The whole site on source forge seams to have gone....??? I was not aware of this, and will look into it. The jars come from the SF repository and if it is not there then the plugin will not work. For a quick fix here attached are the dependencies you need. All the best, Doug Andreas Guther wrote: > > Hi, > > > > I am trying to use StatScm 1.2.0 > > > > The version I found in the Maven Repository > http://repo1.maven.org/maven2/net/sf/stat-scm/1.2.0/stat-scm-1.2.0.pom > defines a dependency on stat-svn 0.4.0-StatSCM which is not available > from the maven repo. > > > > <dependency> > > <groupId>net.sf</groupId> > > <artifactId>stat-svn</artifactId> > > <version>0.4.0-StatSCM</version> > > </dependency> > > > > The only similar dependency I can find on maven is > http://repo1.maven.org/maven2/net/sf/statsvn/statsvn/ (no hyphen). > > > > The Maven2 repository on sourceforge seems to be down on gone. > > > > Please help me to resolve the dependencies. > > > > Thank you in advance, > > > > Andreas > > > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Stat-scm-user mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/stat-scm-user > |
From: Andreas G. <And...@ma...> - 2008-11-07 22:59:32
|
Hi, I am trying to use StatScm 1.2.0 The version I found in the Maven Repository http://repo1.maven.org/maven2/net/sf/stat-scm/1.2.0/stat-scm-1.2.0.pom defines a dependency on stat-svn 0.4.0-StatSCM which is not available from the maven repo. <dependency> <groupId>net.sf</groupId> <artifactId>stat-svn</artifactId> <version>0.4.0-StatSCM</version> </dependency> The only similar dependency I can find on maven is http://repo1.maven.org/maven2/net/sf/statsvn/statsvn/ (no hyphen). The Maven2 repository on sourceforge seems to be down on gone. Please help me to resolve the dependencies. Thank you in advance, Andreas |
From: Doug C. <do...@cu...> - 2008-08-26 12:52:00
|
Release StatSCM 1.2.0 available. Featuring updated StatSVN and StatCVS source and patch from Martin to allow override of the default build and reporting output directories. This is deployed to the central Maven repository: http://repo1.maven.org/maven2/net/sf/stat-scm/1.2.0/ Therefore you should automatically get this update. All the best, Doug |
From: Martin K. <mar...@cu...> - 2008-08-19 10:52:15
|
Doug Culnane wrote: > Updated StatSCM dependencies to StatCVS version 0.4+ and StatSVN version > 0.4.1 [...] > Please let me know if there are problems and I will release 1.2.0 StatCVS-integration with custom output build directory tested OK. Regards, Martin |
From: Doug C. <do...@cu...> - 2008-08-14 08:33:02
|
Updated StatSCM dependencies to StatCVS version 0.4+ and StatSVN version 0.4.1 snapshots are here: http://stat-scm.sourceforge.net/maven2-snapshots/net/sf/stat-scm/1.2.0-SNAPSHOT/ Please let me know if there are problems and I will release 1.2.0 All the best, Doug |
From: Ed H. <ed....@gm...> - 2008-07-30 21:59:13
|
> Looks to me like a problem in StatSVN (given that the NullPointerException > happens in a class in a net.sf.statsvn-package). > > StatSCM is a "Maven-enabler" build on top of two separate projects: > StatCVS and StatSVN. > > You might want to see if the folks over at the StatSVN project [1] can > offer some help, since it has been pretty quiet on this list. > > As far as I understand you are using StatSCM v1.1.0 released 2008-04-06, > which according to the StatSCM news section [2] use StatSVN 0.4. (This > seems a bit odd to me since the StatSVN project page announces the release > of v0.4 at a later date, namely 2008-05-04, so if reporting the > stack-trace to the StatSVN-team beware that it might in fact be a > pre-release of v0.4 with different source code and line numbers.) > > Good luck from another user! > Regards, > Martin Thanks for the feedback, Martin. I wasn't aware how it all hung together, In order to understand what was going on, I downloaded the latest version of StatSVN (0.4.1) and attempted to generate the reports directly using StatSVN (instead of using the plugin). And they all generated fine. I think there were some changes between 0.4.0 and 0.4.1 that addressed what is causing my problem (property-only changes in the Subversion revision). As the current version of StatSCM is using an earlier version of StatSVN, I'm just waiting for a new release of the plugin that will use the newer version of StatSVN. Thanks again, Ed |
From: Martin K. <mar...@cu...> - 2008-07-26 18:56:38
|
Ed Hillmann wrote: > OK, I've updated my Maven project to include the stat-scm, and it > looks like it's chugging away. [...] > it errors with the following message: > > [WARNING] Null Pointer: Sometimes happens when local files are not > synced with the repository! > [ERROR] > java.lang.NullPointerException > at net.sf.statsvn.input.SvnLogfileParser$PerRevDiffTask.run > (SvnLogfileParser.java:784) Looks to me like a problem in StatSVN (given that the NullPointerException happens in a class in a net.sf.statsvn-package). StatSCM is a "Maven-enabler" build on top of two separate projects: StatCVS and StatSVN. You might want to see if the folks over at the StatSVN project [1] can offer some help, since it has been pretty quiet on this list. As far as I understand you are using StatSCM v1.1.0 released 2008-04-06, which according to the StatSCM news section [2] use StatSVN 0.4. (This seems a bit odd to me since the StatSVN project page announces the release of v0.4 at a later date, namely 2008-05-04, so if reporting the stack-trace to the StatSVN-team beware that it might in fact be a pre-release of v0.4 with different source code and line numbers.) Good luck from another user! Regards, Martin References: [1] http://www.statsvn.org/ - The StatSVN project [2] http://stat-scm.sourceforge.net/ - The StatSCM project; see "News" |
From: Ed H. <ed....@gm...> - 2008-07-24 05:47:49
|
OK, I've updated my Maven project to include the stat-scm, and it looks like it's chugging away. I'm getting all these INFO messages like... INFO: csrwebgui/src/main/java/com/intecbilling/csrwebgui/view/LogonBean.java, on r66, +2 -0 Jul 24, 2008 3:34:08 PM net.sf.statsvn.util.JavaUtilTaskLogger info So, I presume it's going through the log file. Fantastic. But then it errors with the following message: [INFO] Generating "StatSCM" report. [INFO] StatSCM - generating source code management metrics. [INFO] StatSCM Version: (1.1.0) [INFO] Configuring StatXXX [INFO] Include all [INFO] Exclude none [INFO] SCM Connection Type :svn [INFO] Output Directory :/u01/ct/acct/ehillman/webgui-src/trunk/webgui/target/generated-site/xdoc/statscm/ [INFO] scm log > /u01/ct/acct/ehillman/webgui-src/trunk/webgui/target/generated-site/xdoc/statscm/scm.log [INFO] /u01/ct/acct/ehillman/webgui-src/trunk/webgui/target/generated-site/xdoc/statscm/scm.log EOF. [INFO] scm log ...; exitValue: 0 [WARNING] Null Pointer: Sometimes happens when local files are not synced with the repository! [ERROR] java.lang.NullPointerException at net.sf.statsvn.input.SvnLogfileParser$PerRevDiffTask.run(SvnLogfileParser.java:784) at net.sf.statsvn.input.SvnLogfileParser.executeTask(SvnLogfileParser.java:216) at net.sf.statsvn.input.SvnLogfileParser.handleLineCounts(SvnLogfileParser.java:201) at net.sf.statsvn.input.SvnLogfileParser.parse(SvnLogfileParser.java:343) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:278) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:240) at net.sf.statscm.StatScmMojo.doSvnStats(StatScmMojo.java:255) at net.sf.statscm.StatScmMojo.executeReport(StatScmMojo.java:219) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100) at org.apache.maven.plugins.site.SiteStageMojo.execute(SiteStageMojo.java:117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Now, my working copy is up-to-date with the repository, so I'm not sure what this message means. One of the last files being processed (that I can see in those INFO messages) is an old file which has been deleted in the HEAD of the code base. Could it be that it's trying to find the file in the working copy, but it's not there because it's been svn removed a long time ago? Otherwise, I have no idea about what it going wrong here. Any help would be greatly appreciated. Thanks, Ed |
From: Ed H. <ed....@gm...> - 2008-07-23 22:08:38
|
On Wed, Jul 23, 2008 at 5:20 PM, Doug Culnane <do...@cu...> wrote: > Run mvn again and it should get the dependencies they are on repositories > that are defined in the Stat-SCM POM. > http://repo1.maven.org/maven2/net/sf/stat-scm/1.1.0/stat-scm-1.1.0.pom > > If this does not work merge the pluginRepositories and repositories > section of your project POM to include the repository at: > http://stat-scm.sourceforge.net/maven2/ > > If that does not work manually download and install them from here > http://stat-scm.sourceforge.net/maven2/ > > Good luck, > > Doug Thanks for the help, Doug. My problem is my environment uses a Nexus repository server as a mirror for remote repositories. The server on which the Nexus repository has limited access to external IP addresses. I had deduced that the stat-svn-0.4.0-StatSCM artifact was hosted by the repository at http://stat-scm.sourceforge.net/maven2. I have configured my Nexus server to mirror that, but it can't access it due to internal configuration of our network. I'm currently requesting that projects.sourceforge.net be one of the anointed sites. But, until then, I think I'll download and install it to our Nexus repository until they decide whether it's worthy or not. :) Thanks for the help, Ed |
From: Doug C. <do...@cu...> - 2008-07-23 07:21:07
|
Run mvn again and it should get the dependencies they are on repositories that are defined in the Stat-SCM POM. http://repo1.maven.org/maven2/net/sf/stat-scm/1.1.0/stat-scm-1.1.0.pom If this does not work merge the pluginRepositories and repositories section of your project POM to include the repository at: http://stat-scm.sourceforge.net/maven2/ If that does not work manually download and install them from here http://stat-scm.sourceforge.net/maven2/ Good luck, Doug > Hi all. I'm trying to use the stat-scm Maven 2 plugin for my project. > So, as the plugin doco states, I've added the following to my pom.xml > file > > <build> > <pluginManagement> > <plugins> > .... > <plugin> > <groupId>net.sf</groupId> > <artifactId>stat-scm</artifactId> > <version>1.1.0</version> > </plugin> > </plugins> > </pluginManagement> > ... > > <reporting> > <plugins> > <plugin> > <groupId>net.sf</groupId> > <artifactId>stat-scm</artifactId> > </plugin> > ... > > When I run "mvn site", it's finding the stat-scm, but it's failing > when looking for the dependencies.... > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) net.sf:stat-svn:jar:0.4.0-StatSCM > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=net.sf -DartifactId=stat-svn > -Dversion=0.4.0-StatSCM -Dpackaging=jar -Dfile=/pa > th/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=net.sf -DartifactId=stat-svn > -Dversion=0.4.0-StatSCM -Dpackaging=jar -Dfile=/path > /to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) net.sf:stat-scm:maven-plugin:1.1.0 > 2) net.sf:stat-svn:jar:0.4.0-StatSCM > > ---------- > 1 required artifact is missing. > > for artifact: > net.sf:stat-scm:maven-plugin:1.1.0 > > from the specified remote repositories: > deli.releases > (http://deli:8082/nexus/content/repositories/deli.releases), > deli.snapshots > (http://deli:8082/nexus/content/repositories/deli.snapshots), > deli.thirdparty > (http://deli:8082/nexus/content/repositories/deli.thirdparty), > nexus-public (http://deli:8082/nexus/content/groups/public) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 13 seconds > [INFO] Finished at: Wed Jul 23 09:10:33 EST 2008 > [INFO] Final Memory: 18M/33M > [INFO] > ------------------------------------------------------------------------ > > So, it can't find version 0.4.0-StatSCM of the stat-svn.jar file. > When I look on the Maven 2 public repository, the only version of this > artifact I can see is 0.2.0. > > Can anyone tell me what Maven repository has the 0.4.0-StatSCM version > of the net.sf:stat-svn: jar artifact? > > Thanks, > Ed > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stat-scm-user mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/stat-scm-user > |
From: Ed H. <ed....@gm...> - 2008-07-22 23:34:06
|
Hi all. I'm trying to use the stat-scm Maven 2 plugin for my project. So, as the plugin doco states, I've added the following to my pom.xml file <build> <pluginManagement> <plugins> .... <plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> <version>1.1.0</version> </plugin> </plugins> </pluginManagement> ... <reporting> <plugins> <plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> </plugin> ... When I run "mvn site", it's finding the stat-scm, but it's failing when looking for the dependencies.... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) net.sf:stat-svn:jar:0.4.0-StatSCM Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=net.sf -DartifactId=stat-svn -Dversion=0.4.0-StatSCM -Dpackaging=jar -Dfile=/pa th/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.sf -DartifactId=stat-svn -Dversion=0.4.0-StatSCM -Dpackaging=jar -Dfile=/path /to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) net.sf:stat-scm:maven-plugin:1.1.0 2) net.sf:stat-svn:jar:0.4.0-StatSCM ---------- 1 required artifact is missing. for artifact: net.sf:stat-scm:maven-plugin:1.1.0 from the specified remote repositories: deli.releases (http://deli:8082/nexus/content/repositories/deli.releases), deli.snapshots (http://deli:8082/nexus/content/repositories/deli.snapshots), deli.thirdparty (http://deli:8082/nexus/content/repositories/deli.thirdparty), nexus-public (http://deli:8082/nexus/content/groups/public) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13 seconds [INFO] Finished at: Wed Jul 23 09:10:33 EST 2008 [INFO] Final Memory: 18M/33M [INFO] ------------------------------------------------------------------------ So, it can't find version 0.4.0-StatSCM of the stat-svn.jar file. When I look on the Maven 2 public repository, the only version of this artifact I can see is 0.2.0. Can anyone tell me what Maven repository has the 0.4.0-StatSCM version of the net.sf:stat-svn: jar artifact? Thanks, Ed |
From: Doug C. <do...@cu...> - 2008-02-25 08:01:31
|
If you want to use the released version then you do not need to specify the repository. Maven will get the file from here: http://repo1.maven.org/maven2/net/sf/stat-scm/1.0.0/ Maybe specify the version in your pom as this may help. <reporting> <plugins> <plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> <version>1.0.0</version> </plugin> </plugins> </reporting> Good luck, Doug > Hi, > > I am trying to use stat-scm and am not successful at all. I added this to > my pom > <pluginRepositories> > <pluginRepository> > <id>statscm-snapshots</id> > <name>StatSCM Snapshot Repository</name> > <url>http://repo1.maven.org/maven2/</url> > </pluginRepository> > </pluginRepositories> > <reporting> > <plugins> > <plugin> > <groupId>net.sf</groupId> > <artifactId>stat-scm</artifactId> > </plugin> > </plugins> > </reporting> > > I get the following error > > [INFO] artifact net.sf:stat-scm: checking for updates from central > [WARNING] repository metadata for: 'artifact net.sf:stat-scm' could > not be retrieved from repository: central due to an error: Error > transferring file > [INFO] Repository 'central' will be blacklisted > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'net.sf:stat-scm' does not exist or no valid version > could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 minute 24 seconds > [INFO] Finished at: Sun Feb 24 20:27:37 CET 2008 > [INFO] Final Memory: 20M/45M > [INFO] > ------------------------------------------------------------------------ > > > Even if I remove the > > <pluginRepositories> > <pluginRepository> > <id>statscm-snapshots</id> > <name>StatSCM Snapshot Repository</name> > <url>http://repo1.maven.org/maven2/</url> > </pluginRepository> > </pluginRepositories> > > I get a similar error. Is stat-scm working for somebody from the > central repository? > > Thanks in advance for all your help. > > Larry. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Stat-scm-user mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/stat-scm-user > |
From: Larry M. <lar...@gm...> - 2008-02-24 19:37:12
|
Hi, I am trying to use stat-scm and am not successful at all. I added this to my pom <pluginRepositories> <pluginRepository> <id>statscm-snapshots</id> <name>StatSCM Snapshot Repository</name> <url>http://repo1.maven.org/maven2/</url> </pluginRepository> </pluginRepositories> <reporting> <plugins> <plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> </plugin> </plugins> </reporting> I get the following error [INFO] artifact net.sf:stat-scm: checking for updates from central [WARNING] repository metadata for: 'artifact net.sf:stat-scm' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'net.sf:stat-scm' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 24 seconds [INFO] Finished at: Sun Feb 24 20:27:37 CET 2008 [INFO] Final Memory: 20M/45M [INFO] ------------------------------------------------------------------------ Even if I remove the <pluginRepositories> <pluginRepository> <id>statscm-snapshots</id> <name>StatSCM Snapshot Repository</name> <url>http://repo1.maven.org/maven2/</url> </pluginRepository> </pluginRepositories> I get a similar error. Is stat-scm working for somebody from the central repository? Thanks in advance for all your help. Larry. |
From: Takanori S. <tak...@gm...> - 2008-02-04 14:59:28
|
Hi, Doug. 2008/2/4, Doug Culnane <do...@cu...>: > > I am not sure if this is a Maven problem or a StatSCM problem. Which > version of Maven are you using? I'm using Maven 2.0.6/2.0.8 In either case the result is the same. And, the pom.xml is : http://code.google.com/p/web-helpers/source/browse/trunk/webhelpers/pom.xml(parent) http://code.google.com/p/web-helpers/source/browse/trunk/webhelpers/webhelpers-generic/pom.xml(child) ---- Thanks, Takanori |