[uptodate] lib/ant/maven-ant-tasks-2.1.1.jar.desired.sha1 omitted as /home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar is up to date.
Adding reference: maven-ant-tasks.classpath
parsing buildfile jar:file:/home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar!/org/apache/maven/artifact/ant/antlib.xml with URI = jar:file:/home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar!/org/apache/maven/artifact/ant/antlib.xml from a zip file
Loaded from /home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar org/apache/maven/artifact/ant/Mvn.class
Loaded from /home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar org/apache/maven/artifact/ant/WritePomTask.class
Loaded from /home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar org/apache/maven/artifact/ant/shaded/xml/XmlStreamWriter.class
BUILD FAILED
/home/folone/workspace/scala/build.xml:237: artifact:dependencies doesn't support the "versionsId" attribute
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:497)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:429)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:199)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: The <urn:maven-artifact-ant:dependencies> type doesn't support the "versionsId" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:408)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:489)
... 29 more
Total time: 1 second
Here's what I get when I search everywhere for maven-ant-tasks:
$ sudo find / -name "maven-ant-tasks*.jar"
[sudo] password for folone:
/home/folone/.sbt/cache/scala/7e50e3e227d834695f1e0bf018a7326e06ee4c86/lib/ant/maven-ant-tasks-2.1.1.jar
/home/folone/workspace/scala/lib/ant/maven-ant-tasks-2.1.1.jar
I have no idea where else an older version can come from. Especially considering that I'm doing this on a freshly installed system.
понедельник, 22 июля 2013 г., 19:24:03 UTC+2 пользователь Grzegorz Kossakowski написал: