Created
June 17, 2012 17:34
-
-
Save ljanzik/2945148 to your computer and use it in GitHub Desktop.
Building Android App with Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<projectDescription> | |
<name>thoughtsonmobile-testapp</name> | |
<projects/> | |
<buildSpec> | |
<!-- added two adt build commands for full eclipse support --> | |
<buildCommand> | |
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | |
<arguments></arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | |
<arguments></arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
</buildCommand> | |
<buildCommand> | |
<name>org.maven.ide.eclipse.maven2Builder</name> | |
</buildCommand> | |
</buildSpec> | |
<natures> | |
<!-- added project nature for eclipse --> | |
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | |
<nature>org.maven.ide.eclipse.maven2Nature</nature> | |
<nature>org.eclipse.jdt.core.javanature</nature> | |
</natures> | |
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn archetype:generate \ | |
-DarchetypeArtifactId=android-quickstart \ | |
-DarchetypeGroupId=de.akquinet.android.archetypes \ | |
-DarchetypeVersion=1.0.8 \ | |
-DgroupId=com.thoughtsonmobile \ | |
-DartifactId=thoughtonmobile-testapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
<configuration> | |
[...] | |
<keystore>path/to/keystore</keystore> | |
<storepass>password</storepass> | |
<keypass>anotherOrMaybeTheSamePassword</keypass> | |
<arguments> | |
<argument>-sigalg</argument><argument>MD5withRSA</argument> | |
<argument>-digestalg</argument><argument>SHA1</argument> | |
</arguments> | |
</configuration> | |
[...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings> | |
<profiles> | |
<profile> | |
<id>standard</id> | |
<properties> | |
<android.sdk.path>/path/to/android-sdk</android.sdk.path> | |
</properties> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<activeProfile>standard</activeProfile> | |
</activeProfiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment