You can set the following in a build.properties file to set up proxy for Maven.
maven.proxy.host=<name of proxy> maven.proxy.port=<port info> Prasad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 10:07 AM To: [email protected] Subject: Re: Missing POM files in src distribution? I could be wrong but when I see: [WARNING] Unable to get resource from repository central Maven is trying to download the JAR files to build it. However it looks like your behind a firewall which goes through a proxy. So, Maven is blocked from downloading these JARS to make the build. If that's the case then you need to go to the Maven site and look up how to set the proxy for it so, it can use your works proxy and download the files. Regards Rick pirivan <[EMAIL PROTECTED]> 13/04/2006 16:51 Please respond to servicemix-users To: [email protected] cc: Subject: Re: Missing POM files in src distribution? Ok, Thanks for the note. I'd rather try the latest development tree than the 1.x series. I just checked out the svn trunk version and attempted to compile using Maven 2.0. I doesn't work (see below). Is this supposed t work? I mean, is the current trunk in the svn repo supposed to be clean to compile and run? Thanks, -- Pedro $ mvn compile [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ServiceMix [INFO] ServiceMix :: JBI [INFO] ServiceMix :: Core [INFO] ServiceMix :: Components [INFO] ServiceMix :: Common [INFO] ServiceMix :: SOAP [INFO] ServiceMix :: Console [INFO] ServiceMix :: GBeans [INFO] ServiceMix :: JMS [INFO] ServiceMix :: JSR-181 Service Engine [INFO] ServiceMix :: HTTP [INFO] ServiceMix :: WS-Notification Service Engine [INFO] ServiceMix :: Lightweight container Service Engine [INFO] ServiceMix :: SCA Service Engine [INFO] Servicemix :: Assembly [INFO] ------------------------------------------------------------------------ ---- [INFO] Building ServiceMix [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ ---- [INFO] No goals needed for project - skipping [INFO] ------------------------------------------------------------------------ ---- [INFO] Building ServiceMix :: JBI [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ ---- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] ------------------------------------------------------------------------ ---- [INFO] Building ServiceMix :: Core [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ ---- [WARNING] POM for 'incubator-activemq:activemq-ra:pom:4.0-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'incubator-activemq:activemq-core:pom:4.0-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. Downloading: http://repo1.maven.org/maven2/org/apache/db/ddlutils/ddlutils/1.0-200602 23/ddlutils-1.0-20060223.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/db/ddlutils/ddluti ls/1.0-20060223/ddlutils-1.0-20060223.pom [WARNING] Unable to get resource from repository maven2-snapshots (http://snapshots.maven.codehaus.org/maven2) Downloading: http://servicemix.org/m2-repo/org/apache/db/ddlutils/ddlutils/1.0-200602 23/ddlutils-1.0-20060223.pom [WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo) Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/db/ddlutils/d dlutils/1.0-20060223/ddlutils-1.0-20060223.pom [WARNING] Unable to get resource from repository apache-m2 (http://cvs.apache.org/maven-snapshot-repository) Downloading: http://cvs.apache.org/repository/org.apache.db.ddlutils/poms/ddlutils-1. 0-20060223.pom [WARNING] Unable to get resource from repository apache (http://cvs.apache.org/repository) Downloading: http://dist.codehaus.org/org.apache.db.ddlutils/poms/ddlutils-1.0-200602 23.pom [WARNING] Unable to get resource from repository codehaus (http://dist.codehaus.org) Downloading: http://repo.logicblaze.com/maven1/org.apache.db.ddlutils/poms/ddlutils-1 .0-20060223.pom [WARNING] Unable to get resource from repository logicblaze (http://repo.logicblaze.com/maven1) [INFO] [antrun:run {execution: default}] [INFO] Executing tasks log4j:WARN No appenders could be found for logger (org.apache.xbean.spring.generator.QdoxMappingLoader). log4j:WARN Please initialize the log4j system properly. [mapping] Generating META-INF properties file: /usr/local/src/servicemix/servicemix-core/target/generated/META-INF/serv ices/org/apache/xbean/spring/http/servicemix.apache.org/config/1.0 for namespace: http://servicemix.apache.org/config/1.0 [mapping] Generating HTML documentation file: /usr/local/src/servicemix/servicemix-core/target/servicemix.xsd.html for namespace: http://servicemix.apache.org/config/1.0 Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointResolver Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.messaging.PojoMarshalerWarning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointResolver Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.messaging.PojoMarshalerWarning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.framework.ComponentNameSpace Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.framework.ComponentNameSpace [mapping] Generating XSD file: /usr/local/src/servicemix/servicemix-core/target/servicemix.xsd for namespace: http://servicemix.apache.org/config/1.0 Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointResolver Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.messaging.PojoMarshalerWarning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointResolver Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.messaging.PojoMarshalerWarning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointResolver Warning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.messaging.PojoMarshalerWarning, could not load class: org.apache.servicemix.jbi.resolver.EndpointChooser Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.container.JBIContainer Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.framework.ComponentNameSpace Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.framework.ComponentNameSpace Warning, could not load class: org.apache.servicemix.jbi.resolver.SubscriptionFilter Warning, could not load class: org.apache.servicemix.jbi.framework.ComponentNameSpace [mapping] ...done. [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'incubator-activemq:activemq-ra:pom:4.0-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'incubator-activemq:activemq-core:pom:4.0-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] Compiling 284 source files to /usr/local/src/servicemix/servicemix-core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /usr/local/src/servicemix/servicemix-core/src/main/java/org/apache/servi cemix/jbi/nmr/flow/FlowProvider.java:[22,32] package org.apache.activeio.util does not exist /usr/local/src/servicemix/servicemix-core/src/main/java/org/apache/servi cemix/jbi/nmr/flow/FlowProvider.java:[35,19] cannot find symbol symbol : class FactoryFinder location: class org.apache.servicemix.jbi.nmr.flow.FlowProvider /usr/local/src/servicemix/servicemix-core/src/main/java/org/apache/servi cemix/jbi/nmr/flow/FlowProvider.java:[35,44] cannot find symbol symbol : class FactoryFinder location: class org.apache.servicemix.jbi.nmr.flow.FlowProvider [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25 seconds [INFO] Finished at: Thu Apr 13 11:44:26 EDT 2006 [INFO] Final Memory: 19M/81M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://www.nabble.com/Missing-POM-files-in-src-distribution--t1444951.ht ml#a3903181 Sent from the ServiceMix - User forum at Nabble.com. Direct Line Group Limited, registered in England with number 2811437, registered office 3 Edridge Road, Croydon, Surrey CR9 1AG. The following companies are members of the Direct Line Group: Direct Line Insurance plc, Direct Line Life Insurance Company Limited, Direct Line Unit Trusts Limited and Direct Line Financial Services Limited, all of which are authorised and regulated by the Financial Services Authority. All are members of The Royal Bank of Scotland Group. This email is intended for the addressee only and may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this email you should notify us immediately and delete it. You should not copy, print, distribute, disclose or use any part of it. We reserve the right to monitor and record all electronic communications through our networks. We cannot accept any liability for viruses transmitted via this email once it has left our network.
