Re: [Stat-scm-user] Problem using stat-scm
Brought to you by:
benoitx,
dougculnane
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 > |