diff --git a/apktool-lib/pom.xml b/apktool-lib/pom.xml
index 062f5d4d..4b6413be 100644
--- a/apktool-lib/pom.xml
+++ b/apktool-lib/pom.xml
@@ -29,6 +29,7 @@
src/main/java/com/mindprod/**
src/main/java/android/**
+ src/main/resources/brut/androlib/apktool.properties
src/test/resources/brut/apktool/testapp/**
diff --git a/apktool-lib/src/main/java/brut/androlib/ApktoolProperties.java b/apktool-lib/src/main/java/brut/androlib/ApktoolProperties.java
new file mode 100644
index 00000000..92fc30aa
--- /dev/null
+++ b/apktool-lib/src/main/java/brut/androlib/ApktoolProperties.java
@@ -0,0 +1,55 @@
+/**
+ * Copyright 2011 Ryszard Wiśniewski
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package brut.androlib;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+import java.util.logging.Logger;
+
+/**
+ * @author Ryszard Wiśniewski
+ */
+public class ApktoolProperties {
+ public static String get(String key) {
+ return get().getProperty(key);
+ }
+
+ public static Properties get() {
+ if (sProps == null) {
+ loadProps();
+ }
+ return sProps;
+ }
+
+ private static void loadProps() {
+ InputStream in = ApktoolProperties.class
+ .getResourceAsStream("apktool.properties");
+ sProps = new Properties();
+ try {
+ sProps.load(in);
+ in.close();
+ } catch (IOException ex) {
+ LOGGER.warning("Can't load properties.");
+ }
+ }
+
+ private static Properties sProps;
+
+ private static final Logger LOGGER =
+ Logger.getLogger(ApktoolProperties.class.getName());
+}
diff --git a/apktool-lib/src/main/resources/brut/androlib/apktool.properties b/apktool-lib/src/main/resources/brut/androlib/apktool.properties
new file mode 100644
index 00000000..4ca86ec8
--- /dev/null
+++ b/apktool-lib/src/main/resources/brut/androlib/apktool.properties
@@ -0,0 +1 @@
+aversion = ${aversion}
diff --git a/pom.xml b/pom.xml
index 819e8899..6f181597 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,7 @@
src/main/resources
+ true
..