Questions tagged [license-maven-plugin]

16 questions
10
votes
4 answers

How do i skip the license check when running the maven install?

I ran a mvn clean install on a big Java project that I work on, but it kept failing due to some files not having the proper license headers. Well, thats not my concern right now, how do I skip that? the actual error i am seeing is, Failed to execute…
Shravan Ramamurthy
  • 3,896
  • 5
  • 30
  • 44
9
votes
1 answer

Manually adding entries to OssLicensesMenuActivity using oss-licenses plugin with Android

I'm using the oss-licenses plugin (Android - Including Open Source Notices) for my Android app to gather the license information from all the open source repositories being used. But some publishers have not included the tag in their…
neatchuck
  • 731
  • 4
  • 14
5
votes
0 answers

Maven license report, include licenses text

Is it possible to include licenses text in the third party report using maven license or any other plugin? If not, are there any ways to do it automatically?
3
votes
1 answer

Maven License Plugin : Unknown license

We are trying to create a third-party file that lists the licenses from the libraries we are using. For this, we are using the license maven plugin and it's add third party target. It is working fine, for most of our libraries. Thing is, some of our…
jlengrand
  • 12,152
  • 14
  • 57
  • 87
2
votes
0 answers

Is there any way to report only declared licences using Maven?

I know that there is an ability to check third-party licenses in your project using License Maven plug-in. Specifically using mvn license:third-party-report goal. However, the problem is that the report will include both declared and transitive…
gokareless
  • 1,165
  • 1
  • 10
  • 26
2
votes
1 answer

What data to expect in license-maven-plugin third party license FreeMarker template?

I'm using the Mojo License Maven plugin to generate a list of third party licenses. According to the documentation I could use a custom FreeMarker template to format the file using the fileTemplate parameter, but there is no documentation on the…
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
1
vote
1 answer

license-maven-plugin:update-file-header How to exclude project name?

I am using license-maven-plugin to insert license headers in each files in source tree successfully. It generates the following: /*- * #%L * my-unqualified-package-name * %% * Copyright (C) 2009 - 2017 My Company. * %% *…
SST
  • 2,054
  • 5
  • 35
  • 65
1
vote
0 answers

Cannot change license in Maven

I have a Maven project with the following header in all files : /* * Copyright © 2017 Maria Papadopoulou. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License…
Marievi
  • 4,951
  • 1
  • 16
  • 33
1
vote
2 answers

Add additional license details in THIRD-PARTY.txt file generated using mvn license plugin

I am using license:aggregate-add-third-party to generate the THIRD-PARTY.txt file with the license details of all the dependencies. that works without any issue. I also have purchased licenses for couple of Javascript libraries. I want to include…
UserASR
  • 2,015
  • 4
  • 24
  • 47
1
vote
1 answer

Maven License Plugin: The parameters 'organizationName', ... are missing or invalid

I'm trying to use the maven license plugin version 1.9. I'm running the goal update-license-header however I get the following error: [ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.9:update-file-header (default-cli) on…
Munaz
  • 336
  • 2
  • 9
0
votes
0 answers

Generate license information for maven project having dependencies defined under DependencyManagement section

I have a pom file with dependencies mentioned under DependencyManagement section. How can I generate license information for such dependencies ?
SuhasD
  • 728
  • 2
  • 7
  • 20
0
votes
0 answers

com.mycila:license-maven-plugin: Is it possible to allow additional lines before and/or after the license hjeader?

I would like to check for the presence of a valid license header in our Java source code using the com.mycila:license-maven-plugin The issue is currently that most files contain additional text - besides the license - in the initial comment. Several…
mmo
  • 3,897
  • 11
  • 42
  • 63
0
votes
2 answers

How include license to jar file in android library (aar)

I Have aar project and I want to add license to jar file. I add licence to .pom file, but I want add it to jar and get structure like this: Is it possible add LICENSE.txt to .jar by gradle?
0
votes
0 answers

Is there a way to generate a license report for a whole maven repository?

I want to check the licenses of my maven repository. I know how to generate a license report for a maven project (see Maven Project Info Report) but not for a whole repository.
pernpas
  • 199
  • 3
  • 17
0
votes
1 answer

How to exclude project from multi module Maven License Plugin aggregation?

I'm having trouble trying to ignore some modules when I add headers to my files using maven license plugin. The way I am trying to do is to put the modules path in the excludes tag. Here is the plugin in pom.xml:
Evandro
  • 137
  • 1
  • 1
  • 13
1
2