continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Bzdyl <pi...@bzdyl.net>
Subject Problem with maven 2 modules
Date Thu, 22 Dec 2005 15:19:22 GMT
Hello,

I have parent pom.xml with following lines:

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mydomain.projectX</groupId>
  <artifactId>projectX</artifactId>
  <packaging>pom</packaging>
  <version>1.0-SNAPSHOT</version>

  <scm>

    <connection>
      scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/
    </connection>
    <developerConnection>
      scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/
    </developerConnection>
  </scm>
[...]
  <modules>
    <module>projectA</module>
    <module>projectB</module>
  </modules>

and poms of the projectA and projectB (no scm information provided):

  <parent>
    <artifactId>projectX</artifactId>
    <groupId>com.mydomain.projectX</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <artifactId>projectA</artifactId>

I try to add Maven 2 projectX to the Continuum using URL:
http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAPSHOT.pom

but I get error message:

Could not download
http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAP/projectA/pom.xml:
Unable to validate URL

Could not download
http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAP/projectB/pom.xml:
Unable to validate URL

Why continuum generates so strange URLs to the modules? I checked that I have "/" at the end
of the parent project scm url
(scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/).

Does modules projects have to be in the group com.mydomain.projectX.projectX? (projectX group
is com.mydomain.projectX)

Best regards,
Piotrek


Mime
View raw message