Package aQute.bnd.maven
Class PomFromManifest
java.lang.Object
aQute.bnd.osgi.WriteResource
aQute.bnd.maven.PomFromManifest
- All Implemented Interfaces:
Resource
,Closeable
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeveloper
(String email) getBsn()
long
void
setArtifact
(String artifact) void
void
void
void
void
setVersion
(String version) private Tag
Utility function to print a tag from a mapvoid
write
(OutputStream out) Methods inherited from class aQute.bnd.osgi.WriteResource
buffer, close, getExtra, openInputStream, setExtra, size
-
Field Details
-
Constructor Details
-
PomFromManifest
-
-
Method Details
-
getBsn
-
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> values, String string, String tag, String object) Utility function to print a tag from a map -
setSCM
-
setURL
-
setBsn
-
addDeveloper
-
setVersion
-
setArtifact
-
setGroup
-