continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Continuum, Maven2 settings.xml
Date Mon, 16 Jan 2006 18:23:43 GMT
Are you sure that your settings.xml is configured correctly?

 From your logs:
 > MavenSettingsBuilder           - Building Maven global-level settings from:
 > '/opt/continuum-1.0.2/bin/linux/conf/settings.xml'
 > jvm 1    | 2006-01-16 18:39:27,510 [SocketListener0-0] DEBUG
 > MavenSettingsBuilder           - Building Maven user-level settings from:
 > '/home/continuum/.m2/settings.xml'

so, continuum use your settings.xml in /home/continuum/.m2/settings.xml

Emmanuel

Christian Mouttet a écrit :
> now I have the settings.xml in directory /home/continuum/.m2.
> But it isn't used yet.
> 
> Continuum is started with parameter 'console' and following stack trace is 
> shown:
> 
> --%<--
> 
> jvm 1    | 18:39:20.004 EVENT  Started HttpContext[/]
> jvm 1    | 2006-01-16 18:39:21,238 [SocketListener0-1] INFO  Action:login           
       
> - Trying to log in admin
> jvm 1    | 2006-01-16 18:39:21,388 [SocketListener0-1] ERROR VelocityComponent      
       
> - RHS of #set statement is null. Context will not be modified. 
> screens/Summary.vm [line 38, column 1]
> jvm 1    | 2006-01-16 18:39:21,401 [SocketListener0-1] ERROR VelocityComponent      
       
> - RHS of #set statement is null. Context will not be modified. 
> screens/Summary.vm [line 39, column 1]
> jvm 1    | 2006-01-16 18:39:27,510 [SocketListener0-0] DEBUG 
> MavenSettingsBuilder           - Building Maven global-level settings from: 
> '/opt/continuum-1.0.2/bin/linux/conf/settings.xml'
> jvm 1    | 2006-01-16 18:39:27,510 [SocketListener0-0] DEBUG 
> MavenSettingsBuilder           - Building Maven user-level settings from: 
> '/home/continuum/.m2/settings.xml'
> jvm 1    | 2006-01-16 18:39:27,520 [SocketListener0-0] INFO  
> ContinuumProjectBuilder:maven-two-builder - Downloading 
> file:/tmp/summit-33596.tmp
> jvm 1    | 2006-01-16 18:39:27,590 [SocketListener0-0] DEBUG 
> MavenProjectBuilder            - Retrieving parent-POM from the repository 
> for project: de.it2m:TelnetRuntime:jar:6.1-SNAPSHOT
> jvm 1    | 2006-01-16 18:39:27,599 [SocketListener0-0] DEBUG WagonManager           
       
> - Trying repository central
> jvm 1    | 2006-01-16 18:39:27,634 [SocketListener0-0] ERROR 
> MavenBuilderHelper             - Cannot build maven project 
> from /tmp/continuum-33597.tmp.
> jvm 1    | org.apache.maven.project.ProjectBuildingException: Error getting 
> POM for 'de.it2m.maven:ProjectMaster' from the repository: Error transferring 
> file
> jvm 1    |   de.it2m.maven:ProjectMaster:2.0:pom
> jvm 1    |
> jvm 1    | from the specified remote repositories:
> jvm 1    |   central (http://repo1.maven.org/maven2)
> jvm 1    |
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:411)
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:955)
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:586)
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:298)
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:283)
> jvm 1    |      at 
> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:260)
> jvm 1    |      at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:100)
> jvm 1    |      at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:83)
> jvm 1    |      at 
> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(CreateProjectsFromMetadata.java:53)
> jvm 1    |      at 
> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:1809)
> jvm 1    |      at 
> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:674)
> jvm 1    |      at 
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:582)
> jvm 1    |      at 
> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulValidation(AddMavenTwoProject.java:52)
> jvm 1    |      at 
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:136)
> jvm 1    |      at 
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> jvm 1    |      at 
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> jvm 1    |      at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> jvm 1    |      at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> jvm 1    |      at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> jvm 1    |      at 
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> jvm 1    |      at 
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> jvm 1    |      at 
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> jvm 1    |      at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
> jvm 1    |      at 
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> jvm 1    |      at 
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> jvm 1    | Caused by: 
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Error 
> transferring file
> jvm 1    |   de.it2m.maven:ProjectMaster:2.0:pom
> jvm 1    |
> jvm 1    | from the specified remote repositories:
> jvm 1    |   central (http://repo1.maven.org/maven2)
> jvm 1    |
> jvm 1    |      at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:140)
> jvm 1    |      at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> jvm 1    |      at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:380)
> jvm 1    |      ... 32 more
> jvm 1    | Caused by: org.apache.maven.wagon.TransferFailedException: Error 
> transferring file
> jvm 1    |      at 
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85)
> jvm 1    |      at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
> jvm 1    |      at 
> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:367)
> jvm 1    |      at 
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282)
> jvm 1    |      at 
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244)
> jvm 1    |      at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
> jvm 1    |      ... 34 more
> jvm 1    | Caused by: java.net.UnknownHostException: repo1.maven.org
> jvm 1    |      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
> jvm 1    |      at java.net.Socket.connect(Socket.java:507)
> jvm 1    |      at java.net.Socket.connect(Socket.java:457)
> jvm 1    |      at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
> jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
> jvm 1    |      at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
> jvm 1    |      at sun.net.www.http.HttpClient.New(HttpClient.java:287)
> jvm 1    |      at sun.net.www.http.HttpClient.New(HttpClient.java:299)
> jvm 1    |      at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784)
> jvm 1    |      at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
> jvm 1    |      at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)
> jvm 1    |      at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:905)
> jvm 1    |      at 
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:71)
> jvm 1    |      ... 39 more
> jvm 1    | 2006-01-16 18:39:27,688 [SocketListener0-0] INFO  Continuum              
       
> - Created 0 projects.
> jvm 1    | 2006-01-16 18:39:27,688 [SocketListener0-0] INFO  Continuum              
       
> - Created 0 project groups.
> jvm 1    | 2006-01-16 18:39:27,688 [SocketListener0-0] INFO  Continuum              
       
> - 1 warnings.
> jvm 1    | 2006-01-16 18:39:27,689 [SocketListener0-0] INFO  Continuum              
       
> - Cannot build maven project from /tmp/continuum-33597.tmp.
> 
> --%<--
> 
> -chris
> 
> 
> Am Montag, 16. Januar 2006 18:18 schrieb Emmanuel Venisse:
> 
>>Can you send the full stacktrace? Is it in maven execution or in continuum
>>project initialization?
>>
>>Emmanuel
> 
> 
> 
> **********************************************************************
> Diese E-Mail wurde auf Viren ueberprueft.
> mailsweeper@it2media.de
> **********************************************************************
> 
> 
> 


Mime
View raw message