one-jar remove verbose warning information on application load

后端 未结 9 2179
一个人的身影
一个人的身影 2021-02-19 17:18

I am using Maven, with the one-jar pluggin, but when I run the one jar executable, I\'m greeted with a wall of warnings, this is unacceptable for use

I\'ve looked at eve

9条回答
  •  春和景丽
    2021-02-19 17:42

    There's two places to get the one-jar plugin from.

    1. https://github.com/jolira/onejar-maven-plugin
    2. http://code.google.com/p/onejar-maven-plugin/

    The 1st one claims to be just a copy of the 2nd one that's served from Maven's main repository. I was encouraged to use this one as it doesn't require specifiying an additional plugin repository that the 2nd one requires. However, when I switched to use the 2nd one (the official one), this problem went away for me.

    Note - passing -Done-jar.verbose=false worked for me but not when set in file one-jar.properties as someone stated above.

提交回复
热议问题