then I created a Maven project, but the structure in the video was
You can switch perspective in idea (eclipse). In the video, which is Java EE-Perspective.
What you got is Spring-Vista, don't worry about it.
Window β Open Perspective
Now I want to add plugins to pom.xml, but getting this dialog
Well, what's wrong with that?
If you are looking for dependency on the MVN Repository , you will get all the information to populate the information that you see in the dialog box. Otherwise, you can open the pom file and paste the link directly.
I also have a compiler
Assuming you are using the m2e plugin in Eclipse, you need to specify the source and target versions as 1.7 for the maven-compiler-plugin.
specify it as follows:
<properties> <maven.compiler.target>1.7</maven.compiler.target> <maven.compiler.source>1.7</maven.compiler.source> </properties>
And update your project Right-click the project -> maven -> update project (Alt F5)
The network seems to be working fine. Are you in a private or office network?
source share