Bug 1021484
Summary: | xmvn: installs malformed parent poms | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
Component: | xmvn | Assignee: | Mikolaj Izdebski <mizdebsk> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rawhide | CC: | akurtako, java-sig-commits, mizdebsk, msrb, sochotni, tradej |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.2.0-4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-24 15:23:32 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: |
Description
Mikolaj Izdebski
2013-10-21 11:45:16 UTC
This even breaks Maven runtime so needs to be fixed ASAP. The problem really seems to be somehow related to sisu. I have untagged sisu-0.0.0-0.6.M5.fc21 and Maven now builds fine: http://koji.fedoraproject.org/koji/taskinfo?taskID=6085582 Note Maven now builds against sisu-0.0.0-0.5.M5, so update from M4 to M5 doesn't have to be the problem here. Keeping this bug open, since I still don't fully understand where the real problem lies. Moving to sisu. This is causing more packages to fail to build, for example XMvn. This is blocking an important XMvn bugfix so please resolve it ASAP. I think I finally know where the problem is. Following lines from build.log are interesting: [DEBUG] Artifact org.eclipse.sisu:sisu-plexus:pom:0.0.0.M5 was resolved to /usr/share/maven-poms/JPP-sisu-plexus.pom [WARNING] The POM for org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5 [FATAL] Non-parseable POM /usr/share/maven-poms/JPP-sisu-plexus.pom: only whitespace content allowed before start tag and not P (position: START_DOCUMENT seen P... @1:1) @ /usr/share/maven-poms/JPP-sisu-plexus.pom, line 1, column 1 And indeed, JPP-sisu-plexus.pom is malformed. $ cat /usr/share/maven-poms/JPP-sisu-plexus.pom PKnRCMETA-INF/MANIFEST.MF??]?? ? ?w?w??Z?" ???�8*O??hk?~&p?!'?`d??T??????;????aXM????5???????`m`??y[N,????P??&?c?PKnRC??&?c?META-INF/MANIFEST.MF??PKF? $ file /usr/share/maven-poms/JPP-sisu-plexus.pom /usr/share/maven-poms/JPP-sisu-plexus.pom: Java Jar file data (zip) My guess is that XMvn tries to inject artifact coordinates to POM only artifacts. If my assumption is correct, we will need to rebuild all the packages which contain parent pom and were built by XMvn 1.2.0. From my rawhide machine: $ file /usr/share/maven-poms/* | grep "Java Jar file" | wc -l 14 Reassigning to XMvn. Fixed in xmvn-1.2.0-2 I believe that this bug is fixed in xmvn-1.2.0-4, which is available in Fedora Rawhide, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=473166 |