-
Notifications
You must be signed in to change notification settings - Fork 14
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
[discussion] Support of maven project, modules, parent #179
Comments
I propose that we only support project structure |
For |
I agree that we should only support types 1 and 2 since these are the logical organizations that people are likely to use. We should also support the most common use case which is: single module per git repo.
I'm not sure as this means that some of the intelligence needs to move to the client and I think that the operator should actually handle that case. That said, I'm not sure what can be done without the client informing the operator about it. I really don't like this because that means having to handle special cases in the client. Then if consider that's only one special case among possibly many for different build systems and you start to see why I don't really like opening this Pandora's box. |
Even if the client informs the operator, all the code should be pushed or at least the module plus the parent pom.xml |
And that's exactly what I would like to avoid because that requires the client to know about maven (and gradle, and npm and…). Problem is: I'm not sure how to make it work otherwise… :( |
Something else to be considered is :
|
The only solution that I see is to ask a question to the developer with the CLI in order to know if this is :
|
This still requires the client to know about maven… |
Why. According to the response, you copy/push the content of the current folder for the scenario - 1 component and for the second scenario (x comonents) all the files and sub-folders |
How does the tool know that the directories are actually maven modules that should be considered as components without knowing about maven? |
Discussion
This ticket list the different maven project combinations and the problems that currently we must resolve
1. Multiple independent components under a single git repo without a parent pom
/path
of the project2. Multi-module maven project under a single parent
cannot build (unless parent is already published in a publicly available maven repo)
3. Multi-module maven project under a single parent
Remark: The children don't reference the parent (BAD organization in terms of maven project)
modules. However, this can only work if nothing in the parent is needed by the children (though
the same would happen with a regular maven build)
The text was updated successfully, but these errors were encountered: