diff --git a/README.md b/README.md index 9431d3b..771f32b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ * `x86_64` - if the value is one of: `x8664`, `amd64`, `ia32e`, `em64t`, `x64` * `x86_32` - if the value is one of: `x8632`, `x86`, `i386`, `i486`, `i586`, `i686`, `ia32`, `x32` -* `itanium_64` - if the value is one of: `ia64`, `itanium64` +* `itanium_64` - if the value is one of: `ia64`, `ia64w`, `itanium64` +* `itanium_32` - if the value is one of: `ia64n` * `sparc_32` - if the value is one of: `sparc`, `sparc32` * `sparc_64` - if the value is one of: `sparcv9`, `sparc64` * `arm_32` - if the value is one of: `arm`, `arm32` diff --git a/src/main/java/kr/motd/maven/os/Detector.java b/src/main/java/kr/motd/maven/os/Detector.java index 4e34be9..80e5329 100644 --- a/src/main/java/kr/motd/maven/os/Detector.java +++ b/src/main/java/kr/motd/maven/os/Detector.java @@ -180,9 +180,12 @@ private static String normalizeArch(String value) { if (value.matches("^(x8632|x86|i[3-6]86|ia32|x32)$")) { return "x86_32"; } - if (value.matches("^(ia64|itanium64)$")) { + if (value.matches("^(ia64w?|itanium64)$")) { return "itanium_64"; } + if ("ia64n".equals(value)) { + return "itanium_32"; + } if (value.matches("^(sparc|sparc32)$")) { return "sparc_32"; }