hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-406) Refactor some test code to be sharable with OSGi tests
Date Sat, 29 Aug 2015 11:25:46 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721067#comment-14721067

Oleg Kalnichevski commented on HTTPCORE-406:

Jenkins complaints about not being able to resolve a SNAPSHOT version of the test artifact.
I understand this has nothing to do with the test cases you have contributed per se. This
is likely to be about the way Jenkins has been setup. I had a similar issue when trying to
make HttpClient build depend on a SNAPHOT version of HttpCore.

Feel free to ignore it.

Running org.apache.http.osgi.ConcurrentIT
17:48:16.842 [main] INFO  o.o.p.e.s.DefaultExamSystem - Pax Exam System (Version: 3.5.0) created.
17:48:16.880 [main] INFO  o.o.p.e.j.i.ProbeRunner - creating PaxExam runner for class org.apache.http.osgi.ConcurrentIT
17:48:16.906 [main] INFO  o.o.p.e.j.i.ProbeRunner - running test class org.apache.http.osgi.ConcurrentIT
17:48:17.467 [main] WARN  o.o.p.u.m.i.AetherBasedResolver - Error resolving artifactorg.apache.httpcomponents:httpcore:jar:tests:5.0-alpha1-SNAPSHOT:Could
not find artifact org.apache.httpcomponents:httpcore:jar:tests:5.0-alpha1-SNAPSHOT



> Refactor some test code to be sharable with OSGi tests
> ------------------------------------------------------
>                 Key: HTTPCORE-406
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-406
>             Project: HttpComponents HttpCore
>          Issue Type: Task
>            Reporter: Benson Margulies
>             Fix For: 4.4.2, 5.0-alpha1
> It would be good to use the test server when testing the OSGi bundle. However, it's in
> There are three ways to reuse it: 
> *  [https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html]
> * create another Maven subproject.
> * [http://www.mojohaus.org/build-helper-maven-plugin/add-test-source-mojo.html] and borrow
the source directory.
> While I'd usually consider the third to be really ugly, it does make it easy to get the
server into the 'test bundle' built by pax-exam. 
> I intend to try to work out how to use the first alternative.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message