Yes, I don't have direct connection to the internet. I have set up my proxy in /etc/maven2/settings.xml like this,
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>~/.m2/repository</localRepository> <proxies> <proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username><username></username> <password><pwd></password> <host><proxy host></host> <port><port to connect to the proxy</port> <nonProxyHosts>local.net|some.host.com</nonProxyHosts> </proxy> </proxies> </settings> With thanks and regards Bala -----Original Message----- From: Freeman Fang [mailto:[email protected]] Sent: 31 January 2013 11:36 To: [email protected] Subject: Re: New to apache serviceMix - problem with building examples Hi, You don't have direct internet connection, right? How you configure the proxy in maven settings.xml? ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-1-31, at 下午2:00, AMARNATH, Balachandar wrote: > > Hi, > I have installed apache serviceMix and could run the container, run few > examples (simple moving a file). Now, I tried to build camel examples that > come with the bundle, I am stuck. I get the following error when I run 'mvn > install' > > ~/apache-servicemix-4.4.2/examples/camel/camel-osgi$ mvn install > > "Reason: Cannot find parent: org.apache.servicemix:parent for project: > org.apache.servicemix.examples:examples:pom:4.4.2 for project > org.apache.servicemix.examples:examples:pom:4.4.2" > > As such I am new to maven as well. I tried to set up my proxy in maven's > settings xml file, still, could not fix this > > Any hint to fix this? > > > With thanks and regards > Balachandar > > > > > The information in this e-mail is confidential. The contents may not be > disclosed or used by anyone other than the addressee. Access to this e-mail > by anyone else is unauthorised. > If you are not the intended recipient, please notify Airbus immediately and > delete this e-mail. > Airbus cannot accept any responsibility for the accuracy or completeness of > this e-mail as it has been sent over public networks. If you have any > concerns over the content of this message or its Accuracy or Integrity, > please contact Airbus immediately. > All outgoing e-mails from Airbus are checked using regularly updated virus > scanning software but you should take whatever measures you deem to be > appropriate to ensure that this message and any attachments are virus free. > This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
