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
Fix Maven plugin help task #3036
Conversation
- Created basic test for `dokka:help` - split up the tasks that prepare/generate/sync the Maven plugin files - remove (now) unused `MavenCliSetupExtension.mavenBuildDir`
hey @binkley, could you take a look please? Do you have an idea why the |
Do I have the right Dokka version? |
Hey, sorry, I'm not sure what you mean? This PR is a proposed fix, it's not merged into the master branch yet. Even after it's merged, it could be a few months before it's released! But I would appreciate it if you reviewed my proposed changes, and ask questions or suggest improvements. You could also check out my branch, publish it to Maven Local |
public class org/jetbrains/dokka/maven/HelpMojo : org/apache/maven/plugin/AbstractMojo { | ||
public fun <init> ()V | ||
public fun execute ()V | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition indicates that dokka:help
hasn't been available at most since Dokka 1.4.32 (when the BCV was introduced), and probably not before that.
Apologies that this conversation is going off topic. The real purpose is that @aSemy Sorry, I do not understand. So if a git tag in the repo refers to a release version (ie, something like x.y.z) when pointing to beta, this is a problem. The release notes refer to the tag of 1.8.20 but the release notes state this is Beta. |
Dokka as a tool is technically in Beta now, see Stability of Kotlin components. Not sure what you mean by "the final release", but I agree it can be confusing. Hopefully it won't be a problem for much longer though, as Dokka is slowly approaching the Stable release. I don't know much about Maven plugins, but I can have a look at the PR if you think it's ready @aSemy. I think some of the bugs you mentioned might be due to the outdated versions of Maven dependencies, I don't remember when we updated them last |
@IgnatBeresnev Thank you for the explanation. My expectations were in the wrong place. I think of Dokka as a solid tool, and forgot about the beta nature. |
Please, take a look, thanks. I thought I would attempt a fix since I refactored the Maven Plugin config in #2911. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, as always 👍
Could you please rebase onto master (or merge it in) to resolve the conflicts? After that, I'll run the integration tests and make sure publishing is not affected, and it can be merged |
a0b6a43
to
61619d5
Compare
# Conflicts: # runners/maven-plugin/build.gradle.kts
Ran the test locally, everything looks good. Thank you very much for the contribution! |
Fix #3035
pom.template.xml
so the HelpMojo is generated correctlydokka:help
MavenCliSetupExtension.mavenBuildDir