开发者

Maven Dependencies

开发者 https://www.devze.com 2023-01-09 15:50 出处:网络
I am trying build a jar file with some depe开发者_开发问答ndencies. Initially i have installed all the jar file dependencies with mvn install:install-file command. Now Instead of that i given as below

I am trying build a jar file with some depe开发者_开发问答ndencies. Initially i have installed all the jar file dependencies with mvn install:install-file command. Now Instead of that i given as below.

 < dependency>
        < groupId> POP< /groupId>
        < artifactId>ROCK< /artifactId>
        < version>1< /version>
        < scope>system< /scope>
        < systemPath>../Environment/lib/jdk15-131.jar< /systemPath>
   < /dependency>

Now it does not relative path, It is asking for absolute path. Can you please suggest how can i give relative path?

Regards Gnash


What about this?

< systemPath>${basedir}/../Environment/lib/jdk15-131.jar< /systemPath>
0

精彩评论

暂无评论...
验证码 换一张
取 消