how to install

    git clone https://github.com/venusdrogon/feilong-platform.git —depth 1

    2. install feilong-platform

    mvn install -f feilong-platform/pom.xml

    1. [INFO] Scanning for projects...
    2. [INFO]
    3. [INFO] ------------------------------------------------------------------------
    4. [INFO] Building feilong-platform 1.10.4-SNAPSHOT
    5. [INFO] ------------------------------------------------------------------------
    6. [INFO]
    7. [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ parent ---
    8. [INFO] Using 'UTF-8' encoding to copy filtered resources.
    9. [INFO] skip non existing resourceDirectory /Users/feilong/workspace/test/feilong-platform/src/main/resources
    10. [INFO]
    11. [INFO] --- native2ascii-maven-plugin:1.0-beta-1:native2ascii (native2ascii) @ parent ---
    12. [INFO]
    13. [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ parent ---
    14. [INFO] Using 'UTF-8' encoding to copy filtered resources.
    15. [INFO] skip non existing resourceDirectory /Users/feilong/workspace/test/feilong-platform/src/test/resources
    16. [INFO]
    17. [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ parent >>>
    18. [INFO]
    19. [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ parent <<<
    20. [INFO]
    21. [INFO]
    22. [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ parent ---
    23. [INFO]
    24. [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ parent ---
    25. [INFO] Installing /Users/feilong/workspace/test/feilong-platform/pom.xml to /Users/feilong/Development/repository/com/feilong/platform/parent/1.10.4-SNAPSHOT/parent-1.10.4-SNAPSHOT.pom
    26. [INFO] ------------------------------------------------------------------------
    27. [INFO] BUILD SUCCESS
    28. [INFO] ------------------------------------------------------------------------
    29. [INFO] Total time: 1.255 s
    30. [INFO] Finished at: 2017-07-08T02:16:29+08:00
    31. [INFO] Final Memory: 11M/309M
    32. [INFO] ------------------------------------------------------------------------

    git clone https://github.com/venusdrogon/feilong-core.git —depth 1

    4. install feilong-core

    1. test mvn install -f feilong-core/pom.xml
    2. [INFO] Scanning for projects...
    3. [INFO]
    4. [INFO] ------------------------------------------------------------------------
    5. [INFO] Building feilong-core 1.10.4-SNAPSHOT
    6. [INFO] ------------------------------------------------------------------------
    7. Downloading: https://raw.github.com/venusdrogon/feilong-platform/repository/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.pom
    8. Downloaded: https://raw.github.com/venusdrogon/feilong-platform/repository/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.pom (5.1 kB at 1.3 kB/s)
    9. Downloading: https://raw.github.com/venusdrogon/feilong-platform/repository/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.jar
    10. Downloaded: https://raw.github.com/venusdrogon/feilong-platform/repository/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.jar (23 kB at 6.3 kB/s)
    11. [INFO]
    12. [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (prepare-agent) @ feilong-core ---
    13. [INFO] argLine set to -javaagent:/Users/feilong/Development/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/Users/feilong/workspace/test/feilong-core/target/jacoco.exec
    14. [INFO]
    15. [INFO] Using 'UTF-8' encoding to copy filtered resources.
    16. [INFO] Copying 1 resource
    17. [INFO]
    18. [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ feilong-core ---
    19. [INFO] Changes detected - recompiling the module!
    20. [INFO] /Users/feilong/workspace/test/feilong-core/src/main/java/com/feilong/core/lang/StringUtil.java: 某些输入文件使用或覆盖了已过时的 API
    21. [INFO] /Users/feilong/workspace/test/feilong-core/src/main/java/com/feilong/core/lang/StringUtil.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    22. [INFO]
    23. [INFO] --- native2ascii-maven-plugin:1.0-beta-1:native2ascii (native2ascii) @ feilong-core ---
    24. [INFO] Includes: [classes\**/*.properties, test-classes\**/*.properties]
    25. [INFO] Excludes: []
    26. [INFO]
    27. [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ feilong-core ---
    28. [INFO] Using 'UTF-8' encoding to copy filtered resources.
    29. [INFO] Copying 6 resources
    30. [INFO]
    31. [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ feilong-core ---
    32. [INFO] Changes detected - recompiling the module!
    33. [INFO] Compiling 332 source files to /Users/feilong/workspace/test/feilong-core/target/test-classes
    34. [INFO] /Users/feilong/workspace/test/feilong-core/src/test/java/com/feilong/core/util/sortutiltest/SortArrayTest.java: 某些输入文件使用或覆盖了已过时的 API
    35. [INFO] /Users/feilong/workspace/test/feilong-core/src/test/java/com/feilong/core/util/sortutiltest/SortArrayTest.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    36. [INFO] /Users/feilong/workspace/test/feilong-core/src/test/java/com/feilong/core/util/collectionsutiltest/GroupWithTransformerAndPredicateTest.java: 某些输入文件使用了未经检查或不安全的操作。
    37. [INFO] /Users/feilong/workspace/test/feilong-core/src/test/java/com/feilong/core/util/collectionsutiltest/GroupWithTransformerAndPredicateTest.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    38. [INFO]
    39. [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ feilong-core ---
    40. [INFO]
    41. [INFO] -------------------------------------------------------
    42. [INFO] T E S T S
    43. [INFO] -------------------------------------------------------
    44. [INFO] Running com.feilong.FeiLongSuiteTests
    45. 20:20 WARN (DateTimeConverter.java:471) [toDate()] DateConverter does not support default String to 'Date' conversion.
    46. 20:20 WARN (DateTimeConverter.java:472) [toDate()] (N.B. Re-configure Converter or use alternative implementation)
    47. 20:20 INFO (URLUtil.java:150) [toURL()] [new URL("E:\test")] exception,cause by :[unknown protocol: e],will try call [toFileURL("E:\test")]
    48. 20:20 DEBUG (GetUnionUrlTest.java:45) [testGetUnionUrl1()] file:/Users/feilong/workspace/test/feilong-core/sanguo
    49. 20:20 INFO (URLUtil.java:150) [toURL()] [new URL("C:\Users\feilong\feilong\train\新员工\warmReminder\20160704141057.html")] exception,cause by :[unknown protocol: c],will try call [toFileURL("C:\Users\feilong\feilong\train\新员工\warmReminder\20160704141057.html")]
    50. 20:20 DEBUG (ToURLTest.java:41) [testToURL()] file:/Users/feilong/workspace/test/feilong-core/C:%5CUsers%5Cfeilong%5Cfeilong%5Ctrain%5C新员工%5CwarmReminder%5C20160704141057.html
    51. 20:21 WARN (ResourceBundleUtil.java:151) [getValue()] resourceBundle:[java.util.PropertyResourceBundle@118ffcfd] don't containsKey:[wo_bu_cun_zai]
    52. 20:21 WARN (ResourceBundleUtil.java:151) [getValue()] resourceBundle:[java.util.PropertyResourceBundle@36c2b646] don't containsKey:[wo_bu_cun_zai]
    53. [INFO] Tests run: 1513, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.24 s - in com.feilong.FeiLongSuiteTests
    54. [INFO]
    55. [INFO] Results:
    56. [INFO]
    57. [INFO] Tests run: 1513, Failures: 0, Errors: 0, Skipped: 0
    58. [INFO]
    59. [INFO]
    60. [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ feilong-core ---
    61. [INFO] Loading execution data file /Users/feilong/workspace/test/feilong-core/target/jacoco.exec
    62. [INFO] Analyzed bundle 'feilong-core' with 62 classes
    63. [INFO]
    64. [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ feilong-core ---
    65. [INFO] Loading execution data file /Users/feilong/workspace/test/feilong-core/target/jacoco.exec
    66. [INFO] Analyzed bundle 'feilong-core' with 62 classes
    67. [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ feilong-core ---
    68. [INFO] Building jar: /Users/feilong/workspace/test/feilong-core/target/feilong-core-1.10.4-SNAPSHOT.jar
    69. [INFO]
    70. [INFO] --- maven-jar-plugin:2.6:test-jar (default) @ feilong-core ---
    71. [INFO]
    72. [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ feilong-core >>>
    73. [INFO]
    74. [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (prepare-agent) @ feilong-core ---
    75. [INFO] argLine set to -javaagent:/Users/feilong/Development/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/Users/feilong/workspace/test/feilong-core/target/jacoco.exec
    76. [INFO]
    77. [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ feilong-core <<<
    78. [INFO]
    79. [INFO]
    80. [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ feilong-core ---
    81. [INFO] Building jar: /Users/feilong/workspace/test/feilong-core/target/feilong-core-1.10.4-SNAPSHOT-sources.jar
    82. [INFO]
    83. [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ feilong-core ---
    84. [INFO] Installing /Users/feilong/workspace/test/feilong-core/target/feilong-core-1.10.4-SNAPSHOT.jar to /Users/feilong/Development/repository/com/feilong/platform/feilong-core/1.10.4-SNAPSHOT/feilong-core-1.10.4-SNAPSHOT.jar
    85. [INFO] Installing /Users/feilong/workspace/test/feilong-core/pom.xml to /Users/feilong/Development/repository/com/feilong/platform/feilong-core/1.10.4-SNAPSHOT/feilong-core-1.10.4-SNAPSHOT.pom
    86. [INFO] Installing /Users/feilong/workspace/test/feilong-core/target/feilong-core-1.10.4-SNAPSHOT-tests.jar to /Users/feilong/Development/repository/com/feilong/platform/feilong-core/1.10.4-SNAPSHOT/feilong-core-1.10.4-SNAPSHOT-tests.jar
    87. [INFO] Installing /Users/feilong/workspace/test/feilong-core/target/feilong-core-1.10.4-SNAPSHOT-sources.jar to /Users/feilong/Development/repository/com/feilong/platform/feilong-core/1.10.4-SNAPSHOT/feilong-core-1.10.4-SNAPSHOT-sources.jar
    88. [INFO] ------------------------------------------------------------------------
    89. [INFO] BUILD SUCCESS
    90. [INFO] ------------------------------------------------------------------------
    91. [INFO] Total time: 26.079 s
    92. [INFO] Finished at: 2017-07-08T02:20:23+08:00
    93. [INFO] Final Memory: 35M/591M
    94. [INFO] ------------------------------------------------------------------------

    如果你配置了镜像, 比如 aliyun

    那么在执行 mvn install -f feilong-taglib/pom.xml 会出错, 以下是大致的错误信息

    1. test mvn install -f feilong-core/pom.xml
    2. [INFO] Scanning for projects...
    3. [INFO]
    4. [INFO] ------------------------------------------------------------------------
    5. [INFO] Building feilong-core 1.10.4-SNAPSHOT
    6. [INFO] ------------------------------------------------------------------------
    7. Downloading: http://maven.aliyun.com/nexus/content/groups/public/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.pom
    8. [WARNING] The POM for com.feilong.test:feilong-common-test:jar:1.10.1 is missing, no dependency information available
    9. Downloading: http://maven.aliyun.com/nexus/content/groups/public/com/feilong/test/feilong-common-test/1.10.1/feilong-common-test-1.10.1.jar
    10. [INFO] ------------------------------------------------------------------------
    11. [INFO] BUILD FAILURE
    12. [INFO] ------------------------------------------------------------------------
    13. [INFO] Total time: 4.250 s
    14. [INFO] Finished at: 2017-07-08T02:17:58+08:00
    15. [INFO] Final Memory: 11M/245M
    16. [INFO] ------------------------------------------------------------------------
    17. [ERROR] Failed to execute goal on project feilong-core: Could not resolve dependencies for project com.feilong.platform:feilong-core:jar:1.10.4-SNAPSHOT: Could not find artifact com.feilong.test:feilong-common-test:jar:1.10.1 in alimaven (http://maven.aliyun.com/nexus/content/groups/public/) -> [Help 1]
    18. [ERROR]
    19. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    20. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    21. [ERROR]
    22. [ERROR] For more information about the errors and possible solutions, please read the following articles:
    23. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

    此时你需要修改下镜像的 mirrorOf ,让镜像排除 feilong-platform-repository 仓库

    6.帮助

    如果仍旧有问题,您可以

    feilong 即时交流

    |QQ 群 :————-|