Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPARTIFACT-6 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPARTIFACT-6 Summary: Impossible to deploy uncompressed artifact Type: Bug Status: Unassigned Priority: Blocker Original Estimate: 1 hour Time Spent: Unknown Remaining: 1 hour Project: maven-artifact-plugin Versions: 1.0 Assignee: Reporter: Emmanuel Boudrant Created: Tue, 16 Dec 2003 5:17 AM Updated: Tue, 16 Dec 2003 5:17 AM Environment: W2K deploy on linux Description: Hi, I was unable to deploy with 'scp://' so I just navigate in source code and I saw a bug. If I deploy with : maven.repo.list=dev-host maven.repo.dev-host=scp://dev-host maven.repo.dev-host.username=maven maven.repo.dev-host.password=maven maven.repo.dev-host.directory=/var/www/html/MavenRepository/ maven.repo.dev-host.group=apache I've got this out __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Will deploy to 1 repository(ies): dev-host Deploying to repository: dev-host host: 'dev-host' Deploying: C:\projects\dany-eai-projects\eais\project.xml-->dany-weblogic/poms/eais-SNAPSHOT.pom Deploying: C:\projects\dany-eai-projects\eais\project.xml.md5-->dany-weblogic/poms/eais-SNAPSHOT.pom.md5 Deploying: C:\projects\dany-eai-projects\eais\project.xml-->dany-weblogic/poms/eais-20031216.103616.pom Deploying: C:\projects\dany-eai-projects\eais\project.xml.md5-->dany-weblogic/poms/eais-20031216.103616.pom.md5 Deploying: C:\projects\dany-eai-projects\eais\eais-pom-snapshot-version-->dany-weblogic/poms/eais-snapshot-versions-pom-snapshot-version-->dany-weblogic/poms/eais-snapshot-version ... But nothing is deployed on remote host. It is because the flag 'maven.deployer.scp.compress' is not setted so value is false. In the code : 101 /*** 102 * @see org.apache.maven.deploy.deployers.Deployer#release() 103 */ 104 public void flush() throws TransferFailedException 105 { 106 if (!deployNotCompressed) 107 { 108 doDeployCompressed(); 109 } 110 111 super.flush(); 112 } (...) 143 public void deploy(DeployRequest request) throws TransferFailedException 144 { 145 if (deployNotCompressed) 146 { 147 doDeployNotCompressed(request); 148 } 149 else 150 { 151 srcFiles.add(request.getSrcFile()); 152 destFiles.add(request.getDestFile()); 153 } 154 } Problem : method flush is never called, artifact are not deployed. The only solution is to launch maven with the system property 'maven.deployer.scp.compress': maven nightly -Dmaven.deployer.scp.compress=true -emmanuel --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
