Using the specified debug.keystore in Maven for Android

I know how to specify the release key store in the Android Maven assembly, but no luck doing the same with the debug assembly.

The methodology for creating the release can be found here - https://code.google.com/p/maven-android-plugin/wiki/SigningAPKWithMavenJarsigner .

When creating debug builds, the android-maven-plugin sign-> debug setting should be true and the release configuration should be false, but if debugging is set to true, the maven-jarsigner-plugin configuration seems to be ignored.

When using (android-maven-plugin):

<sign> <debug>true</debug> </sign> 

And specifying the key (maven-jarsigner-plugin):

 <goals> <goal>sign</goal> </goals> <phase>package</phase> <inherited>true</inherited> <configuration> <archiveDirectory></archiveDirectory> <includes> <include>${basedir}/someFolder/target/*.apk</include> </includes> <keystore>${basedir}/someFolder/debug.keystore</keystore> <storepass>android</storepass> <keypass>android</keypass> <alias>androiddebugkey</alias> </configuration> 

The default line will use debug.keystore in my .android directory. If I delete / rename debug.keystore, it will just create a new one.

The reason I want to specify debug.keystore is because I am working on a team of several people and we use Google Maps v2. The only access token in the v2 Maps API instead of one team member is our desire.

thanks

EDIT:

My current workaround is a script package with my repo to replace their debug.keystore:

 cp -r someFolder/debug.keystore ~/.android/debug.keystore 
+7
android maven android-maven-plugin
source share

No one has answered this question yet.

See related questions:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to keep Android activity state by saving instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
1188
How to get the build / version number of your Android app?
fifteen
android-maven-plugin: disable debug build for apk

All Articles