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
>
|