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 String
private static final String
private final String
private static final String
(package private) final Manifest
private final String
(package private) static final Pattern
(package private) final Processor
private final String
private static final String
private final String
private 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 Processor
asProcessor
(Map<String, String> map) augmentManifest
(Domain domain, String bsn) getWhere()
long
void
setProperties
(Map<String, String> scm) private Tag
Utility function to print a tag from a mapvalidate()
void
write
(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:
lastModified
in interfaceResource
- Specified by:
lastModified
in classWriteResource
-
write
- Specified by:
write
in interfaceResource
- Specified by:
write
in 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
-