Created
March 11, 2013 21:40
-
-
Save ebridges/5138027 to your computer and use it in GitHub Desktop.
Maven configuration to generate Eclipse project for an Android POM.
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-eclipse-plugin</artifactId> | |
<version>2.8</version> | |
<configuration> | |
<excludes> | |
<exclude>com.google.android:android</exclude> | |
</excludes> | |
<buildOutputDirectory>bin</buildOutputDirectory> | |
<classpathContainers> | |
<classpathContainer>com.android.ide.eclipse.adt.ANDROID_FRAMEWORK</classpathContainer> | |
</classpathContainers> | |
<additionalProjectnatures> | |
<projectnature>com.android.ide.eclipse.adt.AndroidNature</projectnature> | |
</additionalProjectnatures> | |
<additionalBuildcommands> | |
<buildcommand>com.android.ide.eclipse.adt.ResourceManagerBuilder</buildcommand> | |
<buildcommand>com.android.ide.eclipse.adt.PreCompilerBuilder</buildcommand> | |
<buildcommand>com.android.ide.eclipse.adt.ApkBuilder</buildcommand> | |
</additionalBuildcommands> | |
</configuration> | |
</plugin> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment