Bug 985678

Summary: tycho: Does not work with Maven 3.1.0
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: tychoAssignee: Roland Grunberg <rgrunber>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, kdaniel, rgrunber
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-25 13:29:33 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:
Bug Depends On:    
Bug Blocks: 985674    
Attachments:
Description Flags
Maven build log none

Description Mikolaj Izdebski 2013-07-18 04:39:44 UTC
Description of problem:
Tycho 0.18.0 is known not to work with Maven 3.1.0.  As I want to update Maven to 3.1.0 in Fedora this bug needs to be resolved ASAP.

Upstream has added experimental support for maven 3.1.0 in version 0.19.0.  Please update to that version or backport the patch.

Version-Release number of selected component (if applicable):
0.18.0

Comment 1 Krzysztof Daniel 2013-07-18 12:31:24 UTC
Hey Mikolaj,

Tycho staged a version 0.18.1, which I built for rawhide [1]. Does it solve the problem?

[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=435563

Comment 2 Mikolaj Izdebski 2013-07-18 12:40:41 UTC
I can't confirm that yet.  Upgrade to Maven 3.1.0 is a big effort, which will have to wait for a bit -- I don't even know if it will make into Fedora 20.  For now I just wanted to give you heads up so that you have time to work on upgrade.

Comment 3 Krzysztof Daniel 2013-07-18 12:46:36 UTC
After chat with Mikolaj, closing as RAWHIDE.

Comment 4 Krzysztof Daniel 2013-07-18 12:46:56 UTC
After chat with Mikolaj, closing as RAWHIDE.

Comment 5 Mikolaj Izdebski 2013-07-23 15:18:10 UTC
Maven 3.1.0 is available in rawhide now.  I tried using Tycho with it ans it fails because it tried to use Sonatype Aether.

Tycho most likely needs to be ported to Eclipse Aether, which should be as easy as s/org.eclipse.aether/org.sonatype.aether/g in java files and POMs.

Maven build log with tycho failure attached.

Comment 6 Mikolaj Izdebski 2013-07-23 15:19:20 UTC
Created attachment 777362 [details]
Maven build log

Comment 7 Krzysztof Daniel 2013-07-24 07:52:57 UTC
Investigating. The problem is caused by one of the patches which introduces eather imports.

Comment 8 Roland Grunberg 2013-07-24 15:09:20 UTC
After speaking with Krzysztof, and Mikolaj, I'll take care of this. I'll try to have this completed as soon as I can.

Comment 9 Roland Grunberg 2013-07-24 21:07:00 UTC
tycho-0.18.1-2.fc20 (http://koji.fedoraproject.org/koji/buildinfo?buildID=437615) now uses latest Eclipse Aether, and Maven 3.1.0.

Comment 10 Mikolaj Izdebski 2013-07-25 05:24:36 UTC
Confirmed. Works for me.

Comment 11 Krzysztof Daniel 2013-07-25 07:47:33 UTC
Confirmed (built eclipse and eclipse-ptp).

Comment 12 Roland Grunberg 2013-07-25 13:29:33 UTC
Marking as CLOSED (RAWHIDE). There are still some bug fixes/improvements to be made (tracked under Tycho component).