continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-334) can't add a pom from the repository
Date Tue, 11 Oct 2005 08:12:12 GMT
    [ http://jira.codehaus.org/browse/CONTINUUM-334?page=comments#action_48306 ] 

Emmanuel Venisse commented on CONTINUUM-334:
--------------------------------------------

The stack trace is :

jvm 1    | 2005-10-11 10:01:26,296 [SocketListener0-0] INFO  ContinuumProjectBuilder:maven-two-builder
- Downloading htt
p://test.maven.codehaus.org/maven2/plexus/plexus-utils/1.0.3/plexus-utils-1.0.3.pom
jvm 1    | 2005-10-11 10:01:27,203 [SocketListener0-0] ERROR MavenBuilderHelper          
  - Cannot build maven project
 from C:\DOCUME~1\evenisse\LOCALS~1\Temp\continuum-452.tmp.
jvm 1    | org.apache.maven.project.ProjectBuildingException: Invalid project file: distribution
status must not be spec
ified for a project outside of the repository
jvm 1    |      at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.ja
va:286)
jvm 1    |      at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:266)
jvm 1    |      at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenB
uilderHelper.java:242)
jvm 1    |      at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwo
ContinuumProjectBuilder.java:100)
jvm 1    |      at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMet
adata(MavenTwoContinuumProjectBuilder.java:83)
jvm 1    |      at org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(CreateProjectsFromMetadata.
java:59)
jvm 1    |      at org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:1531)
jvm 1    |      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.j
ava:521)
jvm 1    |      at org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:455)
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    | 2005-10-11 10:01:27,203 [SocketListener0-0] INFO  Continuum                   
  - Created 0 projects.
jvm 1    | 2005-10-11 10:01:27,203 [SocketListener0-0] INFO  Continuum                   
  - Created 0 project groups.
jvm 1    | 2005-10-11 10:01:27,203 [SocketListener0-0] INFO  Continuum                   
  - 1 warnings.
jvm 1    | 2005-10-11 10:01:27,203 [SocketListener0-0] INFO  Continuum                   
  - Cannot build maven project
 from C:\DOCUME~1\evenisse\LOCALS~1\Temp\continuum-452.tmp.


We use DefaultMavenProjectBuilder.build() instead of DefaultMavenProjectBuilder.buildFromRepository
because we have only an url and we don't know that it is a file stored in a repository.


> can't add a pom from the repository
> -----------------------------------
>
>          Key: CONTINUUM-334
>          URL: http://jira.codehaus.org/browse/CONTINUUM-334
>      Project: Continuum
>         Type: Bug
>   Components: continuum-core
>     Reporter: Brett Porter
>     Priority: Minor
>      Fix For: 1.0-beta-2

>
>
> because it tries to build it like a source file, it fails because of the status in distribution
management when adding a pom directly from the repository.

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