0

Im having issues in finding the group id of the jar file my maven project is using. basically i want to add new version of that group id,artifact id in pom.xml so that new version of jar gets downloaded from nexus.

i already referred this

my jar currently looks like /Users/harish/.m2/spring/com/local/api/platform/hike/AccountsSpecification/xxxx-creditaccounts-specification/1.5/xxxx-creditaccounts-specification-1.5.jar

and i dont see any of my pom.xml file with xxxx-creditaccounts-specification as artifact id.

kindly help me figure out which group id and artifact id is responsible for my jar file.

amarnath harish
  • 945
  • 7
  • 24

1 Answers1

1

It's possible that this dependency is transitive. You can use Maven Dependency Plugin in order to find the origin. For example you could run in the root directory and inspect the output:

mvn dependency:tree

It could be helpful to find the dependency but update of this dependency wouldn't be straightforward if it's transitive.

Vladimir Pligin
  • 1,547
  • 11
  • 18
  • also one more thing can you help how to find the respective git repository for this artifact id? it is possible it is very silly question, but im still learning please help – amarnath harish May 17 '19 at 12:50