Executable JAR ignores its own Class-Path attribute

后端 未结 3 1109
-上瘾入骨i
-上瘾入骨i 2020-12-08 23:18

I used the instructions found at Maven - how can I add an arbitrary classpath entry to a jar to add an arbitrary entry to the Class-Path attribute. Here is my <

3条回答
  •  醉话见心
    2020-12-08 23:18

    Per the tooldocs page for the jar option - Link to docs

    When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored.

提交回复
热议问题