continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: How to deal with modules
Date Tue, 19 Sep 2006 09:56:18 GMT
The path of settings.xml used by continuum is printed in logs.
The best place to define your proxy is in ${user.home}/.m2/settings.xml so maven and continuum
will 
can use it

Emmanuel

Julien Henry a écrit :
> 
> I finally found where the logs are hidden ;) and it seems to be a 
> problem with accessing snapshot repository.
> 
> I will search where is the proxy configuration for continuum.
> 
> 593480753 [SocketListener0-4] INFO  
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
 
> - Downloading 
> http://illiade.sud.capgemini.fr/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml 
> 
> 593480759 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Searching for 
> parent-POM: org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT of 
> project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT in 
> relative path: ../pom.xml
> 593480760 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Parent-POM: 
> org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT not found in 
> relative path: ../pom.xml
> 593480760 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Retrieving parent-POM: 
> org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT from 
> the repository.
> 593480760 [SocketListener0-4] DEBUG 
> org.apache.maven.artifact.transform.ArtifactTransformation:snapshot  - 
> maven-scm-providers: using locally installed snapshot
> 593480760 [SocketListener0-4] DEBUG 
> org.apache.maven.artifact.manager.WagonManager  - Skipping disabled 
> repository central
> 593480761 [SocketListener0-4] ERROR 
> org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper  - 
> Cannot build maven project from 
> /tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml (Cannot 
> find parent: org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
> 
> org.apache.maven.project.ProjectBuildingException: Cannot find parent: 
> org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:201)

> 
>    at 
> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:306)

> 
>    at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)

> 
>    at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:83)

> 
>    at 
> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(CreateProjectsFromMetadata.java:74)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:2089)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:804)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:712)

> 
>    at 
> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulValidation(AddMavenTwoProject.java:52)

> 
>    at 
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:136)

> 
>    at 
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) 
> 
>    at 
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)

> 
>    at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>    at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>    at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>    at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)

> 
>    at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>    at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)

> 
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>    at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>    at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> Caused by: org.apache.maven.project.ProjectBuildingException: POM 
> 'org.apache.maven.scm:maven-scm-providers' not found in repository: 
> Unable to download the artifact from any repository
> 
>  org.apache.maven.scm:maven-scm-providers:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)

> 
>    ... 31 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
> Unable to download the artifact from any repository
> 
>  org.apache.maven.scm:maven-scm-providers:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)

> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)

> 
>    ... 32 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable 
> to download the artifact from any repository
>    at 
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)

> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)

> 
>    ... 34 more
> 593480846 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Created 0 projects.
> 593480846 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Created 0 project groups.
> 593480846 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - 1 warnings.
> 593480846 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Cannot build maven project from 
> /tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml (Cannot 
> find parent: org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
> 
> 597186583 [SocketListener0-4] INFO  
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
 
> - Downloading 
> http://illiade.sud.capgemini.fr/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml 
> 
> 597186608 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Searching for 
> parent-POM: org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT of 
> project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT in 
> relative path: ../pom.xml
> 597186608 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Parent-POM: 
> org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT not found in 
> relative path: ../pom.xml
> 597186608 [SocketListener0-4] DEBUG 
> org.apache.maven.project.MavenProjectBuilder  - Retrieving parent-POM: 
> org.apache.maven.scm:maven-scm-providers::1.0-SNAPSHOT for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT from 
> the repository.
> 597186609 [SocketListener0-4] DEBUG 
> org.apache.maven.artifact.transform.ArtifactTransformation:snapshot  - 
> maven-scm-providers: using locally installed snapshot
> 597186609 [SocketListener0-4] DEBUG 
> org.apache.maven.artifact.manager.WagonManager  - Skipping disabled 
> repository central
> 597186609 [SocketListener0-4] ERROR 
> org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper  - 
> Cannot build maven project from 
> /tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml (Cannot 
> find parent: org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
> 
> org.apache.maven.project.ProjectBuildingException: Cannot find parent: 
> org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:201)

> 
>    at 
> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:306)

> 
>    at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)

> 
>    at 
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:83)

> 
>    at 
> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(CreateProjectsFromMetadata.java:74)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:2089)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:804)

> 
>    at 
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:712)

> 
>    at 
> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulValidation(AddMavenTwoProject.java:52)

> 
>    at 
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:136)

> 
>    at 
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) 
> 
>    at 
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)

> 
>    at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>    at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>    at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>    at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)

> 
>    at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>    at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)

> 
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>    at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>    at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> Caused by: org.apache.maven.project.ProjectBuildingException: POM 
> 'org.apache.maven.scm:maven-scm-providers' not found in repository: 
> Unable to download the artifact from any repository
> 
>  org.apache.maven.scm:maven-scm-providers:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)

> 
>    ... 31 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
> Unable to download the artifact from any repository
> 
>  org.apache.maven.scm:maven-scm-providers:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)

> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)

> 
>    at 
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)

> 
>    ... 32 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable 
> to download the artifact from any repository
>    at 
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)

> 
>    at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)

