code-life balance
code-life balance

Reputation: 319

Why Intellij Idea cannot generate a maven plugin?

phenomenon

In this picture, I set up a plugin tag in pom.xml in order to use the mybatis-generator-maven-plugin but unfortunately there isn't a plugin in maven projects on the right side. I wanna know what's the problem?

Upvotes: 0

Views: 431

Answers (1)

Zwei Chan
Zwei Chan

Reputation: 26

The mybatis-generator <plugin/> should be put outside the <pluginManagement/>.

Here's the reference question: Maven: What is pluginManagement?

Upvotes: 1

Related Questions