We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82e821 commit a8167c6Copy full SHA for a8167c6
java/ql/src/semmle/code/xml/MavenPom.qll
@@ -376,6 +376,10 @@ class DeclaredRepository extends PomElement {
376
this.getName() = ["repository", "snapshotRepository", "pluginRepository"]
377
}
378
379
+ /**
380
+ * Gets the url for this repository. If the `url` tag is present, this will
381
+ * be the string contents of that tag.
382
+ */
383
string getUrl() { result = getAChild("url").(PomElement).getValue() }
384
385
0 commit comments