reschke commented on code in PR #279:
URL:
https://github.com/apache/jackrabbit-filevault/pull/279#discussion_r1119016941
##########
vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AbstractExporter.java:
##########
@@ -398,6 +400,28 @@ private static PackageType
detectPackageType(WorkspaceFilter filter) {
return PackageType.MIXED;
}
+ /**
+ * Returns the version of an Oak module.
+ *
+ * @param moduleName the name of the module
+ * @param clazz a class of the module
+ * @return the version (or "SNAPSHOT" when unknown)
+ */
+ private String getVersion(String moduleName, Class<?> clazz) {
Review Comment:
I have added minimal test coverage; but I'm not really sure whether we
actually want to expose the method for testing only.
Is there a test that generated a full package, and where we can inspect the
properties.xml later on?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]