-
Notifications
You must be signed in to change notification settings - Fork 84
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
Unable to build when maven project is in a sub-directory #110
Comments
Sounds fair to me. Fancy doing a PR ? The question is, whether we should also allow for a path to a pom.xml (by setting a For the directory env var name I'd suggest something like |
I will look into this. |
Do we plan to support this option which is needed when by example we have a maven project having several maven modules without parent pom.xml ? |
I think this should be possible by using |
It seems that the java build has an issue when the source code of the maven project is inside a sub-directory of the repository.
There is a check in the assemble script which checks for the existence of the
pom.xml
, but this usesS2I_SOURCE_DIR
, which it seems cannot be overridden by the build.My proposal would be to add some additional kind of environment variable (e.g.
SOURCE_ROOT_DIR
) which defaults to.
and can be overridden.The text was updated successfully, but these errors were encountered: