Bug 1034732
Summary: | xmvn should fail if there is no "suitable repository" for given file extension | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Srb <msrb> | ||||
Component: | xmvn | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | mizdebsk, msimacek, msrb, sochotni, tradej | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-12-09 14:15:37 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michal Srb
2013-11-26 12:16:58 UTC
Created attachment 829239 [details]
build.log
(In reply to Michal Srb from comment #0) > Currently XMvn skips artifact installation if there is no "suitable > repository" found for given file extension. That's correct. > This may lead to situation where > one can explicitly mark the artifact for installation: > > %mvn_package org.jenkins-ci.plugins:mailer:hpi:: __default > > But artifact doesn't get installed. XMvn silently skips the rule and build > is successful. Correct. That is expected behavior. Why do you think that's a bug? I am not saying it's a bug. I filed this bug, because described behavior is kinda confusing. So maybe we could improve it a bit somehow, if possible. Btw. why is it expected behaviour? I would personally expect failed build. (In reply to Michal Srb from comment #3) > I am not saying it's a bug. I filed this bug, because described behavior is > kinda confusing. So maybe we could improve it a bit somehow, if possible. I have no idea how this could reasonably be improved. Any suggestions? > Btw. why is it expected behaviour? I would personally expect failed build. Many projects build non-standard artifacts which are not mentioned in Fedora packaging guidelines and therefore not configured in javapackages-tools. XMvn does not know where and how to install them. Failing the build in case unknown artifact was found in the reactor is IMO unacceptable and would cause build failures of large number of packages. If the artifact you are trying to install is a standard artifact type (commonly appearing) then the solution to your problem seems to be discussing with Fedora Java SIG how the artifact type should be installed, adding it to packaging guildeliness and then to javapackages-tools config. This way XMvn will automatically handle this artifact type not only for this package, but for all other packages too. If you are trying to install non-standard (uncommon) artifact then you have a choice of doing that manually or instructing XMVn how to do that by adding appropriate configuration in your package. As explained in previous comments current behavior is correct. Closing as WONTFIX. |