Continuum

Continuum can not correctly locate modules for multiple module maven 2 projects.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0.3
  • Fix Version/s: 1.1-alpha-1
  • Component/s: Core system
  • Labels:
    None
  • Environment:
    Windows 2000, CVS running on windows
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

We have a Maven 2 project with mutiple modules we call this the reactor project with the reactor POM. We have the below directory structure for development

brokerApp

POM.xml (reactor pom)
-webapp1
  -POM.xml
-coreAPI
  -POM.xml
-appEAR
  -POM.xml

groupId = com.xxxx.conceptlabs.brokerApp

In the reactor POM we have the following modules
<modules>
<module>webapp1</module>
<module>coreAPI</module>
<module>appEAR</module>
</modules>

When we build and deploy from the Maven 2 reactor POM, we get the following directory structure in our Maven 2 repository.

http://conceptlabs1.intranet.xxxx.co.uk:8080/m2-repo/snapshots/com/xxxx/conceptlabs/brokerApp/
Under this root we have the following

-brokerApp
  -1.0-SNAPSHOT
  -brokerApp-1.0-20060523.162030-1.pom
-webapp1
  -1.0-SNAPSHOT
  -webapp1-1.0-20060523.162030-1.pom
-coreAPI
  -1.0-SNAPSHOT
  -coreAPI-1.0-20060523.162030-1.pom
-appEAR
  -1.0-SNAPSHOT
  -appEAR-1.0-20060523.162030-1.pom

Continuum can not correctly locate modules for multiple module maven 2 projects.

This is the proper location as produced by doing a Maven 2 mvn deploy

http://conceptlabs1.intranet.xxxx.co.uk:8080/m2-repo/snapshots/com/xxxx/conceptlabs/brokerApp/webapp1/1.0-SNAPSHOT/webapp1-1.0-20060523.162030-1.pom

but Continuum for some reason looks here?

http://conceptlabs1.intranet.xxxx.co.uk:8080/m2-repo/snapshots/com/xxxx/conceptlabs/brokerApp/brokerApp/1.0-SNAPSHOT/brokerApp-1.0-20060523.1620/webapp1/pom.xml:

Issue Links

Activity

Hide
Carlos Sanchez added a comment -

Please post the logs of continuum

Show
Carlos Sanchez added a comment - Please post the logs of continuum
Hide
Derek MacKie added a comment -

I am having the same problem in a windows xp sp2, cvsnt, cvs, environment. My project structure is identical to the one described in this issue.

Show
Derek MacKie added a comment - I am having the same problem in a windows xp sp2, cvsnt, cvs, environment. My project structure is identical to the one described in this issue.
Hide
Emmanuel Venisse added a comment -

actually, it isn't possible to use a pom with modules from a repository, only single pom in repo is supported.

If you want to add a multi-module pom in continuum, you should use an http interface of your scm like viewcvs or http svn browser. You can use too the file protocol and take your pom from your local drive.

Show
Emmanuel Venisse added a comment - actually, it isn't possible to use a pom with modules from a repository, only single pom in repo is supported. If you want to add a multi-module pom in continuum, you should use an http interface of your scm like viewcvs or http svn browser. You can use too the file protocol and take your pom from your local drive.
Hide
Jesse McConnell added a comment -

by design, emm offered a solution though

Show
Jesse McConnell added a comment - by design, emm offered a solution though

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: