Package aQute.bnd.maven
Class PomResource
java.lang.Object
aQute.bnd.osgi.WriteResource
aQute.bnd.maven.PomResource
- All Implemented Interfaces:
Resource,Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final Stringprivate final Stringprivate static final String(package private) final Manifestprivate final String(package private) static final Pattern(package private) final Processorprivate final Stringprivate static final Stringprivate final Stringprivate static final String -
Constructor Summary
ConstructorsConstructorDescriptionPomResource(Processor scoped, Manifest manifest) PomResource(Manifest manifest) PomResource(Map<String, String> map, Manifest manifest) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ProcessorasProcessor(Map<String, String> map) augmentManifest(Domain domain, String bsn) getWhere()longvoidsetProperties(Map<String, String> scm) private TagUtility function to print a tag from a mapvalidate()voidwrite(OutputStream out) Methods inherited from class aQute.bnd.osgi.WriteResource
buffer, close, getExtra, openInputStream, setExtra, size
-
Field Details
-
VERSION
- See Also:
-
ARTIFACTID
- See Also:
-
GROUPID
- See Also:
-
WHERE
- See Also:
-
local
-
manifest
-
scm
-
processor
-
NAME_URL
-
where
-
groupId
-
artifactId
-
version
-
name
-
-
Constructor Details
-
PomResource
-
PomResource
-
PomResource
-
PomResource
-
-
Method Details
-
asProcessor
-
augmentManifest
-
getWhere
-
getGroupId
-
getArtifactId
-
getVersion
-
lastModified
public long lastModified()- Specified by:
lastModifiedin interfaceResource- Specified by:
lastModifiedin classWriteResource
-
write
- Specified by:
writein interfaceResource- Specified by:
writein classWriteResource- Throws:
IOException
-
tagFromMap
private Tag tagFromMap(Tag parent, Map<String, String> attrs, String key, String tag, String defaultValue) Utility function to print a tag from a map- Parameters:
parent-attrs-key-tag-defaultValue-
-
setProperties
-
validate
-