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
|