File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can anyone help me with pom.xml file

 
Ashish Dutt
Ranch Hand
Posts: 172
Java MySQL Database Python
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm getting the following error
compilation error: "for-each loops are not supported in source 1.3 maven use source 5 or higher"
when i try to compile a maven file.
After a lot of googling i found that i have to update the pom.xml file.
Following is how my current pom.xml file looks like

Now, the solution to my problem is that i have to add the following code in my pom.xml file but my problem is that i dont know where to add this code in the pom.xml file.
Please help if you know.
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This topic is not related to MongoDB and needs to be moved to BUILD TOOLS forum. I request any of the moderator to move it.
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The plugin tag needs to be added in the parent build tag as follows

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic