This issue has been on the google code website for 5 months now (http://code.google.com/p/android-apktool/issues/detail?id=284). There's a work around posted there, but the work around doesn't work, so maybe someone here has another one. I believe this is specific to nux-based development environments.
Reason: Cannot find parent: brut.apktool.smali:smali-pom for project: brut.apktool.smali:smali:jar:${aversion} for project brut.apktool.smali:smali:jar:${aversion}
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Jun 11 21:20:37 PDT 2012
[INFO] Final Memory: 16M/39M
[INFO] ------------------------------------------------------------------------
K, so here is the workaround that was posted in google code Issue 284:
Open the subdirectory "repository\brut\apktool" in your local maven repository. It is usually located in you user home directory in a directory named ".m2".
Afterwards the "mvn package" command will succeed.
Except that the build does not succeed, I get the same output. Seems like some other file is responsible for the faulty version tag but I don't know which one. Anybody?
This issue has been on the google code website for 5 months now (http://code.google.com/p/android-apktool/issues/detail?id=284). There's a work around posted there, but the work around doesn't work, so maybe someone here has another one. I believe this is specific to nux-based development environments.
What steps will reproduce the problem?
What is the expected output? What do you see instead? Expected a successful build but the following output is generated:
Downloading: http://android-apktool.googlecode.com/svn/m2-releases/brut/apktool/smali/smali-pom/1.0-SNAPSHOT/smali-pom-1.0-SNAPSHOT.pom [INFO] Unable to find resource 'brut.apktool.smali:smali-pom:pom:1.0-SNAPSHOT' in repository android-apktool.googlecode.com (http://android-apktool.googlecode.com/svn/m2-releases) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM).
Project ID: brut.apktool.smali:smali:jar:${aversion}
Reason: Cannot find parent: brut.apktool.smali:smali-pom for project: brut.apktool.smali:smali:jar:${aversion} for project brut.apktool.smali:smali:jar:${aversion}
[INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Jun 11 21:20:37 PDT 2012 [INFO] Final Memory: 16M/39M [INFO] ------------------------------------------------------------------------
K, so here is the workaround that was posted in google code Issue 284:
smali\baksmali\1.3.0-brut6\baksmali-1.3.0-brut6.pom smali\dexlib\1.3.0-brut6\dexlib-1.3.0-brut6.pom smali\smali\1.3.0-brut6\smali-1.3.0-brut6.pom smali\util\1.3.0-brut6\util-1.3.0-brut6.pom
in each of this files replace
"${aversion} " or "${version} " with
"1.3.0-brut6 "
and 4 lines below in the element replace
"1.0-SNAPSHOT " with "1.0-brut1 "
Afterwards the "mvn package" command will succeed.
Except that the build does not succeed, I get the same output. Seems like some other file is responsible for the faulty version tag but I don't know which one. Anybody?