Add Android Support (when packaging type is apk)
------------------------------------------------
Key: MIDEA-126
URL: http://jira.codehaus.org/browse/MIDEA-126
Project: Maven 2.x IDEA Plugin
Issue Type: Improvement
Affects Versions: 2.2
Reporter: Mathieu Carbou
Attachments: add-android-support.patch
Hi,
When developping with applications for Android platform, we have the ability to
also use Maven thanks to this plugin your moght know:
http://code.google.com/p/maven-android-plugin/
http://www.sonatype.com/books/mvnref-book/reference/android-dev-sect-using.html
The artifact packaging must be set to 'apk'.
IntelliJ IDEA has a special module type for this: the module type must be set
to ANDROID_MODULE.
Attached is a patched that was build upon the trunk code of 3rd July 2010 that
add support for Android.
When we issue a mvn idea:idea, the correct IntelliJ module type is created with
the plateform we want:
<plugin>
<artifactId>maven-idea-plugin</artifactId>
<version>2.3-20100703-SNAPSHOT</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<androidPlaform>Android 2.2 Platform</androidPlaform>
</configuration>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira