opengeospatial / ets-wms13-nsg

0 stars 0 forks source link

Cleanup dependencies #21

Closed keshavnangare closed 2 years ago

keshavnangare commented 3 years ago

When running mvn org.apache.maven.plugins:maven-dependency-plugin:analyze, I get following warnings:

[WARNING] Used undeclared dependencies found:
[WARNING]    org.testng:testng:jar:6.9.10:compile
[WARNING]    org.opengis.cite:ets-dgiwg-core:jar:0.4:compile
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
[WARNING]    xml-apis:xml-apis:jar:1.4.01:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.opengis.cite.teamengine:teamengine-spi:jar:4.9:compile
[WARNING]    org.opengis.cite:schema-utils:jar:1.8:compile
[WARNING]    org.apache.tika:tika-core:jar:1.10:compile
[WARNING]    joda-time:joda-time:jar:2.9.4:compile
[WARNING]    org.mockito:mockito-core:jar:1.10.19:test
[WARNING]    com.google.inject:guice:jar:4.0:test

All used undeclared compile dependencies shall be declared in Maven pom file. All unused declared dependencies shall be removed from Maven pom file.

keshavnangare commented 3 years ago

I have added used undeclared dependencies and removed unused declared dependencies except for the following dependency.

  1. com.google.inject:guice is inherited from the parent and unable to exclude it.

Please find changes in #22 PR.