aspose file tools*
The moose likes MongoDB and the fly likes Can anyone help me with pom.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » MongoDB
Bookmark "Can anyone help me with pom.xml file" Watch "Can anyone help me with pom.xml file" New topic
Author

Can anyone help me with pom.xml file

Ashish Dutt
Ranch Hand

Joined: Apr 12, 2013
Posts: 172

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.


Still a beginner at crafting quality coding but have the zeal to learn more. Your help would be appreciated.
My Blog on Learning Analytics
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

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.


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

The plugin tag needs to be added in the parent build tag as follows

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can anyone help me with pom.xml file