[Soaplab-users] soaplab2/maven won't build :(
Brought to you by:
marsenger
From: Sirisha G. <si...@my...> - 2009-06-09 16:03:21
|
Hi everyone, I've had to rebuild Soaplab2 as the server hosting my services died. This has now been fixed, but when I've re-downloaded Soaplab2 and try to call any ant tasks (e.g. ant install) I'm running into all sorts of problems. For some reason certain dependencies aren't being fetched, is anyone aware of a problem on the maven side? In particular, I'm getting these errors: [artifact:dependencies] Diagnosis: [artifact:dependencies] [artifact:dependencies] Unable to resolve artifact: Missing: [artifact:dependencies] ---------- [artifact:dependencies] 1) junit:junit:jar:4.3.1 [artifact:dependencies] [artifact:dependencies] Try downloading the file manually from the project website. [artifact:dependencies] [artifact:dependencies] Then, install it using the command: [artifact:dependencies] mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=4.3.1 -Dpackaging=jar -Dfile=/path/to/file [artifact:dependencies] [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there: [artifact:dependencies] mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=4.3.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [artifact:dependencies] [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) org.soaplab:soaplab:jar:2.1.1 [artifact:dependencies] 2) junit:junit:jar:4.3.1 There are 15 such missing artifacts, the final terminal message is: 15 required artifacts are missing. for artifact: org.soaplab:soaplab:jar:2.1.1 from the specified remote repositories: java.net (https://maven-repository.dev.java.net/repository/), java.net-m2 (http://download.java.net/maven/2), bio.maven.repository (http://biomoby.org/m2repo/), central (http://mirrors.sunsite.dk/maven2) I can connect to all these URLs (except the one for central) in a browser, I've set ANT_OPTS to account for our University firewall, and I've also set the maven proxy in /.m2/settings.xml. If anyone can shed any light on this, I'd be really grateful. Sirisha This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. |