https://bugzilla.redhat.com/show_bug.cgi?id=1078967
--- Comment #1 from Mikolaj Izdebski <mizdebsk(a)redhat.com> ---
Created attachment 876931
-->
https://bugzilla.redhat.com/attachment.cgi?id=876931&action=edit
reproducer
Steps to reproduce:
mock maven-downloader-1.1-5.fc20.src.rpm
Actual results:
+ xmvn-install -R .xmvn-reactor -n maven-downloader -d
/builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64
Unhandled exception
java.lang.RuntimeException: Failed to install project
at
org.fedoraproject.xmvn.tools.install.impl.DefaultInstaller.install(DefaultInstaller.java:415)
at
org.fedoraproject.xmvn.tools.install.InstallerCli.run(InstallerCli.java:142)
at
org.fedoraproject.xmvn.tools.install.InstallerCli.main(InstallerCli.java:156)
Caused by: java.io.IOException: Is a directory
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:46)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at java.util.zip.ZipInputStream.readFully(ZipInputStream.java:424)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:277)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
at
org.fedoraproject.xmvn.tools.install.impl.JarUtils.usesNativeCode(JarUtils.java:84)
at
org.fedoraproject.xmvn.tools.install.impl.DefaultInstaller.installArtifact(DefaultInstaller.java:286)
at
org.fedoraproject.xmvn.tools.install.impl.DefaultInstaller.install(DefaultInstaller.java:392)
... 2 more
.xmvn-reactor file contains:
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Reactor installation plan generated by XMvn -->
<reactorInstallationPlan>
<artifact>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-downloader</artifactId>
<version>1.1</version>
<file>/builddir/build/BUILD/maven-downloader-1.1/target/classes</file>
<stereotype>jar</stereotype>
</artifact>
...
$ rpm -q xmvn
xmvn-2.0.0-0.168.git95bc9a3.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=iq2ALFOTdn&a=cc_unsubscribe