maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Moved: (WAGON-183) sftp:// repository crashes build on failed download
Date Wed, 14 May 2008 07:32:27 GMT

     [ http://jira.codehaus.org/browse/WAGON-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter moved WAGONSSH-40 to WAGON-183:
--------------------------------------------

    Affects Version/s:     (was: 1.0-alpha-6)
        Fix Version/s:     (was: 1.0-alpha-7)
                       1.0-alpha-7
          Component/s:     (was: wagon-ssh)
                       wagon-ssh
                  Key: WAGON-183  (was: WAGONSSH-40)
              Project: Maven Wagon  (was: wagon-ssh)

> sftp:// repository crashes build on failed download
> ---------------------------------------------------
>
>                 Key: WAGON-183
>                 URL: http://jira.codehaus.org/browse/WAGON-183
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>            Reporter: Stephen Duncan Jr
>            Assignee: John Casey
>             Fix For: 1.0-alpha-7
>
>
> When using sftp:// for an internal repository, when a download fails,
> an error is thrown, and the build quits, even though the file is a)
> available in the central repository, or b) optional (downloaidng
> sources using Eclipse plugin).  Previously, when using scp with
> another machine, this never happened. 
> Here's the error on downloading:
> $ mvn install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Trouble Tickets Portlet
> [INFO]    task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: sftp://cdciecm.je.jfcom.mil/var/www/maven2/org/springframework/spring-core/1.2.6/spring-core-1.2.6.pom
> No such file
>        at com.jcraft.jsch.ChannelSftp.throwStatusError(Unknown Source)
>        at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
>        at org.apache.maven.wagon.providers.ssh.SftpWagon.getIfNewer(SftpWagon.java:275)
>        at org.apache.maven.wagon.providers.ssh.SftpWagon.get(SftpWagon.java:335)
>        at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369)
>        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282)
>        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244)
>        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
>        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:3
> 86)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:351)
>        at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:102)
>        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:282)
>        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:309)
>        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:67)
>        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2
> 23)
>        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2
> 11)
>        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:1
> 82)
>        at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1120)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:369)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        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)
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: org.springframework:spring-core
> Reason: Error getting POM for 'org.springframework:spring-core' from
> the repository: Error occured while downloading 'or
> g/springframework/spring-core/1.2.6/spring-core-1.2.6.pom' from the
> remote repository:[cdcie] -> sftp://cdciecm.je.jfcom
> .mil/var/www/maven2
>  org.springframework:spring-core:pom:1.2.6
> from the specified remote repositories:
>  cdcie (sftp://cdciecm.je.jfcom.mil/var/www/maven2),
>  central (http://repo1.maven.org/maven2)
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon Feb 20 22:10:28 EST 2006
> [INFO] Final Memory: 3M/7M
> [INFO] ----------------------------------------------------------------------------

-- 
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

        

Mime
View raw message