Package kr.motd.maven.os
Class DetectExtension
- java.lang.Object
-
- org.apache.maven.AbstractMavenLifecycleParticipant
-
- kr.motd.maven.os.DetectExtension
-
@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class, hint="detect-os") public class DetectExtension extends org.apache.maven.AbstractMavenLifecycleParticipantDetects the current operating system and architecture, normalizes them, and sets them to various project properties.os.detected.name- normalizedos.name(e.g.linux,osx)os.detected.arch- normalizedos.arch(e.g.x86_64,x86_32)os.detected.classifier- a shortcut for'os.detectedName'.'os.detectedArch'(e.g.linux-x86_64)
-
-
Constructor Summary
Constructors Constructor Description DetectExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProjectsRead(org.apache.maven.execution.MavenSession session)
-