Closed patpatpat123 closed 3 years ago
@patpatpat123,
maybe you can submit a PR, for this enhancement?
Definitely interested to contribute to this cool project.
However, I am doubtful of my coding skill to properly solve this.
As you can see, I am more of a happy user, that knows how to import a dependency and run a maven command.
Maybe if you can point me to the right direction, that will be helpful.
Something like "in order to resolve this, annotate those methods with an annotation".
"In order to resolve this, add this dependency"
"In order to resolve this, change the implementation of this class A by using a thread pool executor"
Some pointers like those would be helpful otherwise, my understanding of tis project is really just as a happy user.
Thank you!
I know about the contribution guide and what is a PR.
What I was trying to say is that I have no idea what to put IN the pull request to fix this 😛
Sorry, I am not that good with java, just a happy user
ok i see ... We will close this enhancement request, as it doesn't seem to be a top priority for the project.
Actually, it is more of a bug fix request, building docs in parallel should be thread safe, I haven't read any documentation stating this plugin only generate docs one by one.
You have a workaround, by simply not running your jobs in parallel! We do not consider it a top priority request.
I understand it is not a priority, but that does not mean it is not a valid bug. And I would say, maybe you closed a valid bug
I am reading again the docs, while it is not written "this plugin supports building documentation in parallel" there is also no mention of "not running your jobs in parallel!"
It might be looking like a hidden basic java multi threading bug instead
Just trying to contribute by finding valid bugs, even if they are very low priority and meaningless :)
I guess that is the only thing a novice Java programmer can do
@patpatpat123,
This is not a bug, as you see no where in the documentation of the plugin, that it supports running jobs in parallel.
You could just submit your enhancement request which might have been more useful to the community. You can see that it doesn't require a lot!
Anyway, i did the change. You can test it using the last SNAPSHOT, once available in maven central.
To be honest, my Java level is not good enough to understand the commit you made shame on me!
But indeed, what I can do is to test with the new version as soon as it is ready
May I ask if this is ready please?
Will be glad to test, but not finding anything on Maven
@patpatpat123,
You could test with the latest snapshot. Anyway, you have now also v1.2 of the plugin that is deployed in maven central.
And working now. thanks
Hello Team,
We have a maven multi module, where all child modules are independent business modules. (They could have been separated entirely into multiple standalone projects, but for organizational project, we created one multi module project, with multiple independent children modules inside, anyway, the point is not here).
Since they are independent, and we have some 30 of them, instead of building, running test, generating the openAPI V3 document one project after another (which is very time consuming and waste of computation) we decided to run the pipeline in parallel, with something like:
We are facing this message when we are doing so:
Just to confirm if we do not run openAPI V3, we have the parallelism fine. So, I just wanted to report the issue (or ask for the request for enhancement) to make this plugin thread safe for parallelism documentation generation in the even of maven multi module projects.
Thank you