public class NarProperties extends Object
| Modifier and Type | Method and Description |
|---|---|
static NarProperties |
getInstance(org.apache.maven.project.MavenProject project)
Retrieve the NarProperties
|
String |
getProperty(String key) |
static void |
inject(org.apache.maven.project.MavenProject project,
InputStream properties)
Programmatically inject properties (and possibly overwrite existing properties)
|
public static NarProperties getInstance(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoFailureException
project - may be nullorg.apache.maven.plugin.MojoFailureExceptionpublic static void inject(org.apache.maven.project.MavenProject project,
InputStream properties)
throws org.apache.maven.plugin.MojoFailureException
project - the current maven projectproperties - the properties from input streamorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.