Hi,
I have copied my local repository to the unix environment then also i am
getting the same error . Are there any settings that we need to do in
pom.xml file.
Please reply and help me to fix this error .

Gert Vanthienen wrote:
> 
> L.S.,
> 
> Normally, if your SU needs JAR files, those are specified as 
> <dependency> on the SU's pom.xml file.  This way, the required JARs are 
> added to the SU zip file, to ensure that everything that is required by 
> the SU is neatly packaged.  The SU then go into the SA to hold an entire 
> 'application'.
> 
> Regards,
> 
> Gert
> 
> skg wrote:
>> But when we deploy the project then also it needs some jar files . Where
>> will
>> it access those jar files when server is not connected to internet.
>> Please reply.
>>
>> Gert Vanthienen wrote:
>>   
>>> L.S.,
>>>
>>> You should be able to just copy the SA to the unix machine and deploy it 
>>> there, without having to build it again.  That's what I usually do for a 
>>> production server that doesn't have a connection to the internet.
>>>
>>> If you really need to build everything there, you should be able to copy 
>>> the repository to .m2/repository.  In the long run however, I would 
>>> advise you to install a proxy mirror to hold the artifacts on your own 
>>> network (something like artifactory or archiva) -- you can also reuse 
>>> that to hold your own artifacts and share them with the rest of your
>>> team.
>>>
>>> Regards,
>>>
>>> Gert
>>>
>>> skg wrote:
>>>     
>>>> Hi,
>>>> I had developed a web service using maven and service mix and it worked
>>>> fine
>>>> for windows. Now i have to migrate to unix environment where i will not
>>>> be
>>>> having the internet access. I tried by coping the repository to local
>>>> folder
>>>> in unix but still it is throwing a fatal error:
>>>>
>>>> $ mvn install
>>>> [INFO] Scanning for projects...
>>>> Downloading:
>>>> http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.0.10-fuse/samples-3.3.0.10-fuse.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.10-fuse/samples-3.3.0.10-fuse.pom
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> GroupId: org.apache.servicemix
>>>> ArtifactId: samples
>>>> Version: 3.3.0.10-fuse
>>>>
>>>> Reason: Unable to download the artifact from any repository
>>>>
>>>>   org.apache.servicemix:samples:pom:3.3.0.10-fuse
>>>>
>>>> from the specified remote repositories:
>>>>   central (http://repo1.maven.org/maven2),
>>>>   open.iona.m2 (http://repo.open.iona.com/maven2),
>>>>   open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot)
>>>>
>>>> Is there any way to deploy and install the project without having
>>>> internet
>>>> access on  that machine. Please Reply ASAP.
>>>>   
>>>>       
>>>
>>> -----
>>> ---
>>> Gert Vanthienen
>>> http://www.anova.be
>>>
>>>     
>>
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: 
http://www.nabble.com/Deploying-a-web-service-in-unix-environment-tp19509567p19525671.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to