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

Use the placeholder in doc for artifact version #2564

Open
awxiaoxian2020 opened this issue May 16, 2022 · 3 comments
Open

Use the placeholder in doc for artifact version #2564

awxiaoxian2020 opened this issue May 16, 2022 · 3 comments

Comments

@awxiaoxian2020
Copy link
Contributor

In our doc, we use mybatis-x.x.x.jar for the current version, I found in Mybatis-Spring, it fixed by ${project.version}, I'm not familiar with maven this feature. It doesn't work when I replaced with it. Need help.

@awxiaoxian2020
Copy link
Contributor Author

@awxiaoxian2020 awxiaoxian2020 changed the title Use the Project Interpolation in doc for version Use the Project Interpolation in doc for artifact version May 21, 2022
@hazendaz
Copy link
Member

@awxiaoxian2020 Its using maven filtering which replaces entries in documentation with maven properties. See https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

@awxiaoxian2020
Copy link
Contributor Author

@awxiaoxian2020 Its using maven filtering which replaces entries in documentation with maven properties. See https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

I tried it and failed. It doesn't work for my config. Could you please make a PR if you are available?

@awxiaoxian2020 awxiaoxian2020 changed the title Use the Project Interpolation in doc for artifact version Use the placeholder in doc for artifact version May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants