You can define it once if you declare it in the parent pom. It will be 
inherited in modules.

Emmanuel

Ronald Pieterse a écrit :
Thank you, that did the trick. So I've learned I should read the documentation more carefully... :-) Now another question popped up about notifiers. Since I have multiple projects in Continuum now, for each submodule one seperate project, is there a way to only define the notifiers once or do I need to define them per project?

Thank you for the quick responses.

Emmanuel Venisse wrote:
oh, I see. Your scm url is wrong because it doesn't respect the format (http://maven.apache.org/scm/subversion.html)
it must be scm:svn:svn://...

Emmanuel

Ronald Pieterse a écrit :
I know, maybe I explained it wrong. On the 'Add Project' page I provide the url to my repo which is available through our intranet with http://development/repos/<projectname>/trunk/<parentmodule>/pom.xml

It creates the projects (submodules are on same physical level as parent for proper IDE working reasons) correctly but then it doesn't build correctly cause apparently the 'The scm url is invalid. '

The info for the parent continuum project is:
Project Name     parent
Scm Url     scm:svn://development/tripolis_dialog/trunk/parent
Version     x-SNAPSHOT
Group     parent


and for one of the submodule it is:

Project Name     persistence
Scm Url     scm:svn://development/tripolis_dialog/trunk/persistence
Version     x-SNAPSHOT
Group     parent


Doesn't this look the way it's supposed to be?
I don't get it.


Emmanuel Venisse wrote:
svn:// or scm:svn:// aren't standard protocols, so continuum doesn't accept them. In the "Add Project" page, you can use only http(s)/ftp/file protocols.
file protocol is allowed only if it's configured in application.xml

Emmanuel

Ronald Pieterse a écrit :
I'm trying to put a Maven 2 multi module project into Continuum but for some reason I can't seem to get the scm-url right (according to Continuum). My project is set up as follows: I have a parent module which holds no source code, only a pom.xml:

<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.tripolis</groupId>
    <artifactId>r3</artifactId>
    <packaging>pom</packaging>
    <version>x-SNAPSHOT</version>
    <name>parent</name>
    <scm>
<connection>scm:svn://development/tripolis_dialog/trunk</connection> <developerConnection>scm:svn://development/tripolis_dialog/trunk</developerConnection>
        <url>http://development/repos/tripolis_dialog/trunk</url>
    </scm>

    ... dependencies and plugins ...

    <modules>
        <module>../persistence</module>
        <module>../business</module>
        <module>../web</module>
    </modules>
</project>

The submodule poms have no scm specs but this is inherited from the parent (right?):

<parent>
    <artifactId>r3</artifactId>
    <groupId>com.tripolis</groupId>
    <version>x-SNAPSHOT</version>
</parent>


Now the first part works good (providing the M2 POM Url) and the projects are created (so continuum says) but then the building does not start due to the error:

Exception:
Cannot checkout sources.//development/tripolis_dialog/trunk url isn't a valid svn URL.
The scm url is invalid.

Any idea on where I go from here?
THNX.

p.s. of course I've tried all kinds of variants of the url like:

scm:svn://development/tripolis_dialog/trunk/parent
svn://development/tripolis_dialog/trunk/parent
scm:svn://development/tripolis_dialog
scm:svn:http//development/tripolis_dialog/trunk/parent















Reply via email to