The following change should fix the problem: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?view=diff&r1=1477260&r2=1477261&pathrev=1477261
Andreas On Mon, Apr 29, 2013 at 11:31 AM, tishan pubudu kanishka dahanayakage <[email protected]> wrote: > Andreas, > I tried with Maven 3.0.3. Now it gives following error. > Error transferring file: java.security.cert.CertificateException: No subject > alternative DNS name matching server.oosnmp.net found. > I think there is a problem with this host. Any suggested workarounds? Isnt > there any other host to get the particular dependency? > > > On Mon, Apr 29, 2013 at 1:41 PM, Andreas Veithen <[email protected]> > wrote: >> >> The fundamental problem is that unlike other projects, the Synapse >> project has no policy to only allow dependencies on artifacts that are >> available from Maven central. That means that Synapse has dependencies >> hosted in third party repositories over which the project has no >> control. If some of these repositories are not managed properly, then >> this has an impact on the build, but the project can't do much about >> it. >> >> That being said, IIRC in Maven 3.0.4 the certificate validation policy >> was changed and Mavan now validates the hostname. Probably you will be >> able to build Synapse if you downgrade to Maven 3.0.3. >> >> Andreas >> >> On Mon, Apr 29, 2013 at 9:43 AM, tishan pubudu kanishka dahanayakage >> <[email protected]> wrote: >> > Devs, >> > I am building Apache Synapse from a fresh repo. I encountered the >> > following >> > error when building. >> > >> > Failed to execute goal on project synapse-fix-transport: Could not >> > resolve >> > dependencies for project >> > org.apache.synapse:synapse-fix-transport:bundle:2.2.0-SNAPSHOT: Failed >> > to >> > collect dependencies for [quickfixj:quickfixj-all:jar:1.4.0 (compile), >> > xmlunit:xmlunit:jar:1.3 (test), >> > org.apache.synapse:synapse-commons:jar:2.2.0-SNAPSHOT (compile), >> > org.apache.axis2:axis2-transport-base:jar:1.7.0-SNAPSHOT (compile), >> > org.apache.axis2:axis2-transport-testkit:jar:1.7.0-SNAPSHOT (test)]: >> > Failed >> > to read artifact descriptor for quickfixj:quickfixj-all:jar:1.4.0: Could >> > not >> > transfer artifact quickfixj:quickfixj-all:pom:1.4.0 from/to snmp4j-repo >> > (https://server.oosnmp.net/dist/release/): hostname in certificate >> > didn't >> > match: <server.oosnmp.net> != <oosnmp.net> OR <oosnmp.net> - >> > >> > Also when I try to access https://server.oosnmp.net/dist/release/ via >> > browser it says there might be a misconfiguration in the server."You >> > attempted to reach server.oosnmp.net, but instead you actually reached a >> > server identifying itself asoosnmp.net. This may be caused by a >> > misconfiguration on the server or by something more serious." >> > >> > Any idea on this? Is this a misconfiguration in Nexus? >> > >> > -- >> > Regards, >> > Tishan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Regards, > Tishan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
