Al ejecutar la instrucción mvn clean compile android:dex android:apk
se produce el siguiente error por un fallo en la configuración del plugin android para maven:
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:dex (default-cli) on project DemoPhoneGap-1: Execution default-cli of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:dex failed: For artifact {DemoPhoneGap-1:DemoPhoneGap-1:0.0.1-SNAPSHOT:jar}: An attached artifact must have a different ID than its corresponding main artifact. -> [Help 1]