Giter Site home page Giter Site logo

Comments (1)

eacdy avatar eacdy commented on July 17, 2024

需要切换到 docker-1-simple 目录再执行构建。像下面一样:

➜  spring-cloud-docker-microservice-book-code-docker git:(master) cd docker-1-simple/
➜  docker-1-simple git:(master) mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.itmuch.cloud:microservice-consumer-movie-ribbon-hystrix:jar:0.0.1-SNAPSHOT
[WARNING] 'parent.relativePath' of POM com.itmuch.cloud:microservice-consumer-movie-ribbon-hystrix:0.0.1-SNAPSHOT (/Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-consumer-movie-ribbon-hystrix/pom.xml) points at com.itmuch.cloud:parent instead of org.springframework.boot:spring-boot-starter-parent, please verify your project structure @ line 11, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] microservice-consumer-movie-ribbon-hystrix                         [jar]
[INFO] microservice-discovery-eureka                                      [jar]
[INFO] microservice-gateway-zuul                                          [jar]
[INFO] microservice-hystrix-dashboard                                     [jar]
[INFO] microservice-hystrix-turbine                                       [jar]
[INFO] microservice-provider-user                                         [jar]
[INFO] parent                                                             [pom]
[INFO]
[INFO] ----< com.itmuch.cloud:microservice-consumer-movie-ribbon-hystrix >-----
[INFO] Building microservice-consumer-movie-ribbon-hystrix 0.0.1-SNAPSHOT [1/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-consumer-movie-ribbon-hystrix/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-consumer-movie-ribbon-hystrix/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-consumer-movie-ribbon-hystrix/target/microservice-consumer-movie-ribbon-hystrix-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-consumer-movie-ribbon-hystrix ---
[INFO]
[INFO] -----------< com.itmuch.cloud:microservice-discovery-eureka >-----------
[INFO] Building microservice-discovery-eureka 0.0.1-SNAPSHOT              [2/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-discovery-eureka ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-discovery-eureka ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-discovery-eureka ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-discovery-eureka/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-discovery-eureka ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-discovery-eureka/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-discovery-eureka ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-discovery-eureka ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-discovery-eureka ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-discovery-eureka/target/microservice-discovery-eureka-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-discovery-eureka ---
[INFO]
[INFO] -------------< com.itmuch.cloud:microservice-gateway-zuul >-------------
[INFO] Building microservice-gateway-zuul 0.0.1-SNAPSHOT                  [3/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-gateway-zuul ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-gateway-zuul ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-gateway-zuul ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-gateway-zuul/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-gateway-zuul ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-gateway-zuul/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-gateway-zuul ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-gateway-zuul ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-gateway-zuul ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-gateway-zuul/target/microservice-gateway-zuul-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-gateway-zuul ---
[INFO]
[INFO] ----------< com.itmuch.cloud:microservice-hystrix-dashboard >-----------
[INFO] Building microservice-hystrix-dashboard 0.0.1-SNAPSHOT             [4/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-hystrix-dashboard ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-hystrix-dashboard ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-hystrix-dashboard ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-dashboard/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-hystrix-dashboard ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-dashboard/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-hystrix-dashboard ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-hystrix-dashboard ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-hystrix-dashboard ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-dashboard/target/microservice-hystrix-dashboard-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-hystrix-dashboard ---
[INFO]
[INFO] -----------< com.itmuch.cloud:microservice-hystrix-turbine >------------
[INFO] Building microservice-hystrix-turbine 0.0.1-SNAPSHOT               [5/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-hystrix-turbine ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-hystrix-turbine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-hystrix-turbine ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-turbine/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-hystrix-turbine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-turbine/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-hystrix-turbine ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-hystrix-turbine ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-hystrix-turbine ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-hystrix-turbine/target/microservice-hystrix-turbine-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-hystrix-turbine ---
[INFO]
[INFO] ------------< com.itmuch.cloud:microservice-provider-user >-------------
[INFO] Building microservice-provider-user 0.0.1-SNAPSHOT                 [6/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ microservice-provider-user ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ microservice-provider-user ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microservice-provider-user ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-provider-user/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ microservice-provider-user ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-provider-user/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ microservice-provider-user ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ microservice-provider-user ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ microservice-provider-user ---
[INFO] Building jar: /Users/reno/develop/test/spring-cloud-docker-microservice-book-code-docker/docker-1-simple/microservice-provider-user/target/microservice-provider-user-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ microservice-provider-user ---
[INFO]
[INFO] ----------------------< com.itmuch.cloud:parent >-----------------------
[INFO] Building parent 0.0.1-SNAPSHOT                                     [7/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for parent 0.0.1-SNAPSHOT:
[INFO]
[INFO] microservice-consumer-movie-ribbon-hystrix ......... SUCCESS [  2.864 s]
[INFO] microservice-discovery-eureka ...................... SUCCESS [  0.432 s]
[INFO] microservice-gateway-zuul .......................... SUCCESS [  0.399 s]
[INFO] microservice-hystrix-dashboard ..................... SUCCESS [  0.294 s]
[INFO] microservice-hystrix-turbine ....................... SUCCESS [  0.299 s]
[INFO] microservice-provider-user ......................... SUCCESS [  0.497 s]
[INFO] parent ............................................. SUCCESS [  0.086 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.434 s
[INFO] Finished at: 2019-04-16T09:53:28+08:00
[INFO] ------------------------------------------------------------------------
➜  docker-1-simple git:(master)

from spring-cloud-docker-microservice-book-code-docker.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.