To build the embabel-hub locally a developer must copy the snapshot jar from the target folder to the root directory and rename it:
cp ./target/guide-0.1.0-SNAPSHOT.jar guide-app.jar .
The reason for this is that the Dockerfile - for some reason - uses the guide-app.jar instead of referencing the target jar and renaming it in the Dockerfile itself. Something like: COPY target/guide-*.jar app.jar
Otherwise a developer using embabel-hub is going to stumble on this tripwire and spend time debugging the build process instead of using the tool.
To build the embabel-hub locally a developer must copy the snapshot jar from the target folder to the root directory and rename it:
cp ./target/guide-0.1.0-SNAPSHOT.jar guide-app.jar.The reason for this is that the Dockerfile - for some reason - uses the guide-app.jar instead of referencing the target jar and renaming it in the Dockerfile itself. Something like:
COPY target/guide-*.jar app.jarOtherwise a developer using embabel-hub is going to stumble on this tripwire and spend time debugging the build process instead of using the tool.