-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: Linux
We're using Hudson 1.149 and the Hudson Maven2 Project support.
When we execute the maven command "mvn clean deploy site site:deploy" from the
command line, everything works fine.
However, if we do the same thing in Hudson then the SCP fails when deploying the
site. Here is the Hudson/Maven output from the console.
[INFO] [site:deploy]
[HUDSON] Archiving
/home/administrator/.hudson/jobs/TAUtilities_1.2_DEV/workspace/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unsupported protocol: 'scp'
Embedded error: Cannot find wagon which supports the requested protocol: scp
Component composition failed. No field of type: 'interface
org.apache.maven.wagon.providers.ssh.knownhost.KnownHostsProvider' exists in
class 'org.apache.maven.wagon.providers.ssh.jsch.ScpWagon'. Component: role:
'org.apache.maven.wagon.Wagon', implementation:
'org.apache.maven.wagon.providers.ssh.jsch.ScpWagon', role hint: 'scp'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 57 seconds
[INFO] Finished at: Tue Nov 20 09:00:29 MST 2007
[INFO] Final Memory: 50M/93M
[INFO] ------------------------------------------------------------------------
finished: FAILURE
- duplicates
-
JENKINS-1102 maven build error w/parent pom
- Closed