react-native icon indicating copy to clipboard operation
react-native copied to clipboard

is android pom correct in central ? need aar but any dependence the pom type is jar by default

Open yipengmu opened this issue 11 years ago • 0 comments

I found ReactNative Android , POM deployment to the Maven central warehouse package seemingly no write type, so that the gradle is OK, but Maven failed.

see:http://central.maven.org/maven2/com/facebook/react/react-native/0.13.0/react-native-0.13.0.pom

in Maven case ,the type of dependence is jar default, but some dependeces need aar in fact.

when i change the project to Maven ,i found a lot of packaging errors, that are not found in the corresponding jar package (itself should look for AAR).

now what i can do is add all the dependence of com.facebook.react react-native 0.13.0 aar and do the aar type dependences on the pom.xml

is something wrong by my steps? or is a bug for 0.13 reactnative for android when push to maven central

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.326 s [INFO] Finished at: 2015-10-20T19:46:04+08:00 [INFO] Final Memory: 23M/1962M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project react_android: Could not resolve dependencies for project com.laomu.reactandroid:react_android:aar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.facebook.fresco:drawee:jar:0.6.1, com.android.support:support-v4:jar:21.0.3, com.facebook.fresco:imagepipeline:jar:0.6.1, com.facebook.fresco:fbcore:jar:0.6.1: Failure to find com.facebook.fresco:drawee:jar:0.6.1

yipengmu avatar Oct 20 '15 12:10 yipengmu