Maven Tasks for Ant

I've created an build.xml file relying on the Maven tasks for Ant. The build script executes correctly from the command line. However, in IDEA (8.1) the URI is highlighted in red.

<project name="My Project" default="run" basedir="."

What's more, the added Maven tasks are unrecognized, like this one:

  <artifact:dependencies pathId="dependency.class.path">
    <dependency groupId="log4j" artifactId="log4j" version="1.2.14"/>

Then later on IDEA doesn't recognize "dependency.class.path".

IDEA suggests that I add the resource in the project settings, but I'm at a loss. I'm unable to add a the "maven-ant-tasks-2.0.9.jar"

Any suggestions would help a ton.



Please sign in to leave a comment.