Re: Invalid scm url problem
Ronald Pieterse rpieterse at tripolis.com writes: 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: I've got the exact same problem, does anyone have a solution or at least a hint of what to do/where to look? THX
Re: Invalid scm url problem
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 modelVersion4.0.0/modelVersion groupIdcom.tripolis/groupId artifactIdr3/artifactId packagingpom/packaging versionx-SNAPSHOT/version nameparent/name scm connectionscm:svn://development/tripolis_dialog/trunk/connection developerConnectionscm:svn://development/tripolis_dialog/trunk/developerConnection urlhttp://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 artifactIdr3/artifactId groupIdcom.tripolis/groupId versionx-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
Re: Invalid scm url problem
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 Nameparent Scm Url scm:svn://development/tripolis_dialog/trunk/parent Version x-SNAPSHOT Group parent and for one of the submodule it is: Project Namepersistence 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 modelVersion4.0.0/modelVersion groupIdcom.tripolis/groupId artifactIdr3/artifactId packagingpom/packaging versionx-SNAPSHOT/version nameparent/name scm connectionscm:svn://development/tripolis_dialog/trunk/connection developerConnectionscm:svn://development/tripolis_dialog/trunk/developerConnection urlhttp://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 artifactIdr3/artifactId groupIdcom.tripolis/groupId versionx-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
Re: Invalid scm url problem
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 modelVersion4.0.0/modelVersion groupIdcom.tripolis/groupId artifactIdr3/artifactId packagingpom/packaging versionx-SNAPSHOT/version nameparent/name scm connectionscm:svn://development/tripolis_dialog/trunk/connection developerConnectionscm:svn://development/tripolis_dialog/trunk/developerConnection urlhttp://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 artifactIdr3/artifactId groupIdcom.tripolis/groupId versionx-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
Re: Invalid scm url problem
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 modelVersion4.0.0/modelVersion groupIdcom.tripolis/groupId artifactIdr3/artifactId packagingpom/packaging versionx-SNAPSHOT/version nameparent/name scm connectionscm:svn://development/tripolis_dialog/trunk/connection developerConnectionscm:svn://development/tripolis_dialog/trunk/developerConnection urlhttp://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 artifactIdr3/artifactId groupIdcom.tripolis/groupId versionx-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
Re: Invalid scm url problem
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 modelVersion4.0.0/modelVersion groupIdcom.tripolis/groupId artifactIdr3/artifactId packagingpom/packaging versionx-SNAPSHOT/version nameparent/name scm connectionscm:svn://development/tripolis_dialog/trunk/connection developerConnectionscm:svn://development/tripolis_dialog/trunk/developerConnection urlhttp://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 artifactIdr3/artifactId groupIdcom.tripolis/groupId versionx-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