-1

I need to use the android-maven-plugin for my project (especially for the multidex feature) but I can not figure out how to configure my actual pom.xml file (is is a standard file). I am using Eclipse Luna on Windows.

I did not manage to find any tutorial, does anyone has a good link about how to use and configure it ?

I want to use this plugin artifact :

<plugin>
    <groupId>com.simpligility.maven.plugins</groupId>
    <artifactId>android-maven-plugin</artifactId>
    <version>4.3.0</version>
</plugin>

NOTE : do not confund with groupId com.jayway.maven.plugins.android.generation2

NOTE 2 : I think it is not the same problem and solution here : how to start using android-maven-plugin?

Community
  • 1
  • 1
56ka
  • 1,463
  • 1
  • 21
  • 37
  • http://www.vogella.com/tutorials/AndroidBuildMaven/article.html – ask4solutions Jul 14 '15 at 12:33
  • you should stop using Eclipse for Android development. It's officially not supported anymore, and you will always get into more and more trouble trying to use it. – Budius Jul 14 '15 at 12:45
  • @Budius Thank you for the advice. But my project is mainly a desktop application and the android part is small... so I do not want to use Android Studio for the whole project, I could use both in the same time but I can feel in advance that it will be a nightmare :-/ And also I do not want to migrate the whole project on Gradle, I do not have time for this. – 56ka Jul 14 '15 at 12:52
  • @ask4solutions Thank you but the tutorial is for the groupId that I say I did not want to use... – 56ka Jul 14 '15 at 12:55

1 Answers1

1

The Android Maven Plugin used to use the jayway groupId and has simply migrated to the simpligility based one.

All instructions you find are still valid apart from the differing groupId. Specifically I would suggest to look at the documentation website and the example projects.

Manfred Moser
  • 29,539
  • 13
  • 92
  • 123
  • Hi Manfred, since ADT for Eclipse is not compatible with multidex I decided to migrate to Android Studio :-/ Thank you anyway – 56ka Jul 21 '15 at 13:36
  • ADT is maintained as part of the Eclipse Andmore project and they are probably going to support multidex (or maybe do so already). – Manfred Moser Jul 21 '15 at 16:31
  • And my answer still applies so maybe you want to accept it. – Manfred Moser Jul 21 '15 at 16:31
  • In fact I was hoping for a tutorial more than a technical documentation. I think a kind of "how to install plugin" for the noob would help some people (like I did here https://groups.google.com/d/msg/maven-android-developers/QzFg158CMww/Z3G3ZveHIKoJ) – 56ka Jul 22 '15 at 13:56