haphut opened a new pull request #1786: Remove duplicated dependency
URL: https://github.com/apache/incubator-pulsar/pull/1786
 
 
   ### Motivation
   
   When running `docker/build.sh`, Maven lets out the following warning:
   ```
   [WARNING] Some problems were encountered while building the effective model 
for org.apache.pulsar:docker-images:pom:2.1.0-incubating-SNAPSHOT
   [WARNING] 
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: org.apache.logging.log4j:log4j-api:test-jar -> duplicate 
declaration of version ${log4j2.version} @ 
org.apache.pulsar:pulsar:2.1.0-incubating-SNAPSHOT, 
/path/to/incubator-pulsar/pom.xml, line 436, column 19
   ```
   
   ### Modifications
   
   Remove one repetition of the duplicated dependency 
`org.apache.logging.log4j:log4j-api:test-jar` from `pom.xml`.
   
   ### Result
   
   Maven warning disappears.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to