Package io.quarkus.deployment.util
Class ArtifactInfoUtil
java.lang.Object
io.quarkus.deployment.util.ArtifactInfoUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongroupIdAndArtifactId
(Class<?> clazz) Deprecated.groupIdAndArtifactId
(Class<?> clazz, CurateOutcomeBuildItem curateOutcomeBuildItem) Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemReturns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItemstatic AbstractMap.SimpleEntry<String,
String> groupIdAndArtifactId
(Path pomPropertiesContainer) (package private) static boolean
isDeploymentTargetClasses
(Path location)
-
Field Details
-
DEPLOYMENT
- See Also:
-
-
Constructor Details
-
ArtifactInfoUtil
public ArtifactInfoUtil()
-
-
Method Details
-
groupIdAndArtifactId
Deprecated.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
- Parameters:
clazz
- the caller clazz. (must not benull
)curateOutcomeBuildItem
- the application model that gets searched for the caller clazz. optional- Returns:
- the result, or throws
-
isDeploymentTargetClasses
-
groupIdAndArtifactId
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
-
groupIdAndArtifactId
public static AbstractMap.SimpleEntry<String,String> groupIdAndArtifactId(Path pomPropertiesContainer) throws IOException - Throws:
IOException
-
groupIdAndArtifactId(Class, CurateOutcomeBuildItem)