faceterteam / PayCards_Android

Credit card scanning for mobile apps
https://pay.cards/
Other
197 stars 126 forks source link

Pom file from maven repo now returning a bunch of html, breaking all builds. #49

Closed Ed-HIcks-Branch closed 4 years ago

Ed-HIcks-Branch commented 4 years ago

https://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom

krokyze commented 4 years ago

Yep my Bitrise builds are broken now. @vitkuzmenko

ghost commented 4 years ago

+1

afomich commented 4 years ago

+1

lung9182uk commented 4 years ago

+2

LukaKordic commented 4 years ago
Could not resolve cards.pay:paycardsrecognizer:1.1.0.
         > Could not parse POM http://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom
            > The markup in the document preceding the root element must be well-formed.
delctrl commented 4 years ago

+3

vladislavbakan commented 4 years ago

The same issue, even using jitpack with link to the repo

olehsava commented 4 years ago

+4

SaintPatrck commented 4 years ago

+5

arnas-savickis-tg commented 4 years ago

+6

mkhitarstdev commented 4 years ago

+7

domhys commented 4 years ago

+8

marius-zilinskas commented 4 years ago

+9

crazyio commented 4 years ago

+10

SaintPatrck commented 4 years ago

I came up with a temporary fix by simply building the SDK artifact and importing it into my project then declaring the SDK dependencies in my project/app/build.gradle.

Import this AAR as a new module in your project or build the artifact yourself and import it: paycards-1.1.0.aar.zip*

Modify your app/build.gradle script to include the PayCardsRecognizer dependencies since they're not included in the AAR.

Note this is kotlin gradle dsl and may differ if you are still using groovy.

android {
    ....
    dependencies {
        implementation(project(mapOf("path" to "paycards-1.1.0")))
        implementation("com.facebook.device.yearclass:yearclass:2.1.0")
    }
}

You should now be able to use the PayCards library without relying on the maven reference.

Hope this helps in the meantime.

*Had to zip the attached AAR since GitHub doesn't support them. Uncompress before importing into your project

TitanioCorp commented 4 years ago

+11

alextrujillo4 commented 4 years ago

+12

Grinius commented 4 years ago

+13

SaintPatrck commented 4 years ago

POM file is accessible now. Issue should be close as resolved.

kondratk commented 4 years ago

Pom file is unavailable again.

https://pay.cards/maven/com/googlecode/libphonenumber/libphonenumber/8.10.9/libphonenumber-8.10.9.pom