How to build Geronimo offline.

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

How to build Geronimo offline.

Kishor-3
Hi all,
I'm new to Geronimo,
I want to build Geronimo offline, Don't want Maven to download jars at build time,
Can any one tell me where I will get the docs ?
 
 
regards
Kishor  
 

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [hidden email] and delete this mail.
_____________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: How to build Geronimo offline.

Jeremy Boynes
kishor wrote:
> Hi all,
> I'm new to Geronimo,
> I want to build Geronimo offline, Don't want Maven to download jars at build
> time,
> Can any one tell me where I will get the docs ?
>

First time through it is much easier to build online to get all the
dependencies. After that:

$ maven -o


If bandwidth is a big problem, you can download a lot of the
dependencies in one go by just trying to build the assembly module:

$ cd modules/assembly
$ maven build:start

and then go back to the root and build offline. A few modules not used
by assembly will not have been downloaded resulting in failures in those
modules. You can build those using

$ maven -Dmodules=${failed_module}

Painful, but a possible workaround to avoid all the snapshot checks.
--
Jeremy
Reply | Threaded
Open this post in threaded view
|

RE: How to build Geronimo offline.

Kishor-3
The other problem is that I got Proxy sever to connect to internet
I think some where in maven.xml I must provide the proxy setting to
download jars.

Regards
Kishor

-----Original Message-----
From: Jeremy Boynes [mailto:[hidden email]]
Sent: Wednesday, June 01, 2005 10:22 AM
To: [hidden email]
Subject: Re: How to build Geronimo offline.


kishor wrote:
> Hi all,
> I'm new to Geronimo,
> I want to build Geronimo offline, Don't want Maven to download jars at
build
> time,
> Can any one tell me where I will get the docs ?
>

First time through it is much easier to build online to get all the
dependencies. After that:

$ maven -o


If bandwidth is a big problem, you can download a lot of the
dependencies in one go by just trying to build the assembly module:

$ cd modules/assembly
$ maven build:start

and then go back to the root and build offline. A few modules not used
by assembly will not have been downloaded resulting in failures in those
modules. You can build those using

$ maven -Dmodules=${failed_module}

Painful, but a possible workaround to avoid all the snapshot checks.
--
Jeremy


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [hidden email] and delete this mail.
_____________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: How to build Geronimo offline.

GDamour2
Hi Kishor,

You need to add these two lines in the project.properties file located
under the root of the geronimo source code:
maven.proxy.host=<hostname>
maven.proxy.port=<port>

Thanks,
Gianny

On 1/06/2005 10:28 PM, kishor wrote:

>The other problem is that I got Proxy sever to connect to internet
>I think some where in maven.xml I must provide the proxy setting to
>download jars.
>
>Regards
>Kishor
>
>-----Original Message-----
>From: Jeremy Boynes [mailto:[hidden email]]
>Sent: Wednesday, June 01, 2005 10:22 AM
>To: [hidden email]
>Subject: Re: How to build Geronimo offline.
>
>
>kishor wrote:
>  
>
>>Hi all,
>>I'm new to Geronimo,
>>I want to build Geronimo offline, Don't want Maven to download jars at
>>    
>>
>build
>  
>
>>time,
>>Can any one tell me where I will get the docs ?
>>
>>    
>>
>
>First time through it is much easier to build online to get all the
>dependencies. After that:
>
>$ maven -o
>
>
>If bandwidth is a big problem, you can download a lot of the
>dependencies in one go by just trying to build the assembly module:
>
>$ cd modules/assembly
>$ maven build:start
>
>and then go back to the root and build offline. A few modules not used
>by assembly will not have been downloaded resulting in failures in those
>modules. You can build those using
>
>$ maven -Dmodules=${failed_module}
>
>Painful, but a possible workaround to avoid all the snapshot checks.
>--
>Jeremy
>
>
>http://www.patni.com
>World-Wide Partnerships. World-Class Solutions.
>_____________________________________________________________________
>
>This e-mail message may contain proprietary, confidential or legally
>privileged information for the sole use of the person or entity to
>whom this message was originally addressed. Any review, e-transmission
>dissemination or other use of or taking of any action in reliance upon
>this information by persons or entities other than the intended
>recipient is prohibited. If you have received this e-mail in error
>kindly delete  this e-mail from your records. If it appears that this
>mail has been forwarded to you without proper authority, please notify
>us immediately at [hidden email] and delete this mail.
>_____________________________________________________________________
>  
>

Reply | Threaded
Open this post in threaded view
|

RE: How to build Geronimo offline.

Kishor-3
Hi,
I tried this some how it is not working
Can I download the jars separately and
put is at some local place from where
maven should refer it for build.

Thanks
Kishor

-----Original Message-----
From: Gianny Damour [mailto:[hidden email]]
Sent: Wednesday, June 01, 2005 6:51 PM
To: [hidden email]
Subject: Re: How to build Geronimo offline.


Hi Kishor,

You need to add these two lines in the project.properties file located
under the root of the geronimo source code:
maven.proxy.host=<hostname>
maven.proxy.port=<port>

Thanks,
Gianny

On 1/06/2005 10:28 PM, kishor wrote:

>The other problem is that I got Proxy sever to connect to internet
>I think some where in maven.xml I must provide the proxy setting to
>download jars.
>
>Regards
>Kishor
>
>-----Original Message-----
>From: Jeremy Boynes [mailto:[hidden email]]
>Sent: Wednesday, June 01, 2005 10:22 AM
>To: [hidden email]
>Subject: Re: How to build Geronimo offline.
>
>
>kishor wrote:
>  
>
>>Hi all,
>>I'm new to Geronimo,
>>I want to build Geronimo offline, Don't want Maven to download jars at
>>    
>>
>build
>  
>
>>time,
>>Can any one tell me where I will get the docs ?
>>
>>    
>>
>
>First time through it is much easier to build online to get all the
>dependencies. After that:
>
>$ maven -o
>
>
>If bandwidth is a big problem, you can download a lot of the
>dependencies in one go by just trying to build the assembly module:
>
>$ cd modules/assembly
>$ maven build:start
>
>and then go back to the root and build offline. A few modules not used
>by assembly will not have been downloaded resulting in failures in those
>modules. You can build those using
>
>$ maven -Dmodules=${failed_module}
>
>Painful, but a possible workaround to avoid all the snapshot checks.
>--
>Jeremy
>
>
>http://www.patni.com
>World-Wide Partnerships. World-Class Solutions.
>_____________________________________________________________________
>
>This e-mail message may contain proprietary, confidential or legally
>privileged information for the sole use of the person or entity to
>whom this message was originally addressed. Any review, e-transmission
>dissemination or other use of or taking of any action in reliance upon
>this information by persons or entities other than the intended
>recipient is prohibited. If you have received this e-mail in error
>kindly delete  this e-mail from your records. If it appears that this
>mail has been forwarded to you without proper authority, please notify
>us immediately at [hidden email] and delete this mail.
>_____________________________________________________________________
>  
>
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [hidden email] and delete this mail.
_____________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: How to build Geronimo offline.

Dain Sundstrom
Kishor,

Unfortunately, there is no way to do that right now.  We are planing  
on upgrading to Maven 2 soon and it will be able to download all  
dependencies in one go.

-dain

On Jun 9, 2005, at 1:37 AM, kishor wrote:

> Hi,
> I tried this some how it is not working
> Can I download the jars separately and
> put is at some local place from where
> maven should refer it for build.
>
> Thanks
> Kishor
>
> -----Original Message-----
> From: Gianny Damour [mailto:[hidden email]]
> Sent: Wednesday, June 01, 2005 6:51 PM
> To: [hidden email]
> Subject: Re: How to build Geronimo offline.
>
>
> Hi Kishor,
>
> You need to add these two lines in the project.properties file located
> under the root of the geronimo source code:
> maven.proxy.host=<hostname>
> maven.proxy.port=<port>
>
> Thanks,
> Gianny
>
> On 1/06/2005 10:28 PM, kishor wrote:
>
>
>> The other problem is that I got Proxy sever to connect to internet
>> I think some where in maven.xml I must provide the proxy setting to
>> download jars.
>>
>> Regards
>> Kishor
>>
>> -----Original Message-----
>> From: Jeremy Boynes [mailto:[hidden email]]
>> Sent: Wednesday, June 01, 2005 10:22 AM
>> To: [hidden email]
>> Subject: Re: How to build Geronimo offline.
>>
>>
>> kishor wrote:
>>
>>
>>
>>> Hi all,
>>> I'm new to Geronimo,
>>> I want to build Geronimo offline, Don't want Maven to download  
>>> jars at
>>>
>>>
>>>
>> build
>>
>>
>>
>>> time,
>>> Can any one tell me where I will get the docs ?
>>>
>>>
>>>
>>>
>>
>> First time through it is much easier to build online to get all the
>> dependencies. After that:
>>
>> $ maven -o
>>
>>
>> If bandwidth is a big problem, you can download a lot of the
>> dependencies in one go by just trying to build the assembly module:
>>
>> $ cd modules/assembly
>> $ maven build:start
>>
>> and then go back to the root and build offline. A few modules not  
>> used
>> by assembly will not have been downloaded resulting in failures in  
>> those
>> modules. You can build those using
>>
>> $ maven -Dmodules=${failed_module}
>>
>> Painful, but a possible workaround to avoid all the snapshot checks.
>> --
>> Jeremy
>>
>>
>> http://www.patni.com
>> World-Wide Partnerships. World-Class Solutions.
>> _____________________________________________________________________
>>
>> This e-mail message may contain proprietary, confidential or legally
>> privileged information for the sole use of the person or entity to
>> whom this message was originally addressed. Any review, e-
>> transmission
>> dissemination or other use of or taking of any action in reliance  
>> upon
>> this information by persons or entities other than the intended
>> recipient is prohibited. If you have received this e-mail in error
>> kindly delete  this e-mail from your records. If it appears that this
>> mail has been forwarded to you without proper authority, please  
>> notify
>> us immediately at [hidden email] and delete this mail.
>> _____________________________________________________________________
>>
>>
>>
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at [hidden email] and delete this mail.
> _____________________________________________________________________
>

Reply | Threaded
Open this post in threaded view
|

Re: How to build Geronimo offline.

Jacek Laskowski-5
Dain Sundstrom wrote:
> Kishor,
>
> Unfortunately, there is no way to do that right now.  We are planing  on
> upgrading to Maven 2 soon and it will be able to download all  
> dependencies in one go.

Dain, can't the dependencies be downloaded manually to the maven local
repository to make our build process happy to run offline? I'd bet it
should work fine. Am I missing anything?

> -dain

Jacek