Bonjour,
Dans un premier temps j'ai développé mon pom sous windows, pour effectuer un assembly. Celui fonctionne à merveille, mais une fois déployé sur Linux j'ai une erreur et le assembly ne se fait pas... Voilà un bout de log :
[...]
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105 + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/root/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/usr/local/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'assembly'. [INFO] org.apache.maven.plugins: checking for updates from matriceTechnologique-pluginrepo [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: matriceTechnologique-pluginrepo due to an error: Error transferring file [INFO] Repository 'matriceTechnologique-pluginrepo' will be blacklisted [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Error transferring file at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:356) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:91) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:98) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:82) at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:56) at org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:143) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1446) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135) 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:256) 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) Caused by: java.net.UnknownHostException: maven-proxy.dev.bidule at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.<a href="http://www.http.HttpClient.openServer(HttpClient.java:382" target="_blank">http://www.http.HttpClient.openServe...lient.java:382</a>) at sun.net.<a href="http://www.http.HttpClient.openServer(HttpClient.java:509" target="_blank">http://www.http.HttpClient.openServe...lient.java:509</a>) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.<a href="http://www.http.HttpClient.New(HttpClient.java:304" target="_blank">www.http.HttpClient.New(HttpClient.java:304</a>) at sun.net.<a href="http://www.http.HttpClient.New(HttpClient.java:316" target="_blank">www.http.HttpClient.New(HttpClient.java:316</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:817</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:769</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:694</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:938</a>) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85) ... 23 more [INFO] org.apache.maven.plugins: checking for updates from chartedev-pluginrepo [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: chartedev-pluginrepo due to an error: Error transferring file [INFO] Repository 'chartedev-pluginrepo' will be blacklisted [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Error transferring file at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:356) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:91) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:98) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:82) at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:56) at org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:143) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1446) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135) 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:256) 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) Caused by: java.net.UnknownHostException: bidule.machin.chose at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.<a href="http://www.http.HttpClient.openServer(HttpClient.java:382" target="_blank">http://www.http.HttpClient.openServe...lient.java:382</a>) at sun.net.<a href="http://www.http.HttpClient.openServer(HttpClient.java:509" target="_blank">http://www.http.HttpClient.openServe...lient.java:509</a>) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.<a href="http://www.http.HttpClient.New(HttpClient.java:304" target="_blank">www.http.HttpClient.New(HttpClient.java:304</a>) at sun.net.<a href="http://www.http.HttpClient.New(HttpClient.java:316" target="_blank">www.http.HttpClient.New(HttpClient.java:316</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:817</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:769</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:694</a>) at sun.net.<a href="http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938" target="_blank">http://www.protocol.http.HttpURLConn...ction.java:938</a>) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85) ... 23 more [DEBUG] Skipping blacklisted repository matriceTechnologique-pluginrepo [DEBUG] Skipping blacklisted repository chartedev-pluginrepo [DEBUG] Skipping blacklisted repository matriceTechnologique-pluginrepo [DEBUG] Skipping blacklisted repository chartedev-pluginrepo [DEBUG] maven-assembly-plugin: resolved to version 2.2-beta-1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-assembly-plugin:maven-plugin:2.2-beta-1 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository. [INFO] ----------------------------------------------------------------------------
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Java heap space [INFO] ------------------------------------------------------------------------ [DEBUG] Trace java.lang.OutOfMemoryError: Java heap space [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9 seconds [INFO] Finished at: Mon Jul 16 15:05:02 CEST 2007 [INFO] Final Memory: 10M/63M [INFO] ------------------------------------------------------------------------
Partager