How to install jars in maven repository which is eclipse embedded?

后端 未结 4 920
甜味超标
甜味超标 2020-12-08 04:52

My objective is to install a jar file in a Maven repository. This post explains how to do an install with MVN.

But but since I have Maven embedded in Eclipse, I don\

4条回答
  •  我在风中等你
    2020-12-08 05:19

    Or you can simply do: 1. Run 2. Maven Build.. 3. Copy the whole command in Goals i.e.

    install:install-file  -Dfile=C:\lib\rest\WadlGenerator.jar \
                              -DgroupId=foo.in.shop.rest.wadl \
                              -DartifactId=WadlGenerator \
                              -Dversion=1.0 \
                              -Dpackaging=jar \
                              -DlocalRepositoryPath=C:\maven\repositories\internal 
    
    1. Run

    This is much easier than filling keys and values :D

提交回复
热议问题