dev@glassfish.java.net

Re: Looping in mvn -U install

From: Harsha Godugu <Harsha.Godugu_at_Sun.COM>
Date: Fri, 08 Aug 2008 15:35:08 -0700

Nandini Ektare wrote:

> FWIW...
>
> I have faced this and variety of other issues with mvn -U install
> I never get a working build with a freshly checked out workspace, cd
> v3, and mvn -U install (including a mvn -U install in javaee-api)
>
> What seems to work consistently though is mvn -U install in individual
> subdirectories (yes, repeated attempts are required for dependencies)
> And then a mvn install (forget the -U) in the root /v3 dir. The flag
> -U in v3 dir always ends with one or the other issue either
> dowloading/releading jars
> and it fails at random places.

Would you please file a bug on this issue. Also, next time you hit
this, would you mind capturing output of mvn -X { the options you used
to encounter the looping } and attach it to the issue tracker report.

When a remote repo is down, (or in accessible from your machine) ,
maven will goto the next available repo to look for the needed artifacts.
This would be the primary cause. What I'm interested in is, how many
repositories it is hitting for this problem case, and what artifacts.
We are planning to adopt Nexus that would help this issue.

thanks..
-hg

>
> Kin-man Chung wrote:
>
>> When I did a "mvn -U install" I seemed to get into an infinite loop:
>>
>> INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> [INFO] Reloading plugin container for:
>> com.sun.enterprise:hk2-maven-plugin. The plugin artifact has changed.
>> ...
>>
>> Anyone else ran into the same problem?
>>
>> -Kin-man
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>