Java Community | Help. Code. Learn.JC|HCL
Java Community | Help. Code. Learn.โ€ข3y agoโ€ข
14 replies
Pheotis

Adding ancient dependency to maven.

How does one add a local jar dependency to maven without a package/group ID?
<dependency>
  <groupId>tld.domain.Project</groupId>
  <artifactId>Name</artifactId>
  <version>1.8</version>
  <scope>system</scope>
  <systemPath>${project.basedir}/src/main/resources/local.jar</systemPath>
</dependency>

Normally, this ^ is the way to do it... but the jar was built with ant, is ancient, and doesn't have an apparent groupID.๐Ÿœ
Was this page helpful?