On 2010-05-19 at 13:48, 
man...@mosabuam.com wrote:
> You could have the source project just not contain a manifest and have
> each module that reuses that package contain its own manifest and
> whatever customizations needed.
Thanks for your response,
I actually ended up solving it with a specific manifest file for the apk
goal.
In the example below I use the class based package name in the manifest
package attribute for in the AndroidManifest.xml in the directrory
src/main/android/build. And then for the apk goal execution I specify the
android market package name in the AndroidManifest.xml in the
src/main/android/package directory. 
I haven't yet uploaded the apps to android market but as far as I can tell
of the resulting apk archives it seems to work. I hope this is as intended
and not just some bug^H^H^Hfeature I happened to stumble into. ;)
  <plugin>
    <groupId>com.jayway.maven.plugins.android.generation2</groupId>
    <artifactId>maven-android-plugin</artifactId>
    <version>2.3.3</version>
    <configuration>
      <!-- actual class package name in this manifest -->
      <androidManifestFile>
        src/main/android/build/AndroidManifest.xml
      </androidManifestFile>
      <sdk>
        <path>${env.ANDROID_HOME}</path>
        <platform>1.6</platform>
      </sdk>
      <deleteConflictingFiles>true</deleteConflictingFiles>
    </configuration>
    <extensions>true</extensions>
    <executions>
      <execution>
        <goals>
          <goal>apk</goal>
        </goals>
        <configuration>
          <!-- android market package name in this manifest -->
          <androidManifestFile>
	    src/main/android/package/AndroidManifest.xml
          </androidManifestFile>
        </configuration>
      </execution>
    </executions>
  </plugin>