Mittwoch, 9. September 2015

NEW Android-Plugin version + Archetype Update

Today I am very glad to announce the update of BARACUS maven archetype. Now it uses the simpligility android-maven-plugin, which is the successor of the deprecated jayway plugin.

The new archetype is compliant to the required structure of the new plugin version.

To create a new BARACUS based project, mvn archetype:generate your app and simply follow the steps-to-perform-section here

IntelliJ users please keep in mind to modifiy the project structure after creating the project or after migrating to the new plugin version:




HOW TO MIGRATE AN EXISTING PROJECT


  1. in pom.xml, set android.plugin.version to 4.3.0
  2. in pom.xml, change (both plugin-management and plugins) android plugin group IDs to com.simpligility.maven.plugins
  3. move res folder to src/main/res
  4. move AndroidManifest.xml to /src/main/AndroidManifest.xml
  5. if you have assets, do the same
  6. eventually move your native libs too (I don't have any ones, so I can't tell you)
Finally, if you use IntelliJ IDEA, alter the project structure as shown above.

Have Fun,
MNT