Package: ivy
Version: 2.3.0-3

The jar at /usr/share/java/ivy.jar misses the file /org/apache/ivy/plugins/parser/m2/pom.template .
This file is used by PomModuleDescriptorWriter.java line 72.
The upstream ivy version from https://archive.apache.org/dist/ant/ivy/2.3.0/ contains this file in that directory in the jar.

This missing file results in this error message in the ivy:makepom task:

BUILD FAILED
/home/hauke/workspace/gov2_server_commons-ivy/build.xml:1226: impossible convert given ivy file to pom file: java.lang.NullPointerException from=/home/hauke/workspace/gov2_server_commons-ivy/dist/ivy.xml to=/home/hauke/workspace/gov2_server_commons-ivy/dist/gov2_server_common.pom
        at org.apache.ivy.ant.IvyMakePom.doExecute(IvyMakePom.java:238)
        at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
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: java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:78)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorWriter.write(PomModuleDescriptorWriter.java:72)
        at org.apache.ivy.ant.IvyMakePom.doExecute(IvyMakePom.java:230)
        ... 17 more

Total time: 51 seconds

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to