Re: Help building dcm4che

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-05-12 at 10:14 +0200, Stanislav Ochotnicky wrote:
> Yes, that's normally the case. In the (perhaps likely?) scenario where
> sources for test-image are not that easy to find it's possible to
> -Dmaven.test.skip=true which will not run tests. You might want to
> first build whole package without tests and then work on making tests
> work.
> 
> Good luck! 

Hello Stanislav,

Thank you for that :) Sadly though, it appears to not be making a
difference. :(

This is the build section that I'm using:

%build
mvn-rpmbuild -X -Dmaven.test.skip=true install javadoc:aggregate

It still fails with the same error:


> The repository system is offline but the artifact org.dcm4che.test:dcm4che-test-image:jar:2.6 is not available in the local repository.
> DEBUG:  at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170)
> DEBUG:  at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171)
> DEBUG:  ... 22 more
> DEBUG: Caused by: org.sonatype.aether.resolution.DependencyResolutionException: The repository system is offline but the artifact org.dcm4che.test:dcm4che-test-image:jar:2.6 is not available in the local repository.
> DEBUG:  at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412)
> DEBUG:  at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164)
> DEBUG:  ... 23 more
> DEBUG: Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: The repository system is offline but the artifact org.dcm4che.test:dcm4che-test-image:jar:2.6 is not available in the local repository.
> DEBUG:  at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
> DEBUG:  at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
> DEBUG:  at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395)
> DEBUG:  ... 24 more
> DEBUG: Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: The repository system is offline but the artifact org.dcm4che.test:dcm4che-test-image:jar:2.6 is not available in the local repository.
> DEBUG:  at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:352)
> DEBUG:  ... 26 more
> DEBUG: [ERROR]
> DEBUG: [ERROR]
> DEBUG: [ERROR] For more information about the errors and possible solutions, please read the following articles:
> DEBUG: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> DEBUG: [ERROR]
> DEBUG: [ERROR] After correcting the problems, you can resume the build with the command
> DEBUG: [ERROR]   mvn <goals> -rf :dcm4che-core
> DEBUG: RPM build errors:
> DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.Xkg6An (%build)
> DEBUG:     Bad exit status from /var/tmp/rpm-tmp.Xkg6An (%build)


Any other hints? I haven't been able to find the sources of the
test-image. I'm still looking, but it's unlikely that I'll be able to
locate them. 

Thanks.
Regards,
Ankur

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux