Slave / Parsing POMs TCP connections

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

Slave / Parsing POMs TCP connections

Diego Ballve
Hello,

Does anybody know if "Parsing POMs" phase tries to connect anywhere,
like to download an XML Schema for maven, for instance?

I have my Hudson slave running in a very restricted environment when it
comes to firewall. In other words, TCP/UDP connections to outside world
are not allowed except for very few controlled firewall holes.

When building gets to "Parsing POMs", it takes long considering the
total time of the build, as if it would try to connect somewhere and
wait until it times out.

thanks,
Diego

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

Reply | Threaded
Open this post in threaded view
|

Re: Slave / Parsing POMs TCP connections

Tom Huybrechts
Only the first time, or every time ?

On Thu, Jul 2, 2009 at 5:51 PM, Diego
Ballve<[hidden email]> wrote:

> Hello,
>
> Does anybody know if "Parsing POMs" phase tries to connect anywhere,
> like to download an XML Schema for maven, for instance?
>
> I have my Hudson slave running in a very restricted environment when it
> comes to firewall. In other words, TCP/UDP connections to outside world
> are not allowed except for very few controlled firewall holes.
>
> When building gets to "Parsing POMs", it takes long considering the
> total time of the build, as if it would try to connect somewhere and
> wait until it times out.
>
> thanks,
> Diego
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

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

Reply | Threaded
Open this post in threaded view
|

Re: Slave / Parsing POMs TCP connections

Diego Ballve
Every time. I have not noticed any difference in consecutive runs.

Diego

Tom Huybrechts wrote:

> Only the first time, or every time ?
>
> On Thu, Jul 2, 2009 at 5:51 PM, Diego
> Ballve<[hidden email]> wrote:
>> Hello,
>>
>> Does anybody know if "Parsing POMs" phase tries to connect anywhere,
>> like to download an XML Schema for maven, for instance?
>>
>> I have my Hudson slave running in a very restricted environment when it
>> comes to firewall. In other words, TCP/UDP connections to outside world
>> are not allowed except for very few controlled firewall holes.
>>
>> When building gets to "Parsing POMs", it takes long considering the
>> total time of the build, as if it would try to connect somewhere and
>> wait until it times out.
>>
>> thanks,
>> Diego
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

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

Reply | Threaded
Open this post in threaded view
|

Re: Slave / Parsing POMs TCP connections

Jorg Heymans-4
In reply to this post by Diego Ballve
On Thu, Jul 2, 2009 at 5:51 PM, Diego
Ballve<[hidden email]> wrote:
> Hello,
>
> Does anybody know if "Parsing POMs" phase tries to connect anywhere,
> like to download an XML Schema for maven, for instance?

The "Parsing POMs" phase constructs an instance of the maven embedder.
This embedder component then resolves your project's POM structure in
a (fairly) standard maven way. If you have dependencies in your
project that cannot be found in the local maven repository, then the
embedder will try to resolve them from repo1.maven.org or any
configured mirrors in your settings.xml.

For tightly controlled network environments I really recommend setting
up a repository manager (e.g. Nexus), makes it easier to control the
maven network access from one central location.

HTH
Jorg

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