Answers for "how to create jar file in java using maven with dependencies"

1

put jar file in maven

mvn install:install-file \
   -Dfile=<path-to-file> \
   -DgroupId=<group-id> \
   -DartifactId=<artifact-id> \
   -Dversion=<version> \
   -Dpackaging=<packaging> \
   -DgeneratePom=true
Posted by: Guest on April-16-2021
-1

how to build jar for maven project

<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>core-java</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
Posted by: Guest on August-01-2021

Code answers related to "how to create jar file in java using maven with dependencies"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language