We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ffa9b commit 6e97ae0Copy full SHA for 6e97ae0
1 file changed
src/main/java/org/scijava/util/POM.java
@@ -216,6 +216,17 @@ public String getVersion() {
216
217
// -- Utility methods --
218
219
+ /**
220
+ * Gets the Maven POM associated with the given class.
221
+ *
222
+ * @param c The class to use as a base when searching for a pom.xml.
223
+ * @return {@link POM} object representing the discovered POM, or null if no
224
+ * POM could be found.
225
+ */
226
+ public static POM getPOM(final Class<?> c) {
227
+ return getPOM(c, null, null);
228
+ }
229
+
230
/**
231
* Gets the Maven POM associated with the given class.
232
*
0 commit comments