Have your jar file handy and do the below as your convenient
dependency>
groupid>com.company.jar
artifactid>legasyJar
version>3.0
scope>system
systempath>${basedir}/lib/legasyJar.jar
optional>true
or else first install the jar in local repository using the below maven command
mvn install:install-file -Dfile=legasyJar.jar -DgroupId=com.microsoft.sqlserver -DartifactId=legasyJar -Dversion=3.0 -Dpackaging=jarThen add it to your project as dependancy
dependency> groupid>com.company.jar artifactid>legasyJar version>3.0
No comments:
Post a Comment