Pom.xml not generated when android project contains flavors

I have created an Android project that contains flavors. To compile my different flavors I need to set publishNonDefault

to true. But when I turn on the flavors, the plugin android-maven

doesn't create the pom.xml file (the other files publish well in the maven repo, though).

If you disable attributes and set it publishNonDefault

to false, a pom.xml file will be generated.

Is there a solution to post various options for a maven repo with a pom.xml file?

+3


source to share





All Articles