org.mortbay.jetty:jetty-maven-plugin is missing

I am creating new project using vaadin. When i build the war, i am getting the below error


‘build.plugins.plugin.version’ for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 164, column 21
‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 96, column 21

They aren’t errors, they are warnings. You can fix them yourself by adding version tags to the dependencies. If you don’t use Jetty, you can remove that dependency altogether.

The build still works even though it warns you.