Hi all,

I have executed integration test for an ESB connector. Integration test of
that connector depends on integration-base. Rather downloading the jar of
integration-base from the m2 repo, I want to download from remote
repository. It is trying to download from [1]. But location of the jar is
[2]. The maven dependency of integration base is given as [3]. The jar and
pom are named as org.wso2.connector.integration.test.base. Is it needed to
rename the pom and jar with the artifact id given in [3]? How can I fix
this?

[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/esb/esb-integration-tests/4.8.1/esb-integration-tests-4.8.1.pom
[2]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/esb/org.wso2.connector.integration.test.base/4.8.1/org.wso2.connector.integration.test.base-4.8.1.pom

[3] <dependency>
            <groupId>org.wso2.esb</groupId>
            <artifactId>esb-integration-tests</artifactId>
            <version>4.8.1</version>
    </dependency>

The Log:


[INFO] Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/esb/esb-integration-tests/4.8.1/esb-integration-tests-4.8.1.jar

[INFO] Downloading:
http://repo.maven.apache.org/maven2/org/wso2/esb/esb-integration-tests/4.8.1/esb-integration-tests-4.8.1.jar

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.557 s
[INFO] Finished at: 2015-02-16T14:11:09+05:30
[INFO] Final Memory: 36M/989M
[INFO] 
------------------------------------------------------------------------[ERROR]
Failed to execute goal on project org.wso2.carbon.connector.evernote:
Could not resolve dependencies for project
org.wso2.carbon.connector:org.wso2.carbon.connector.evernote:jar:1.0.0:
Could not find artifact org.wso2.esb:esb-integration-tests:jar:4.8.1
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
-> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors,
re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X
switch to enable full debug logging.[ERROR] [ERROR] For more
information about the errors and possible solutions, please read the
following articles:[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException



Thank you.

-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to