Adding zip file to Maven dependencies

2.3k views Asked by At

I would like to add a zip file which is uploaded to maven repository as a dependency to another maven project. I would like to know how I could accomplish that.

Any help in this regard is appreciated.

Regards, Sarat

1

There are 1 answers

0
Rudraksh On

Defining the dependency as mentioned below resolved my issue.

<dependency>
         <groupId>sampGroupID</groupId>
         <artifactId>sampArtifactID</artifactId>
         <version>1.0</version>
         <scope>runtime</scope>
         <type>zip</type>
         <classifier>bundle</classifier>
      </dependency> 

Rudraksh