Hi,

When building Appache-Synapse version- 2.1.0-SNAPSHOT, it gives following
error. What should I do to avoid the issue.


[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Missing:
----------
1) org.apache.httpcomponents:httpcore:jar:4.1-beta3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.httpcomponents
-DartifactId=httpcore -Dversion=4.1-beta3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.apache.httpcomponents
-DartifactId=httpcore -Dversion=4.1-beta3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.apache.synapse:synapse-nhttp-transport:bundle:2.1.0-SNAPSHOT
      2) org.apache.httpcomponents:httpcore:jar:4.1-beta3-SNAPSHOT

2) org.apache.httpcomponents:httpcore-nio:jar:4.1-beta3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.httpcomponents
-DartifactId=httpcore-nio -Dversion=4.1-beta3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.apache.httpcomponents
-DartifactId=httpcore-nio -Dversion=4.1-beta3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.apache.synapse:synapse-nhttp-transport:bundle:2.1.0-SNAPSHOT
      2) org.apache.httpcomponents:httpcore-nio:jar:4.1-beta3-SNAPSHOT


Thank you.

-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.

Mobile: +94 779808031

Reply via email to