@Retention(value=RUNTIME) @Target(value=FIELD) public @interface MavenProperty
META-INF/maven/groupId/artifactId/pom.properties| Modifier and Type | Required Element and Description |
|---|---|
String |
artifactId
The artifactId of jar to look for.
|
String |
groupId
The groupId of the jar file to look for.
|
String |
key
The key in the maven properties file.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultValue
The default value to set in case the key does not exist or cannot be loaded.
|
boolean |
failFast
Flag to fail the configuration process if the key is absent
|
int |
order
Injection order regarding other annotations.
|
String |
source
The property source file containing maven properties (by default "pom.properties", as generated by maven archiver).
|
public abstract String key
public abstract String artifactId
public abstract String groupId
public abstract String source
public abstract String defaultValue
Copyright © 2020. All rights reserved.