We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5260096 + 295a034 commit 3a45f1aCopy full SHA for 3a45f1a
emjar-maven-plugin/src/main/java/com/comoyo/maven/plugins/emjar/EmJarMojo.java
@@ -442,6 +442,10 @@ private void scanArtifact(
442
final Artifact artifact)
443
throws IOException
444
{
445
+ final String type = artifact.getType();
446
+ if (!"jar".equals(type)) {
447
+ return;
448
+ }
449
final File file = artifact.getFile();
450
final JarFile jar = new JarFile(file);
451
final Enumeration<? extends JarEntry> entries = jar.entries();
0 commit comments