Maven Dependencies for Eclipse Helio WTP

Tuesday, November 23rd, 2010

So you’ve been wondering why doesn’t your WTP project’s maven dependencies get copied over to the directory where eclipse stores your web project files.

Mine is C:\Documents and Settings\kenny\workspace\helios\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

For that to happen, follow these steps:

  1. Install m2e-extras. 
  2. Right click on your web project and choose “Properties”->”Deployment Assembly”->”Add”.
  3. Select “Java Build Path Entries”->”Next”. 
  4. Select “Maven Dependencies”->”Finish”.

    Maven dependencies for eclipse

    Maven dependencies for eclipse

  5. Clean your project and you should be done!
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.