https://pantsbuild.org/ logo
#general
Title
# general
p

plain-sundown-25537

04/06/2017, 11:54 PM
in java_lib for goal
a
If we have
Copy code
excludes = [
    exclude('org.slf4j', 'log4j-over-slf4j' ),
    exclude('ch.qos.logback','logback-classic'),
  ],
and goal
b
doesn’t, and depends on log4j in code when we do
Copy code
./pants compile a
./pants compile b
it works. but when we do
Copy code
./pants compile a b
Then b complains log4j doesn’t exist, is this the expected behavior?