jira-importer opened a new issue, #941:
URL: https://github.com/apache/httpcomponents-core/issues/941

   **[Benson 
Margulies](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bmargulies)**
 opened 
**[HTTPCORE-406](https://issues.apache.org/jira/browse/HTTPCORE-406?redirect=false)**
 and commented
   
   It would be good to use the test server when testing the OSGi bundle. 
However, it's in src/test/java.
   
   There are three ways to reuse it:
   
   * 
https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html 
business
   * 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.
   
   
   
   ---
   
   **Backported to:** 
[4.4.3](https://github.com/apache/httpcomponents-core/milestone/40?closed=1)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to