public class MavenResources extends Object
| Constructor and Description |
|---|
MavenResources() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getMavenProjectProperties(String project)
a facility method to fetch our $Project.maven.properties based on standard resource algorithm (it supposes there is only one jar
for the same project in the ClassPath).
|
static URL[] |
getMavenProjectURLs(String project)
returns an URL for our specific $Project.maven.properties file linked to
a maven project.
|
static Properties |
getPomProperties(String org,
String project)
a facility method based on standard resource algorithm (it supposes there is only one jar
for the same project in the ClassPath).
|
static URL[] |
getPomURLs(String org,
String project)
returns an URL for the pom.properties file linked to
a maven project.
|
public static URL[] getPomURLs(String org, String project)
org - the organisation (e.g. "org.lsst")project - such as "org-lsst-ccs-core"public static URL[] getMavenProjectURLs(String project)
project - such as "org-lsst-ccs-core"public static Properties getPomProperties(String org, String project)
org - the organisation (e.g. "org.lsst")project - such as "org-lsst-ccs-core"public static Properties getMavenProjectProperties(String project)
project - such as "org-lsst-ccs-core"Copyright © 2015 LSST. All rights reserved.