java - Instead of using Maven to pull in a third party dependency, how can I implement the source of that dependency directly into my project? -


situation:

spring security not have feature need , simple change implement feature. quick , dirty proof of concept (before getting change approved through spring), want pull source of spring security , make change , put reference directly in application.

the app not multi module project , has 1 project compiles war.

this maven artifact

<dependency>     <groupid>org.springframework.security</groupid>     <artifactid>spring-security-ldap</artifactid>     <version>${spring.security.version}</version> </dependency> 

but don't want grabbed maven central since provide (just not sure need put it).

you should deploy modified spring-security-ldap you're local (or company's internal) repository own version , use version in pom.

when change has been accepted spring, switch version.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -