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
Post a Comment