sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Embed restassured dependencies #315

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Rest-assured dependency versions can affect and conflict with dependencies of 
other (production) code in projects where its used. Since rest-assured is a 
test library, it shouldn't expose and impose its dependencies and versions.

Library dependencies can be embedded in its jar - in this case they will not be 
exposed outside.

I propose to use maven jarjar plugin to do that:
http://sonatype.github.io/jarjar-maven-plugin/

Original issue reported on code.google.com by supervis...@gmail.com on 3 Mar 2014 at 11:04

GoogleCodeExporter commented 9 years ago
I don't want to do this with the existing artifacts, people are indeed using 
REST Assured and/or XmlPath and/or JsonPath in production as well.  However it 
would be possible to create a new artifact called something like 
rest-assured-all that could embed its dependencies like you describe. This 
artifact should be built on each release. Would you mind helping out with this 
and provide a pull request? 

Original comment by johan.ha...@gmail.com on 4 Mar 2014 at 6:39