linux - Remove Duplicate Dependencies in Maven Pom -


i remove duplicate dependencies in maven pom.xml.

i answers multiple tools linux, notepad++, netbeans, intellij ...even...vim,etc.

example (i can obvious delete search replace answer)

  `<dependency>         <groupid>org.glassfish.jersey.core</groupid>         <artifactid>jersey-server</artifactid>         <version>2.7</version>     </dependency>     <dependency>         <groupid>org.glassfish.jersey.containers</groupid>         <artifactid>jersey-container-servlet-core</artifactid>         <version>2.7</version>     </dependency>     <dependency>         <groupid>org.glassfish.jersey.containers</groupid>         <artifactid>jersey-container-jetty-http</artifactid>         <version>2.7</version>     </dependency>     <dependency>         <groupid>org.glassfish.jersey.media</groupid>         <artifactid>jersey-media-moxy</artifactid>         <version>2.7</version>     </dependency>     <dependency>         <groupid>org.glassfish.jersey.containers</groupid>         <artifactid>jersey-container-jetty-http</artifactid>         <version>2.7</version>     </dependency>`   

please write answer locally links can frustrating if removed. thanks.

run mvn clean tell duplicate dependencies. delete them.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -