How do you create a standalone application with dependencies intact using Maven?

前端 未结 4 908
无人及你
无人及你 2020-12-31 12:03

I have a desktop Java application built using Maven 2 (but I could upgrade to Maven 3 if that helps) with a number of open source dependencies. I\'m now trying to package it

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-31 12:40

    As far as I know it is possible to redistribute also LGPL libraries into your own packages as long as they are untouched. The maven assembly plugin creates a jar that contains the original jars inside a lib folder of the archive. So far you are fulfilling the LGPL.

    Maybe this question gives some more information about this topic.

    (Disclaimer: I'm not a lawyer, so please crosscheck this information ;) )

提交回复
热议问题