You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Minto van der Sluis <mi...@multimach.com> on 2007/01/31 09:48:56 UTC
Setting up new project fails
Hi folks,
Setting up Continuum was pretty easy and all seems to work well until I
tried to add our first project to it. This project is just a parent pom so
nothing fancy, well almost nothing.
For SCM we are running CVS without anonymous access. To get this working in
the pom I included properties (is a profile activated by default) for
username and password in my settings.xml and use these in the pom. This
configuration looks something like this:
settings.xml:
... snip ...
<profile>
<id>scm-credentials</id>
<properties>
<scm-username>${env.USERNAME}</scm-username>
<scm-password>adam20064</scm-password>
</properties>
</profile>
... snap ...
pom.xml
... snip ...
<scm>
<connection>scm:cvs:pserver:${scm-username}:@myserver:/cvs/myrepo:adam/base</connection>
<developerConnection>scm:cvs:pserver:${scm-username}:@myserver:/cvs/myrepo:adam/base</developerConnection>
</scm>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.0-beta-3</version>
<configuration>
<goals>install</goals>
<username>${scm-username}</username>
<password>${scm-password}</password>
</configuration>
</plugin>
... snap ...
To check if this actually works I tried 'mvn scm.bootstrap' in a fresh
directory with just a pom and it works as expected. To make sure it will
work on Continuum I added the proper settings.xml to the buildserver.
Unfortunately this did not work. I checked JIRA and beleef issue
http://jira.codehaus.org/browse/CONTINUUM-1049 CONTINUUM-1049 is what I am
experiencing. :-(
So I tried a different approach. Instead of uploading a pom I entered a url
to it. I used the scm:cvs notation for this, but whatever I try Continuum
has never been able to retrieve my pom.
Seems like I am running out of options. Does anyone know how I can get my
projects into Continuum?
Kind regards,
Minto van der Sluis
--
View this message in context: http://www.nabble.com/Setting-up-new-project-fails-tf3147474.html#a8725270
Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Setting up new project fails
Posted by Emmanuel Venisse <em...@venisse.net>.
If you use a snapshot and it doesn't work, I don't think it's fixed because we didn't work on this part since r490629
Emmanuel
Minto van der Sluis a écrit :
> Hi Emmanuel,
>
> Actually I was not using Continuum 1.0.3 but a version build from trunk to
> be exact I used r490629.
>
> Are you sure it is fixed? Issue
> http://jira.codehaus.org/browse/CONTINUUM-1049 CONTINUUM-1049 is still
> open. Can you please point me to the changeset that is supposed to fixed
> this issue.
>
> regards,
>
> Minto
>
>
>
> Emmanuel Venisse wrote:
>> Can you try continuum 1.1 snapshot? I think it's fixed.
>>
>> Emmanuel
>>
>> Minto van der Sluis a écrit :
>>> Thanks Hilco,
>>>
>>> Maybe I should better read what I write. Luckily the password was for a
>>> test
>>> account. And a password without an account isn't of much use.
>>>
>>> A pity to hear Continuum can not cope with my situation. Now I have 2
>>> options. Have a look at CruiseControl or set up anonymous. Let's start
>>> with
>>> the second options ;-)
>>>
>>> regards,
>>>
>>> Minto van der Sluis
>>>
>>>
>>> Hilco Wijbenga-2 wrote:
>>>> On 1/31/07, Minto van der Sluis <mi...@multimach.com> wrote:
>>>>> <scm-password>adam20064</scm-password>
>>>> *I* promise not to tell anyone ... but you might want to change your
>>>> password anyway. ;-)
>>>>
>>>>> Seems like I am running out of options. Does anyone know how I can get
>>>>> my
>>>>> projects into Continuum?
>>>> IIRC, you can upload POMs directly (from the local file system). That
>>>> would obviously mean manual labour whenever you make changes to the
>>>> POM...
>>>>
>>>> I think the URL to your POM has to be an actual URL
>>>> (http://your.server.com/svn/pom.xml, e.g.) so something like scm:cvs
>>>> will not work. Setting up ViewCVS might help but you'd need anonymous
>>>> access, presumably.
>>>>
>>>> I guess Maven and Continuum are not entirely in sync when it comes to
>>>> SCM.
>>>>
>>>> Cheers,
>>>> Hilco
>>>>
>>>>
>>
>>
>
Re: Setting up new project fails
Posted by Minto van der Sluis <mi...@multimach.com>.
Hi Emmanuel,
Actually I was not using Continuum 1.0.3 but a version build from trunk to
be exact I used r490629.
Are you sure it is fixed? Issue
http://jira.codehaus.org/browse/CONTINUUM-1049 CONTINUUM-1049 is still
open. Can you please point me to the changeset that is supposed to fixed
this issue.
regards,
Minto
Emmanuel Venisse wrote:
>
> Can you try continuum 1.1 snapshot? I think it's fixed.
>
> Emmanuel
>
> Minto van der Sluis a écrit :
>> Thanks Hilco,
>>
>> Maybe I should better read what I write. Luckily the password was for a
>> test
>> account. And a password without an account isn't of much use.
>>
>> A pity to hear Continuum can not cope with my situation. Now I have 2
>> options. Have a look at CruiseControl or set up anonymous. Let's start
>> with
>> the second options ;-)
>>
>> regards,
>>
>> Minto van der Sluis
>>
>>
>> Hilco Wijbenga-2 wrote:
>>> On 1/31/07, Minto van der Sluis <mi...@multimach.com> wrote:
>>>> <scm-password>adam20064</scm-password>
>>> *I* promise not to tell anyone ... but you might want to change your
>>> password anyway. ;-)
>>>
>>>> Seems like I am running out of options. Does anyone know how I can get
>>>> my
>>>> projects into Continuum?
>>> IIRC, you can upload POMs directly (from the local file system). That
>>> would obviously mean manual labour whenever you make changes to the
>>> POM...
>>>
>>> I think the URL to your POM has to be an actual URL
>>> (http://your.server.com/svn/pom.xml, e.g.) so something like scm:cvs
>>> will not work. Setting up ViewCVS might help but you'd need anonymous
>>> access, presumably.
>>>
>>> I guess Maven and Continuum are not entirely in sync when it comes to
>>> SCM.
>>>
>>> Cheers,
>>> Hilco
>>>
>>>
>>
>
>
>
--
View this message in context: http://www.nabble.com/Setting-up-new-project-fails-tf3147474.html#a8763337
Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Setting up new project fails
Posted by Emmanuel Venisse <em...@venisse.net>.
Can you try continuum 1.1 snapshot? I think it's fixed.
Emmanuel
Minto van der Sluis a écrit :
> Thanks Hilco,
>
> Maybe I should better read what I write. Luckily the password was for a test
> account. And a password without an account isn't of much use.
>
> A pity to hear Continuum can not cope with my situation. Now I have 2
> options. Have a look at CruiseControl or set up anonymous. Let's start with
> the second options ;-)
>
> regards,
>
> Minto van der Sluis
>
>
> Hilco Wijbenga-2 wrote:
>> On 1/31/07, Minto van der Sluis <mi...@multimach.com> wrote:
>>> <scm-password>adam20064</scm-password>
>> *I* promise not to tell anyone ... but you might want to change your
>> password anyway. ;-)
>>
>>> Seems like I am running out of options. Does anyone know how I can get my
>>> projects into Continuum?
>> IIRC, you can upload POMs directly (from the local file system). That
>> would obviously mean manual labour whenever you make changes to the
>> POM...
>>
>> I think the URL to your POM has to be an actual URL
>> (http://your.server.com/svn/pom.xml, e.g.) so something like scm:cvs
>> will not work. Setting up ViewCVS might help but you'd need anonymous
>> access, presumably.
>>
>> I guess Maven and Continuum are not entirely in sync when it comes to SCM.
>>
>> Cheers,
>> Hilco
>>
>>
>
Re: Setting up new project fails
Posted by Minto van der Sluis <mi...@multimach.com>.
Thanks Hilco,
Maybe I should better read what I write. Luckily the password was for a test
account. And a password without an account isn't of much use.
A pity to hear Continuum can not cope with my situation. Now I have 2
options. Have a look at CruiseControl or set up anonymous. Let's start with
the second options ;-)
regards,
Minto van der Sluis
Hilco Wijbenga-2 wrote:
>
> On 1/31/07, Minto van der Sluis <mi...@multimach.com> wrote:
>> <scm-password>adam20064</scm-password>
>
> *I* promise not to tell anyone ... but you might want to change your
> password anyway. ;-)
>
>> Seems like I am running out of options. Does anyone know how I can get my
>> projects into Continuum?
>
> IIRC, you can upload POMs directly (from the local file system). That
> would obviously mean manual labour whenever you make changes to the
> POM...
>
> I think the URL to your POM has to be an actual URL
> (http://your.server.com/svn/pom.xml, e.g.) so something like scm:cvs
> will not work. Setting up ViewCVS might help but you'd need anonymous
> access, presumably.
>
> I guess Maven and Continuum are not entirely in sync when it comes to SCM.
>
> Cheers,
> Hilco
>
>
--
View this message in context: http://www.nabble.com/Setting-up-new-project-fails-tf3147474.html#a8749888
Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Setting up new project fails
Posted by Hilco Wijbenga <hi...@gmail.com>.
On 1/31/07, Minto van der Sluis <mi...@multimach.com> wrote:
> <scm-password>adam20064</scm-password>
*I* promise not to tell anyone ... but you might want to change your
password anyway. ;-)
> Seems like I am running out of options. Does anyone know how I can get my
> projects into Continuum?
IIRC, you can upload POMs directly (from the local file system). That
would obviously mean manual labour whenever you make changes to the
POM...
I think the URL to your POM has to be an actual URL
(http://your.server.com/svn/pom.xml, e.g.) so something like scm:cvs
will not work. Setting up ViewCVS might help but you'd need anonymous
access, presumably.
I guess Maven and Continuum are not entirely in sync when it comes to SCM.
Cheers,
Hilco