Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 68269 invoked from network); 14 Apr 2009 20:24:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2009 20:24:36 -0000 Received: (qmail 7736 invoked by uid 500); 14 Apr 2009 20:24:36 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 7657 invoked by uid 500); 14 Apr 2009 20:24:36 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 7647 invoked by uid 99); 14 Apr 2009 20:24:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 20:24:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 20:24:29 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2549F14A81A4 for ; Tue, 14 Apr 2009 15:24:12 -0500 (CDT) Message-ID: <17703317.1239740652121.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 14 Apr 2009 15:24:12 -0500 (CDT) From: "nambi sankaran (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MDEPLOY-100) deploy:deploy-file fails from windows powershell In-Reply-To: <2057556.1239666232627.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MDEPLOY-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172969#action_172969 ] nambi sankaran commented on MDEPLOY-100: ---------------------------------------- This is the stack trace, when run from windows powershell. It throws the error "maven-http-plugin" not found. this plugin is in the repository. hen executed from bash, windows cmd shell or cygwin , mvn deploy:deploy-file works just fine. PS C:\> mvn -X deploy:deploy-file -Durl=dav:http://repository.corp.ebay .com/bluewolf/snapshots -DrepositoryId=bluewolf -Dfile=ZXTM-API-eBay-1.0.jar -DpomFile=ZXTM-API-eBay-1.0.pom + Error stacktraces are turned on. Maven version: 2.0.9 Java version: 1.5.0 OS name: "windows server 2003" version: "5.2 build 3790 service pack 2" arch: "x86" Family: "dos" [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\djaisinghani\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\ebox\maven-2.0.9\bin\..\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'deploy'. [DEBUG] Loading plugin prefixes from group: com.ebay.ebox.plugins [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] Loading plugin prefixes from group: org.mortbay.jetty [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] Loading plugin prefixes from group: org.sonatype.maven.plugins [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::7 for project: null:maven-deploy-plugin:maven-plu gin:2.3 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-plugin-surrogate-parent::5 for project: org.apache.maven.plugins:m aven-plugins:pom:7 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-plugin-surrogate-parent:pom:5 fr om the repository. [INFO] Searching repository for plugin with prefix: 'http'. [DEBUG] Loading plugin prefixes from group: com.ebay.ebox.plugins [DEBUG] Loading plugin prefixes from group: org.mortbay.jetty [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] Loading plugin prefixes from group: org.sonatype.maven.plugins [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Skipping disabled repository ebox.snapshots [DEBUG] maven-http-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-http-plugin:pom:LATEST [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-http-plugin:pom:LATEST [DEBUG] maven-http-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release version org.apache.maven.plugins:maven-http-plugin:pom:RELEASE [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-http-plugin:pom:RELEASE [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-http-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-http-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecuto r.java:405) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-ht tp-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager. java:229) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager. java:91) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:171) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274) ... 14 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Tue Apr 14 13:11:12 PDT 2009 [INFO] Final Memory: 2M/8M [INFO] ------------------------------------------------------------------------ > deploy:deploy-file fails from windows powershell > ------------------------------------------------ > > Key: MDEPLOY-100 > URL: http://jira.codehaus.org/browse/MDEPLOY-100 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Environment: windows powershell > Reporter: nambi sankaran > > mvn deploy:deploy-file fails with authentication error when tried from windows powershell. > The same command works from fine from normal windows command shell -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira