-
Notifications
You must be signed in to change notification settings - Fork 78
[MJAR-260] Fail on invalid automatic module name #3
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
Conversation
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.
I like this 'feature'
src/test/java/org/apache/maven/plugins/jar/AbstractJarMojoTest.java
Outdated
Show resolved
Hide resolved
6cd74eb
to
736e16c
Compare
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.
Lgtm
Awesome!
Seems there is a failure |
I wonder if we should fix other plugins, namely the shade plugin |
Wrong source file encoding used for
Sure. Here it is more relevant to exclude a |
51d4303
to
16c0d21
Compare
No, the real reason was the |
Build No 4 is green (read: blue). Waiting for @khmarbaise or @rfscholte to chime in. https://builds.apache.org/job/maven-box/job/maven-jar-plugin/job/MJAR-260-Automatic-Module-Name/ |
src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java
Outdated
Show resolved
Hide resolved
16c0d21
to
617f54c
Compare
This PR updates the dependency to the version `3.3.0` of the Maven Archiver and introduces two integration tests that a) verify that JAR containing a valid name is created and b) that no JAR file is created when it would contain an invalid automatic module name. Addresses https://issues.apache.org/jira/browse/MJAR-260
617f54c
to
aff0671
Compare
Addresses https://issues.apache.org/jira/browse/MJAR-260