Closed mstevens83 closed 9 years ago
I am using https://github.com/jpardogo/gradle-mvn-push to push the lib to maven central
I was afraid you were indeed using some automated tool. Do you think there is a way to add that 1 line to the pom file (possibly manually?) either before or after it goes on maven central? Thanks for considering it.
I have no idea how because I don't have pom.xml file.... but if you discover how I would be happy to help ;)
Please consider merging my pull request above and releasing a new build (as v1.0.8 I guess?) to Maven Central. It should have the
The pom file of the om.jpardogo.materialtabstrip library (as published to Maven central: http://repo1.maven.org/maven2/com/jpardogo/materialtabstrip/library/1.0.6/library-1.0.6.pom) contains this dependency declaration
This causes a problem when a project which depends on the library is being built using maven (rather than gradle, which I assume doesn't have this problem). Because recent versions of support-v4 are packaged as an
aar
file, rather than the defaultjar
maven is unable to resolve the dependency:This is very easy to solve however, all it takes is adding the packaging type to the dependency declaration:
Please consider this for the next release to Maven central. Thanks!