louis xie
louis xie

Reputation: 1422

Managing opensource licenses using Maven

It is typical for any project to use multiple open source JARs. My question is, what is the best practice for organising all of the license files in your deployment using maven?

For instance, are the licenses suppose to be consolidated into one uber-license file / mentioned separately in the headers for every file / contained in a separate license per jar etc.

I am a newbie when it comes to open source licenses and how I should use them. Would appreciate some help and guidance in this area.

Thanks.

Upvotes: 2

Views: 589

Answers (1)

khmarbaise
khmarbaise

Reputation: 97389

It is typical for project to use several different jar which usually have some kind of open source license. But this depends on the project. Furthermore the ordering etc. of the licenses which are used in the project depends of the requirement of the appropriate licenses. Some of the licenses require to be mentioned in the project itself other allow the usage in commercial projects as well.

Which solution you have to follow depends on the licenses. Either a single file which contains all different licenses. This can be achieved by using the license-maven-plugin.

Upvotes: 1

Related Questions