diff --git a/pom.xml b/pom.xml
index 0983f01..d332c77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
org.fusesource.jansi
- jansi-${platform}
+ jansi-${platformId}
1.9-SNAPSHOT
${project.artifactId}
@@ -36,7 +36,7 @@
UTF-8
1.5
1.16
- native
+ native
http://fusesource.github.io/${forge-project-id}
@@ -123,7 +123,7 @@
- org.fusesource.jansi.${platform}
+ org.fusesource.jansi.${platformId}
@@ -262,6 +262,9 @@
platform
+
+ ${platform}-${arch}
+
@@ -278,7 +281,7 @@
package-source
- ${platform}
+ ${platform}/${arch}
jansi
false
false
diff --git a/readme.md b/readme.md
index 027eab8..c30a435 100644
--- a/readme.md
+++ b/readme.md
@@ -28,8 +28,9 @@ Project Links
Building
--------
-To build, just run `mvn -Dplatform=${platform} package` where `${platform}` may be `windows32`, `windows64`,
-`osx`, `linux32`, `linux64`, `freebsd32`, `freebsd64` or any other platform of your choice.
+To build, just run `mvn -Dplatform=${platform} -Darch=${arch} package` where `${platform}` may be `windows32`, `windows64`,
+`osx`, `linux32`, `linux64`, `freebsd32`, `freebsd64` or any other platform of your choice,
+and `${arch}` is the Java `os.name` for the target architecture, such as `i386` or `amd64`.
Jansi native uses [HawtJNI](http://fusesource.github.io/hawtjni/) to ease JNI management.
See [Platform Build Tools Requirements](http://fusesource.github.io/hawtjni/documentation/developer-guide.html#Platform_Build_Tools_Requirements)