desruisseaux commented on code in PR #481:
URL: https://github.com/apache/maven-jar-plugin/pull/481#discussion_r2425506631
##########
src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java:
##########
@@ -291,27 +282,23 @@ public Path createArchive() throws MojoException {
/**
* Generates the JAR.
- * @throws MojoException in case of an error.
+ *
+ * @throws MojoException in case of an error
*/
@Override
public void execute() throws MojoException {
- if (useDefaultManifestFile) {
- throw new MojoException("You are using 'useDefaultManifestFile'
which has been removed"
- + " from the maven-jar-plugin. "
- + "Please see the link >>Using Your Own Manifest File<< on
the plugin site.");
- }
-
if (skipIfEmpty && isEmpty(getClassesDirectory())) {
- getLog().info("Skipping packaging of the " + getType());
+ getLog().info("Skipping packaging of the " + getType() + '.');
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]