Git Product home page Git Product logo

spmia-chapter10's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

spmia-chapter10's Issues

Error during mvn build "variable 'env.BUILD_NAME' has no value" in master tag 68d475a

I did a git clone of chapter 10, then

mvn clean package docker:build

The build fails, and at the end the error is

variable 'env.BUILD_NAME' has no value

I'm using

Apache Maven 3.5.4
java version "1.8.0_152"
git version 2.20.1
Docker version 18.09.1, build 4c52b90
Mac OS X 10.12.6

Chapters 1-9 built just fine

I made a minor change to the pom.xml file, to change the Spring Boot version to 1.4.4.RELEASE as in Chapter 9 pom, but the build error is the same.

BTW the README here for Chapter 10 may have a typo, references Ch 9.

ERROR: no such image: johncarnell/tmx-eurekasvr:: invalid reference format

I'm hitting the error listed in the title:

First, I'm building chapter 9 ...

cd spmia-chapter9/
mvn clean package docker:build
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50.815 s
[INFO] Finished at: 2018-09-09T18:30:20+01:00
[INFO] Final Memory: 88M/501M
[INFO] ------------------------------------------------------------------------

Then I'm trying to run chapter 10 ...

$ cd spmia-chapter10/
$ ls
README.md		docker			organization-service	zuulsvr
authentication-service	eurekasvr		pom.xml
confsvr			licensing-service	travis_scripts
$ docker-compose -f docker/common/docker-compose.yml up
WARNING: The BUILD_NAME variable is not set. Defaulting to a blank string.
ERROR: no such image: johncarnell/tmx-eurekasvr:: invalid reference format

The problem seems to be because the BUILD_NAME variable is not set.

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.