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?
Asked
Active
Viewed 344 times
0
-
Silly question: have you tried Maven → Reimport yet? – Matt Ball May 03 '18 at 03:25
-
Yeah I have. Maybe because of geographical position?@MattBall – code-life balance May 03 '18 at 03:35
-
Does it help if you remove comments inside "plugin" tag and reimport project? – y.bedrov May 03 '18 at 10:50
1 Answers
1
The mybatis-generator <plugin/>
should be put outside the <pluginManagement/>
.
Here's the reference question: Maven: What is pluginManagement?

Stephen Rauch
- 47,830
- 31
- 106
- 135

Zwei Chan
- 26
- 2