Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Labels:None
-
Patch Submitted:Yes
Description
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>
Here is an update patch to support also changing the gen directory, without impacted other properties already available in the project.