Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define maven revision property when packaging jars in Dockerfile so the images are built successfully #410

Merged

Conversation

davidheryanto
Copy link
Collaborator

This pull request adds back -Drevision=$REVISION argument in the Dockerfiles because without it Docker build will fail because subsequent steps assumes revision property is set.

Side note
${revision} variable is removed in #394. It is defined explicitly because during deployment, if revision property is not defined explicitly i.e ${revision} variable is used, the deployed child pom will have an invalid parent pom version because ${revision} is not evaluated during deployment.

However, now that we will use maven-flatten-plugin in #406, we can use back ${revision} variable in pom.xml. ${revision} gives us more flexibility when running mvn install command: https://maven.apache.org/maven-ci-friendly.html

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidheryanto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@khorshuheng
Copy link
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit aa34a6b into feast-dev:master Jan 6, 2020
@khorshuheng
Copy link
Collaborator

/approve

@davidheryanto davidheryanto deleted the fix-maven-build-revision-arg branch January 6, 2020 13:25
ches pushed a commit to agoda-com/feast that referenced this pull request May 23, 2020
feast-ci-bot pushed a commit that referenced this pull request May 23, 2020
* Add Java code coverage reporting with JaCoCo

* Define revision property when packaging jars in Dockerfile (#410)

Co-authored-by: David Heryanto <david.heryanto@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants