On Mon, Feb 7, 2011 at 8:43 PM, Florian Moga <moga....@gmail.com> wrote:
> I gave it a try and it found the same problem. It looks like it is not
> expected that the junit jar to be specified amongst dependencies but in the
> $ANT_HOME/lib folder... I've added the build.test.classpath to the
> test-junit-present target and tests are working now.
>   <target name="test-junit-present">
>     <available classname="junit.framework.Test" property="junit.present">
> <classpath refid="build.test.classpath"/>
>     </available>
>   </target>
> After that, at the package target I'm getting "maven-build.xml:250:
> Attributes must have name and value" and I cannot find what it's all about.
>

That updated test-junit-present target fixes it for me and everything
seems to run fine and I don't get any of those problems with the
attributes that you see. The plugin doc makes it sound like that junit
issue might be expected behavior but it seems like a bug to me or at
least something that should be a plugin config option.

   ...ant

Reply via email to