mvn install:install-file
-Dfile=<path-to-file>
-DgroupId=<group-id>
-DartifactId=<artifact-id>
-Dversion=<version>
-Dpackaging=<packaging>
-DgeneratePom=true
examples :
mvn install:install-file -Dfile=/home/honey/Downloads/Airmap_storm_v1/lib/javabuilder.jar(절대경로) -DgroupId=com.AirMap(자신이 만들고 싶은곳) -DartifactId=javabuilder('') -Dversion=1.0.0('') -Dpackaging=jar (i.g. jar file) -DgeneratePom=true |
pom.xml :
<dependency> <groupId>com.AirMap</groupId> <artifactId>javabuilder</artifactId> <version>1.0.0</version> </dependency> |
maven directory :
~/.m2/repository/org/apache/storm/storm-core/1.1.0
<dependencies>
<dependency>
<groupId>org.apache.storm</groupId>
<artifactId>storm-core</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
'옥탑방주인 > -D' 카테고리의 다른 글
AWS EC2에 Apache-Spark 올리기 (0) | 2017.06.16 |
---|---|
미친 AWS (0) | 2017.06.15 |
Windows 10에서 NFS 기능 사용하기 (0) | 2017.04.10 |
매트랩(MATLAB) 버전 별 dll 파일과 MCR 버젼 (0) | 2017.03.28 |
논문작업을 하며... (0) | 2017.03.23 |