The following options are listed on a maven archetype:generate
19: remote -> android-quickstart (-)
20: remote -> android-release (-)
21: remote -> android-with-test (-)
There is one more plugin available at http://code.google.com/p/maven-android-plugin/
What would be the right archetype / plug-in to use for Android 3.1 application development?
In the artifact's root directory, there is a pom. xml file of the archetype. You can see the packaging maven-archetype . You can customize build of your archetype here as with any other pom.
A Maven archetype is an abstraction of a kind of a project that can be instantiated into a concrete customized Maven project. In short, it's a template project template from which other projects are created.
The archetype to use depends on the size and purpose of your project. The different archetypes are similar to creating regular Android projects where:
For anything relatively complex I would recommend going with the release configuration even though it requires some extra settings since it manages all stages of building, testing and releasing. For prototyping or minor projects the quick-start archetype may be sufficient. With-test can be used if you want to maintain more manual control of the release process but still want a maven managed test project.
If this is the first time you are using the Maven Android plugin I would suggest creating a small experimental project with the quick-start archetype to get the feel for it. Then use a release type project for your application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With