
io.github.mike10004.debianmaven.LinksLineParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of debian-maven-plugin Show documentation
Show all versions of debian-maven-plugin Show documentation
This plugin helps building DEB packages from Maven projects.
The packages can be used in DEB-based operating systems such
as Debian and Ubuntu. The plugin uses external Debian tools
to do the actual packaging.
The newest version!
package io.github.mike10004.debianmaven;
import org.apache.maven.plugin.MojoExecutionException;
import javax.annotation.Nullable;
public interface LinksLineParser {
/**
* Parses a link specification from a line of text in a links file.
* @param line line
* @return link specification, or null if the line is commented out
*/
@Nullable
LinkSpecification parseSpecification(String line) throws InvalidLinkSpecificationException;
class InvalidLinkSpecificationException extends MojoExecutionException {
public InvalidLinkSpecificationException(String message) {
super(message);
}
public InvalidLinkSpecificationException(String message, Throwable cause) {
super(message, cause);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy