To add the local jar to local maven, you can use this command:
mvn
install:install-file -Dfile="C:/Users/NROLL97/Main.jar"
-DgroupId=keydoxWeb -DartifactId=keydoxWebCodec -Dversion=1.0 -Dpackaging=jar
Then added it as a dependency like this:
<groupId>keydoxWeb</groupId>
<artifactId>keydoxWebCodec</artifactId>
<version>1.0</version>
</dependency>
And then it worked!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.