Hello! I don't understand where this ${exampleVersion} coming from in echo plugin. I may have overlooked but I don't see it defined anywhere in the codebase. Btw I am new to the maven world. Any explanation here would be appreciated.
Hey BudBreaker, IntelliJ (or any of the related IDEs) have a "Live Templates" feature, it's the same feature that can complete for loops if you type `for` or `fori`. Here is a quick screenshot of mine: gist.github.com/bdemers/61f68e8ff64a1df13bf706958bedb8f4
@@OktaDev oh okay, so it's a custom one. I use live templates regularly, most often for sout and soutv (System.out.println) but yours didn't come up so I was a little confused of why and how do one import them. Thanks ! :)
Sure! There might already be a plugin that fits your needs. Take a look at the Checksyle plugin, if that doesn't work for you, it would be a good starting point.
it is doesn't compile together... maven-plugin org.apache.maven.plugins Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor
@@sudheergurram4527 What error were you seeing? Do you have the correct imports? They should look something like this: github.com/oktadev/example-maven-plugin/blob/simple-plugin/src/main/java/com/okta/example/maven/GitVersionMojo.java#L3-L21 There is also a text version of this post here: developer.okta.com/blog/2019/09/23/tutorial-build-a-maven-plugin (which will make it a little easier to copy/paste) or directly from GitHub of course!
Very easy to follow and implement, thanks a lot for such a great video!
Step by Step, perfect guide! Helped me a lot, thank you!
Really a helpful tutorial. Could understand end to end in maven plugin creation.
Awesome! Slow and Steady! Understandable mode! Clarity! Interesting.......
Nice guide. Thank you a lot. Can you share how called plugin, which gives ready maven markup templates using shortcuts?
Really helpful, we need more advance maven plugin tutorial
This was great. Thank you!
Nice job! Very helpful.
Hello! I don't understand where this ${exampleVersion} coming from in echo plugin. I may have overlooked but I don't see it defined anywhere in the codebase. Btw I am new to the maven world. Any explanation here would be appreciated.
same here don't understand where it is coming
Very nice tutorial 👍
Great tutorial, thank you! :)
Hi Quick question can we create custom maven plugin that start java-swing code
hello, how did you manage to generate the plugin dependencies by typing mvn-plugin-deps ? My Idea does not do that.
Hey BudBreaker,
IntelliJ (or any of the related IDEs) have a "Live Templates" feature, it's the same feature that can complete for loops if you type `for` or `fori`.
Here is a quick screenshot of mine: gist.github.com/bdemers/61f68e8ff64a1df13bf706958bedb8f4
@@OktaDev oh okay, so it's a custom one. I use live templates regularly, most often for sout and soutv (System.out.println) but yours didn't come up so I was a little confused of why and how do one import them. Thanks ! :)
Can i fail a maven build using custom plug in if any class name does not follow certain lex rules?
Sure! There might already be a plugin that fits your needs. Take a look at the Checksyle plugin, if that doesn't work for you, it would be a good starting point.
Excellent video! Well done
Fantastic! Thank you.
Very nice!
it is doesn't compile together... maven-plugin
org.apache.maven.plugins
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor
Subscribed dude!
I couldn't extend the class as AbstractMojo..Could any one help me
@oktadev??
@@sudheergurram4527 What error were you seeing? Do you have the correct imports? They should look something like this: github.com/oktadev/example-maven-plugin/blob/simple-plugin/src/main/java/com/okta/example/maven/GitVersionMojo.java#L3-L21
There is also a text version of this post here: developer.okta.com/blog/2019/09/23/tutorial-build-a-maven-plugin (which will make it a little easier to copy/paste) or directly from GitHub of course!