Answers for "creating a jar file in maven"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language