> 
>    ... 34 more
> 597186636 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Created 0 projects.
> 597186636 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Created 0 project groups.
> 597186636 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - 1 warnings.
> 597186636 [SocketListener0-4] INFO  
> org.apache.maven.continuum.Continuum  - Cannot build maven project from 
> /tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml (Cannot 
> find parent: org.apache.maven.scm:maven-scm-providers for project: 
> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
> 
> 
> Emmanuel Venisse a écrit :
>> Where is defined your proxy on continuum machine?
>>
>> Julien Henry a écrit :
>>>
>>> Nop, there is nothing in Working Directory nor in Build Output 
>>> Directory.
>>>
>>> It's strange the pom is in /tmp. Should be in Working 
>>> Directory/<number>...
>>>
>>> And yes, we are using a corporate proxy, but we have other projects 
>>> that build fine on continuum, and this one build on my PC (I'm using 
>>> the corporate proxy too).
>>>
>>> Emmanuel Venisse a écrit :
>>>>
>>>>
>>>> Julien Henry a écrit :
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'm working on a scm plugin for Synergy. I would like to put it on 
>>>>> continuum in my company, but I get an error from continuum:
>>>>>
>>>>>
>>>>> Continuum Error
>>>>>
>>>>> * Cannot build maven project from
>>>>> /tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml
>>>>> (Cannot find parent: org.apache.maven.scm:maven-scm-providers for
>>>>> project:
>>>>> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
>>>>>
>>>>> Check the logs for more details.
>>>>
>>>> Do you have more details in your logs?
>>>>
>>>> It seems it couldn't download the parent pom from the repo, do you 
>>>> use a proxy?
>>>>
>>>> Emmanuel
>>>>>
>>>>> Here is the pom :
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
>>>>> http://maven.apache.org/maven-v4_0_0.xsd">
>>>>> <modelVersion>4.0.0</modelVersion>
>>>>> <parent>
>>>>> <artifactId>maven-scm-providers</artifactId>
>>>>> <groupId>org.apache.maven.scm</groupId>
>>>>> <version>1.0-SNAPSHOT</version>
>>>>> </parent>
>>>>> <groupId>org.apache.maven.scm</groupId>
>>>>> <artifactId>maven-scm-provider-synergy</artifactId>
>>>>> <name>Maven SCM Synergy Provider</name>
>>>>> <version>1.0-SNAPSHOT</version>
>>>>> <scm>
>>>>> <connection>
>>>>> scm:svn:http://iliade.sud.capgemini.fr/svn/laposte/maven-scm-provider-ccm/trunk

>>>>>
>>>>> </connection>
>>>>> <developerConnection>
>>>>> scm:svn:http://iliade.sud.capgemini.fr/svn/laposte/maven-scm-provider-ccm/trunk

>>>>>
>>>>> </developerConnection>
>>>>> <url>
>>>>> <![CDATA[http://illiade.sud.capgemini.fr/websvn/listing.php?repname=La+Poste+-+Provider+SCM+Maven+Synergy&path=%2Ftrunk%2F&rev=0&sc=0]]>

>>>>>
>>>>> </url>
>>>>> </scm>
>>>>> <pluginRepositories>
>>>>> <pluginRepository>
>>>>> <id>Maven Snapshots</id>
>>>>> <url>http://people.apache.org/maven-snapshot-repository/</url>
>>>>> <releases>
>>>>> <updatePolicy>daily</updatePolicy>
>>>>> </releases>
>>>>> <snapshots>
>>>>> <updatePolicy>daily</updatePolicy>
>>>>> </snapshots>
>>>>> </pluginRepository>
>>>>> </pluginRepositories>
>>>>> <build>
>>>>> <plugins>
>>>>> <plugin>
>>>>> <groupId>org.codehaus.modello</groupId>
>>>>> <artifactId>modello-maven-plugin</artifactId>
>>>>> <version>1.0-alpha-6</version>
>>>>> <executions>
>>>>> <execution>
>>>>> <goals>
>>>>> <goal>java</goal>
>>>>> <goal>xpp3-reader</goal>
>>>>> <goal>xsd</goal>
>>>>> </goals>
>>>>> </execution>
>>>>> </executions>
>>>>> <configuration>
>>>>> <version>1.0.0</version>
>>>>> <model>src/main/mdo/synergy-settings.mdo</model>
>>>>> </configuration>
>>>>> </plugin>
>>>>> <plugin>
>>>>> <groupId>org.apache.maven.plugins</groupId>
>>>>> <artifactId>maven-scm-plugin</artifactId>
>>>>> <dependencies>
>>>>> <dependency>
>>>>> <groupId>org.apache.maven.scm</groupId>
>>>>> <artifactId>
>>>>> maven-scm-provider-synergy
>>>>> </artifactId>
>>>>> <version>1.0-SNAPSHOT</version>
>>>>> </dependency>
>>>>> </dependencies>
>>>>> </plugin>
>>>>> </plugins>
>>>>> </build>
>>>>> </project>
>>>>>
>>>>> Thanks
>>>>
>>>
>>
> 


Mime
View raw message