命令如下:
示例:
執(zhí)行成功后,
在pom.xml文件中添加:
mvn install:install-file -DgroupId=<your_group_name> -DartifactId=<your_artifact_name> -Dversion=<snapshot> -Dfile=<path_to_your_jar_file> -Dpackaging=jar -DgeneratePom=true
示例:
mvn install:install-file -DgroupId=com.bupt.liutong -DartifactId=report -Dversion=1.0 -Dfile=e:/report.jar -Dpackaging=jar -DgeneratePom=true
執(zhí)行成功后,
在pom.xml文件中添加:
<dependency>
<groupId>com.bupt.liutong</groupId>
<artifactId>report</artifactId>
<version>1.0</version>
</dependency>
<groupId>com.bupt.liutong</groupId>
<artifactId>report</artifactId>
<version>1.0</version>
</dependency>
專注于Java,數(shù)據(jù)庫(kù)性能,Web Server負(fù)載,數(shù)據(jù)挖掘,機(jī)器學(xué)習(xí)等方向