Re: Perforce plugin problem in plugins/pom.xml

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

Kohsuke Kawaguchi
Administrator
Peter Hecht wrote:
> Hello,
>
> I can't 'mvn install' unless I remove the perforce project from the
> plugins/pom.xml.  Sorry for not fixing it, but my Virtual Box VDisk is
> full.  It is suppose to expand, but failed.  Anyway, wanted to let you
> know.  If this isn't a proper channel, I apologize.  I'm going away for
> the weekend.  Take care. Thanks!

Let's have this sort of discussions in the dev list, so that others can
chime in.

Can you send me what errors you get from your build?

Hudson on Hudson is building fine, and I can build it too, so at least
it works on some environments. So I need to learn how it breaks for you.

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

James Synge
There was about a day this week when the wrong pom.xml was in place.
I think it is correct now.  Please update your copy, and try again.

On Thu, Jun 25, 2009 at 12:37 PM, Kohsuke
Kawaguchi<[hidden email]> wrote:

> Peter Hecht wrote:
>> Hello,
>>
>> I can't 'mvn install' unless I remove the perforce project from the
>> plugins/pom.xml.  Sorry for not fixing it, but my Virtual Box VDisk is
>> full.  It is suppose to expand, but failed.  Anyway, wanted to let you
>> know.  If this isn't a proper channel, I apologize.  I'm going away for
>> the weekend.  Take care. Thanks!
>
> Let's have this sort of discussions in the dev list, so that others can
> chime in.
>
> Can you send me what errors you get from your build?
>
> Hudson on Hudson is building fine, and I can build it too, so at least
> it works on some environments. So I need to learn how it breaks for you.
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

James Synge
OK, I was wrong apparently.  I just updated my hudson tree, and when I
try mvn install in the root hudson directory, the perforce plugin pom
is reported as broken.  I think issue is that the perforce plugin pom
didn't get updated on Tuesday when the other poms were updated to
reference 1.312.  I made that change locally, and it is building fine.
 I'll commit to svn after testing.

Kohsuke, any idea why this would have happened?

James

On Thu, Jun 25, 2009 at 8:39 PM, James Synge<[hidden email]> wrote:

> There was about a day this week when the wrong pom.xml was in place.
> I think it is correct now.  Please update your copy, and try again.
>
> On Thu, Jun 25, 2009 at 12:37 PM, Kohsuke
> Kawaguchi<[hidden email]> wrote:
>> Peter Hecht wrote:
>>> Hello,
>>>
>>> I can't 'mvn install' unless I remove the perforce project from the
>>> plugins/pom.xml.  Sorry for not fixing it, but my Virtual Box VDisk is
>>> full.  It is suppose to expand, but failed.  Anyway, wanted to let you
>>> know.  If this isn't a proper channel, I apologize.  I'm going away for
>>> the weekend.  Take care. Thanks!
>>
>> Let's have this sort of discussions in the dev list, so that others can
>> chime in.
>>
>> Can you send me what errors you get from your build?
>>
>> Hudson on Hudson is building fine, and I can build it too, so at least
>> it works on some environments. So I need to learn how it breaks for you.
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

James Synge
Fixing that allowed me to build the perforce plugin, but not hudson.
It turns out that there are 16 other plugin pom files that didn't get
updated to 1.312:

$ pwd
C:/sand/hudson/plugins
$ ls */pom.xml | wc -l
    194
$ fgrep 1.312 `ls */pom.xml` | wc -l
    178

James


On Fri, Jun 26, 2009 at 7:18 PM, James Synge<[hidden email]> wrote:

