-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support license-maven-plugin-git #212
base: master
Are you sure you want to change the base?
Conversation
@@ -44,6 +44,7 @@ class LicenseIntegrationTest extends IntegrationSpec { | |||
|
|||
license { | |||
ignoreFailures = true | |||
inceptionYear = 2011 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inceptionYear is needed while using license-maven-plugin-git
@@ -248,7 +249,7 @@ key2 = value2 | |||
ExecutionResult r = runTasksSuccessfully("licenseFormatMain") | |||
|
|||
then: | |||
javaFile.text == '''/** | |||
javaFile.text == '''/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems the format has changed
provider.init(new com.mycila.maven.plugin.license.AbstractLicenseMojo() { | ||
{ | ||
defaultBasedir = baseDir; | ||
} | ||
|
||
for (String key : props.keySet()) { | ||
properties.put(key, String.valueOf(props.get(key))); | ||
@Override | ||
public void execute() throws MojoExecutionException, MojoFailureException { | ||
} | ||
}, props); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AbstractLicenseMojo
s of maven and gradle plugins are different
@hierynomus Though this is a small change, we want to fork and publish in another repository. Please tell us if you have any concerns! |
Is there anyone who can review this PR and release a new version? |
fixes #140
most of the codes are from license-maven-plugin
fixed some styles