[ https://jira.codehaus.org/browse/MNG-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg closed MNG-4680. ------------------------------ Resolution: Not A Bug Bruno, what Benjamin tried to express is that Maven itself is _NOT_ responsible for adding any LICENSE.txt file to the artifacts! There are mechanisms which are perfectly supporting this use case, but this options also must get used by the maintainers of the respective OSS projects. As you can see in all ASF maintained projects it _is_ certainly possible as we contain a LICENSE.txt in all of our jars. If you think that there could be an improvement done to the maven-repository-plugin then please feel free to report an issue over there. > Please fix license distribution model > ------------------------------------- > > Key: MNG-4680 > URL: https://jira.codehaus.org/browse/MNG-4680 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Artifacts and Repositories > Reporter: Bruno Harbulot > Priority: Critical > Fix For: Issues to be reviewed for 3.x > > > Most OSS licences mandate the redistribution of the licence with the software > as a condition in the licence. A large number of projects, more particularly > in the central repository, are redistributed without any mechanism to > redistribute the licence correctly, thereby making the central repository be > in breach of those licences. > While there is a guideline in the "Introduction to the Standard Directory > Layout" [1] to put the LICENSE.txt and NOTICE.txt file in the root directory, > nothing seems to be done with them. > In addition: > - Since version 2.1 of the maven-repository-plugin, LICENSE.txt is no > longer included in the bundle created with repository:bundle-create. > - LICENSE.txt files in bundles uploaded via the JIRA/MAVENUPLOAD mechanism > don't seem to appear in the central repository. > Having <license>BSD</license> or <license>GPL</license> in the POM is not > enough. > (See related thread [2].) > [1] > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > [2] > http://markmail.org/thread/s5jsvatxbsynwajc#query:+page:1+mid:whtbsnnejszyad2h+state:results -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira