Android maven - manifestmerger property

A property has been added to ADT 20.0.0 (link from here ) manifestmerger(to include the manifest of the library project in the application project). Is it possible to include this property in maven assemblies? if so, how?

+5
source share
3 answers

This feature was added to the android-maven plugin, and the information is available at: https://github.com/jayway/maven-android-plugin/pull/135

+1
source

To get the exact answer from the transfer request that the function added :

<plugin>
    <groupId>com.jayway.maven.plugins.android.generation2</groupId>
    <artifactId>android-maven-plugin</artifactId>
    <configuration>
        <!-- add the following mergeManifests option -->
        <mergeManifests>true</mergeManifests>
    </configuration>
</plugin>
+2
source

, APKLIB.

APKLIBs AAR, Android.

AAR :

<plugin>
    <groupId>com.simpligility.maven.plugins</groupId>
    <artifactId>android-maven-plugin</artifactId>
    <configuration>
        <manifestMergeLibraries>true</manifestMergeLibraries>
    </configuration>
</plugin>

See http://simpligility.imtqy.com/android-maven-plugin/manifest-merger-mojo.html

0
source

All Articles