Hi Shakila,
IIRC esb-integration-tests and integration-test-base are two different
things.
Most recent connectors seem to use the
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.integration.framework</artifactId>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
block to refer the integration framework which includes the base. Check [1]
for reference. (You seem to have added it yourself).
[1] https://github.com/wso2/esb-connectors/blob/master/nest/pom.xml
On Mon, Feb 16, 2015 at 2:28 PM, Shakila Sivagnanarajah [via WSO2 Oxygen
Tank] <[email protected]> wrote:
> 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
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=112487&i=0>
>
> _______________________________________________
> Dev mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=112487&i=1>
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://wso2-oxygen-tank.10903.n7.nabble.com/Failed-to-download-integration-base-jar-tp112487.html
> To start a new topic under WSO2 Development, email
> [email protected]
> To unsubscribe from WSO2 Development, click here
> <http://wso2-oxygen-tank.10903.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3&code=cmFzYWRlODhAZ21haWwuY29tfDN8LTEwNDAzODU2MTk=>
> .
> NAML
> <http://wso2-oxygen-tank.10903.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Au revoir!
Ramindu Deshapriya.
Member - Sahana Software Foundation http://sahanafoundation.org
http://rdeshapriya.com
<http://www.facebook.com/rdeshapriya> <https://twitter.com/RamdeshLota>
<https://plus.google.com/113801459480978566130>
<http://www.linkedin.com/profile/view?id=84017607&trk=tab_pro>
<http://rdeshapriya.com> <http://lmakuthan.blogspot.com>
--
View this message in context:
http://wso2-oxygen-tank.10903.n7.nabble.com/Failed-to-download-integration-base-jar-tp112487p112488.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev