aar包编译成源码

特别提醒.jpg

请结合网络上一些文章操作,以下是我成功运行后的重点记录

  1. http://maven.apache.org/download.cgi

  2. 默认库的地址
    d:/.m2/repository

  3. 镜像

    releases
    *
    http://maven.aliyun.com/nexus/content/groups/public/


    snapshots
    repo1
    http://maven.aliyun.com/nexus/content/groups/public/


    maven.oschina.net1
    repo2
    http://maven.aliyun.com/nexus/content/groups/public/


    alimaven
    central
    http://maven.aliyun.com/nexus/content/groups/public/


    ibiblio
    central
    Human Readable Name for this Mirror.
    http://mirrors.ibiblio.org/maven2/

  4. 执行一遍相同的maven命令,同时加上-U参数,让maven强制更新maven会直接将上次缓存的失败结果返回给你,如下图返回缓存失败结果stanford-corenlp-3.3.1.jar.lastUpdated

  5. 去除aar

  6. mvn dependency:sources

  7. mvn -f jackson.pom.xml dependency:copy-dependencies

  8. 在线编译

你可能感兴趣的:(aar包编译成源码)