maven build ignores "-U" argument

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

maven build ignores "-U" argument

Dan Tran

my hudson 1.236 maven build ignores -U param

is it a bug?

Thanks

-D
Reply | Threaded
Open this post in threaded view
|

Re: maven build ignores "-U" argument

Kohsuke Kawaguchi
Administrator
Dan Tran wrote:
>
> my hudson 1.236 maven build ignores -U param
>
> is it a bug?

Hudson doesn't attempt to understand options that you are passing to
Maven, let alone remove it.

So my question is, why did you observe to make you think that the -U
parameter is not working?

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

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

Re: maven build ignores "-U" argument

Dan Tran

I wanted to use -U to pickup a latest snapshot on my remote repo, and maven builld with hudson
does not seem to trigger the latest snapshot to be downloaded.  I ended up login into my hudson host's shell and invoked maven with -U directly at the workspace.

-D


kohsuke wrote
Dan Tran wrote:
>
> my hudson 1.236 maven build ignores -U param
>
> is it a bug?

Hudson doesn't attempt to understand options that you are passing to
Maven, let alone remove it.

So my question is, why did you observe to make you think that the -U
parameter is not working?

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

 
Reply | Threaded
Open this post in threaded view
|

Re: maven build ignores "-U" argument

Kohsuke Kawaguchi
Administrator
Dan Tran wrote:
>
> I wanted to use -U to pickup a latest snapshot on my remote repo, and maven
> builld with hudson
> does not seem to trigger the latest snapshot to be downloaded.  I ended up
> login into my hudson host's shell and invoked maven with -U directly at the
> workspace.

Perhaps the console output would be helpful, if that's something you can
share with us.

>
> -D
>
>
>
> kohsuke wrote:
>>
>> Dan Tran wrote:
>>>
>>> my hudson 1.236 maven build ignores -U param
>>>
>>> is it a bug?
>>
>> Hudson doesn't attempt to understand options that you are passing to
>> Maven, let alone remove it.
>>
>> So my question is, why did you observe to make you think that the -U
>> parameter is not working?
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>
>>  
>>
>

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

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

Re: maven build ignores "-U" argument

Dan Tran
I am not able to reproduce it at a smaller scale.  sorry about that.

will see if I can get my build to get this behavior again.

-D

kohsuke wrote
Dan Tran wrote:
>
> I wanted to use -U to pickup a latest snapshot on my remote repo, and maven
> builld with hudson
> does not seem to trigger the latest snapshot to be downloaded.  I ended up
> login into my hudson host's shell and invoked maven with -U directly at the
> workspace.

Perhaps the console output would be helpful, if that's something you can
share with us.

>
> -D
>
>
>
> kohsuke wrote:
>>
>> Dan Tran wrote:
>>>
>>> my hudson 1.236 maven build ignores -U param
>>>
>>> is it a bug?
>>
>> Hudson doesn't attempt to understand options that you are passing to
>> Maven, let alone remove it.
>>
>> So my question is, why did you observe to make you think that the -U
>> parameter is not working?
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>
>>  
>>
>


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