Hi,

I get the following error [1] when trying to build the carbon features. What
can I do to overcome this?

Thanks,
AmilaM.

[1]

[INFO] Building WSO2 Carbon - NHttp Wsdl Processor Feature
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [carbon-p2:p2-feature-gen {execution: p2-feature-generation}]
Downloading:
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.transport.nhttp/3.1.0-SNAPSHOT/org.wso2.carbon.transport.nhttp-3.1.0-SNAPSHOT.jar
[INFO] Unable to find resource
'org.wso2.carbon:org.wso2.carbon.transport.nhttp:jar:3.1.0-SNAPSHOT' in
repository wso2-maven2-snapshot-repository (
http://dist.wso2.org/snapshots/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] ERROR

Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.transport.nhttp -Dversion=3.1.0-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.wso2.carbon
-DartifactId=org.wso2.carbon.transport.nhttp -Dversion=3.1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.carbon:org.wso2.carbon.transport.nhttp:jar:3.1.0-SNAPSHOT

from the specified remote repositories:
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to