> OK, I was wrong apparently.  I just updated my hudson tree, and when I
> try mvn install in the root hudson directory, the perforce plugin pom
> is reported as broken.  I think issue is that the perforce plugin pom
> didn't get updated on Tuesday when the other poms were updated to
> reference 1.312.  I made that change locally, and it is building fine.
>  I'll commit to svn after testing.
>
> Kohsuke, any idea why this would have happened?
>
> James
>
> On Thu, Jun 25, 2009 at 8:39 PM, James Synge<[hidden email]> wrote:
>> There was about a day this week when the wrong pom.xml was in place.
>> I think it is correct now.  Please update your copy, and try again.
>>
>> On Thu, Jun 25, 2009 at 12:37 PM, Kohsuke
>> Kawaguchi<[hidden email]> wrote:
>>> Peter Hecht wrote:
>>>> Hello,
>>>>
>>>> I can't 'mvn install' unless I remove the perforce project from the
>>>> plugins/pom.xml.  Sorry for not fixing it, but my Virtual Box VDisk is
>>>> full.  It is suppose to expand, but failed.  Anyway, wanted to let you
>>>> know.  If this isn't a proper channel, I apologize.  I'm going away for
>>>> the weekend.  Take care. Thanks!
>>>
>>> Let's have this sort of discussions in the dev list, so that others can
>>> chime in.
>>>
>>> Can you send me what errors you get from your build?
>>>
>>> Hudson on Hudson is building fine, and I can build it too, so at least
>>> it works on some environments. So I need to learn how it breaks for you.
>>>
>>> --
>>> Kohsuke Kawaguchi
>>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

Kohsuke Kawaguchi
Administrator
In reply to this post by James Synge
James Synge wrote:
> OK, I was wrong apparently.  I just updated my hudson tree, and when I
> try mvn install in the root hudson directory, the perforce plugin pom
> is reported as broken.  I think issue is that the perforce plugin pom
> didn't get updated on Tuesday when the other poms were updated to
> reference 1.312.  I made that change locally, and it is building fine.
>  I'll commit to svn after testing.

Thanks.

> Kohsuke, any idea why this would have happened?

The logic that updates the reference to the parent POM is rather crude,
so it's somewhat easy for plugins to get out of sync with the parent
version.

The main difficulty is that I want to do search&replace in XML by using
a structural pattern matching, but without losing the whitespace and
comments and all the other things in XML.

>
> James
>
> On Thu, Jun 25, 2009 at 8:39 PM, James Synge<[hidden email]> wrote:
>> There was about a day this week when the wrong pom.xml was in place.
>> I think it is correct now. �Please update your copy, and try again.
>>
>> On Thu, Jun 25, 2009 at 12:37 PM, Kohsuke
>> Kawaguchi<[hidden email]> wrote:
>>> Peter Hecht wrote:
>>>> Hello,
>>>>
>>>> I can't 'mvn install' unless I remove the perforce project from the
>>>> plugins/pom.xml. �Sorry for not fixing it, but my Virtual Box VDisk is
>>>> full. �It is suppose to expand, but failed. �Anyway, wanted to let you
>>>> know. �If this isn't a proper channel, I apologize. �I'm going away for
>>>> the weekend. �Take care. Thanks!
>>>
>>> Let's have this sort of discussions in the dev list, so that others can
>>> chime in.
>>>
>>> Can you send me what errors you get from your build?
>>>
>>> Hudson on Hudson is building fine, and I can build it too, so at least
>>> it works on some environments. So I need to learn how it breaks for you.
>>>
>>> --
>>> Kohsuke Kawaguchi
>>> Sun Microsystems � � � � � � � � � http://weblogs.java.net/blog/kohsuke/
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

stephenconnolly
2009/6/27 Kohsuke Kawaguchi <[hidden email]>:

> James Synge wrote:
>> Kohsuke, any idea why this would have happened?
>
> The logic that updates the reference to the parent POM is rather crude,
> so it's somewhat easy for plugins to get out of sync with the parent
> version.
>
> The main difficulty is that I want to do search&replace in XML by using
> a structural pattern matching, but without losing the whitespace and
> comments and all the other things in XML.
>

mvn versions:update-child-modules -N -f hudson/plugins/pom.xml

should do exactly what you want

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin problem in plugins/pom.xml

Kohsuke Kawaguchi
Administrator
Stephen Connolly wrote:

> 2009/6/27 Kohsuke Kawaguchi <[hidden email]>:
>> James Synge wrote:
>>> Kohsuke, any idea why this would have happened?
>>
>> The logic that updates the reference to the parent POM is rather crude,
>> so it's somewhat easy for plugins to get out of sync with the parent
>> version.
>>
>> The main difficulty is that I want to do search&replace in XML by using
>> a structural pattern matching, but without losing the whitespace and
>> comments and all the other things in XML.
>>
>
> mvn versions:update-child-modules -N -f hudson/plugins/pom.xml
>
> should do exactly what you want
Ah, nice. I incorporated this into the script.

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/

smime.p7s (4K) Download Attachment