Package io.quarkus.deployment.util
Class ArtifactInfoUtil
- java.lang.Object
-
- io.quarkus.deployment.util.ArtifactInfoUtil
-
public final class ArtifactInfoUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEPLOYMENT
-
Constructor Summary
Constructors Constructor Description ArtifactInfoUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map.Entry<String,String>groupIdAndArtifactId(Class<?> clazz)Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemstatic Map.Entry<String,String>groupIdAndArtifactId(Class<?> clazz, CurateOutcomeBuildItem curateOutcomeBuildItem)Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemstatic Map.Entry<String,String>groupIdAndArtifactId(FileSystem fs)Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItem
-
-
-
Field Detail
-
DEPLOYMENT
public static final String DEPLOYMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
groupIdAndArtifactId
public static Map.Entry<String,String> groupIdAndArtifactId(Class<?> clazz)
Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemThe way this works is by depending on the pom.properties file that should be present in the deployment jar
- Returns:
- the result, or throws
-
groupIdAndArtifactId
public static Map.Entry<String,String> groupIdAndArtifactId(Class<?> clazz, CurateOutcomeBuildItem curateOutcomeBuildItem)
Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemThe way this works is by depending on the pom.properties file that should be present in the deployment jar
- Returns:
- the result, or throws
-
groupIdAndArtifactId
public static Map.Entry<String,String> groupIdAndArtifactId(FileSystem fs) throws IOException
Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemThe way this works is by depending on the pom.properties file that should be present in the deployment jar
- Returns:
- the result, or null if no maven metadata were found
- Throws:
IOException
-
-