Class EclipseJarSignerFilter
- java.lang.Object
-
- org.eclipse.cbi.maven.plugins.jarsigner.EclipseJarSignerFilter
-
- All Implemented Interfaces:
FilteredJarSigner.Filter
public class EclipseJarSignerFilter extends Object implements FilteredJarSigner.Filter
Checks and returns whether the given file should be signed. The condition are:- the file is a readable file with the
.jar
file extension. - the file Jar does not have a entry "META-INF/eclipse.inf" with the either the properties "jarprocessor.exclude.sign" or "jarprocessor.exclude"
-
-
Constructor Summary
Constructors Constructor Description EclipseJarSignerFilter(org.apache.maven.plugin.logging.Log log)
-
-
-
Method Detail
-
shouldBeSigned
public boolean shouldBeSigned(Path file) throws IOException
- Specified by:
shouldBeSigned
in interfaceFilteredJarSigner.Filter
- Throws:
IOException
-
-