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 String
DEPLOYMENT
-
Constructor Summary
Constructors Constructor Description ArtifactInfoUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Map.Entry<String,String>
groupIdAndArtifactId(Class<?> clazz)
Deprecated.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 BuildItemstatic Map.Entry<String,String>
groupIdAndArtifactId(FileSystem fs)
Returns 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 Detail
-
DEPLOYMENT
public static final String DEPLOYMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
groupIdAndArtifactId
@Deprecated public static Map.Entry<String,String> groupIdAndArtifactId(Class<?> clazz)
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
static boolean isDeploymentTargetClasses(Path location)
-
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
-
groupIdAndArtifactId
public static AbstractMap.SimpleEntry<String,String> groupIdAndArtifactId(Path pomPropertiesContainer) throws IOException
- Throws:
IOException
-
-