Bonjour à tous,
j'utilise Nexus comme proxy et j'ai une erreur étrange lors du déploiement sur le dépôt :
Les logs disent que l'artefact est uploadé, mais la ligne suivante il dit aussi qu'il est introuvable...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89 >mvn -e deploy + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Super Api [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: ****\super-api\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] [install:install] [INFO] Installing ****\super-api\target\super-api-1.0-SNAPSHOT.jar to ****\.m2\repository\fr\cgin\test\super-api\1.0-SNAPSHOT\super-api-1.0-SNAPSHOT.jar [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from nexus [INFO] repository metadata for: 'snapshot fr.cgin.test:super-api:1.0-SNAPSHOT' could not be found on repository: nexus, so will be created Uploading: http://paris.cgin.prod.com:37780/Nexus/content/groups/snapshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar 3K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Resource to deploy not found: File: http://paris.cgin.prod.com:37780/Nexus/content/groups/snapshots/fr/cgin/test/supe r-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Resource to deploy not found: File: http://paris.cgin.prod.com:37780 /Nexus/content/groups/snapshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.MojoExecutionException: Error deploying artifact: Resource to deploy not found: File: http://paris.cgin.prod.com:37780/Nexus/content/groups/snapshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Resource to deploy not found: File: http://paris. cgin.prod.com:37780/Nexus/content/groups/snapshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162) ... 18 more Caused by: org.apache.maven.wagon.TransferFailedException: Resource to deploy not found: File: http://paris.cgin.prod.com:37780/Nexus/content/groups/s napshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:283) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) ... 19 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: File: http://paris.cgin.prod.com:37780/Nexus/content/groups/snapshots/fr/cgin/test/super-api/1.0-SNAPSHOT/super-api-1.0-20090408.090914-1.jar does not exist at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:168) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244) ... 21 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed Apr 08 11:09:14 CEST 2009 [INFO] Final Memory: 8M/15M [INFO] ------------------------------------------------------------------------
Quelqu'un a une solution ?
Merci d'avance !
Partager