Skip to content

Instantly share code, notes, and snippets.

@granoeste
Created May 1, 2014 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save granoeste/863636257d703cd51719 to your computer and use it in GitHub Desktop.
Save granoeste/863636257d703cd51719 to your computer and use it in GitHub Desktop.
[Android][Maven][AndroidAnnotations] androidManifestFile options in pom.xml
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
<!-- does not work. -->
<!--
<compilerArguments>
<AandroidManifestFile>${project.basedir}/src/main/AndroidManifest.xml</AandroidManifestFile>
</compilerArguments>
-->
<compilerArgument>-AandroidManifestFile=${project.basedir}/src/main/AndroidManifest.xml</compilerArgument>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment