Package aQute.bnd.plugin.maven
Class CentralCheck
java.lang.Object
aQute.bnd.plugin.maven.CentralCheck
- All Implemented Interfaces:
AnalyzerPlugin
Sets a warning when a header is missing to publish at Central. The Sonatype
Nexus does some verifications and it is pretty annoying if they fail.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
analyzeJar
(Analyzer analyzer) This plugin is called after analysis.private void
-
Constructor Details
-
CentralCheck
public CentralCheck()
-
-
Method Details
-
analyzeJar
Description copied from interface:AnalyzerPlugin
This plugin is called after analysis. The plugin is free to modify the jar and/or change the classpath information (see referred, contained). This plugin is called after analysis of the JAR but before manifest generation.- Specified by:
analyzeJar
in interfaceAnalyzerPlugin
- Returns:
- true if the classpace has been modified so that the bundle classpath must be reanalyzed
- Throws:
Exception
-
check
- Throws:
Exception
-