Plugin disables after adding a dependency to maven

I tried to use a dependency of com.sun.jersey version 1.17 inside a Rest Module because it has a functionality to send file. When I add it to maven as dependency, the Rest Module stops working. When I run atlas-clean and the atlas-run, the plugin is not even starting. I think the problem is in conflicting dependencies, because there are provided jars related to com.sun.jersey of different version. But how can I use the version I add in Maven?

Can anyone help me to properly add and use a dependency to Maven?

Thank you