[Bug 963323] New: Making Maven officially available in openSUSE

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Bug ID: 963323 Summary: Making Maven officially available in openSUSE Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Java Assignee: bnc-team-java@forge.provo.novell.com Reporter: p.drouand@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This is a kind of metabug to track progress made by people actually involved in Maven packaging. We will update this bug progressively according to progresses done themselves. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Denisart Benjamin <p.drouand@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |matthias@mailaender.name, | |peter.linnell@suse.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Robert Munteanu <robert.munteanu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robert.munteanu@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c1 --- Comment #1 from Denisart Benjamin <p.drouand@gmail.com> --- According to Fedora's maven spec file, here is our missing dependencies for improving our own : * aether-api * aether-connector-basic * aether-impl * aether-spi * aether-util * aether-transport-wagon * aopalliance * apache-commons-lang3 * apache-commons-codec * apache-commons-jxpath * apache-commons-logging * apache-resource-bundles * atinject * buildnumber-maven-plugin * cglib * easymock3 * google-guice * hamcrest * httpcomponents-core * httpcomponents-client * jsoup * jsr-305 * junit * maven-assembly-plugin * maven-compiler-plugin * maven-install-plugin * maven-jar-plugin * maven-javadoc-plugin * maven-remote-resources-plugin * maven-resources-plugin * maven-site-plugin * maven-surefire-plugin * maven-wagon-file * maven-wagon-http * maven-wagon-http-shared * maven-wagon-provider-api * objectweb-asm * plexus-classworlds * plexus-containers-component-annotations * plexus-containers-component-metadata * plexus-sec-dispatcher * plexus-utils * sisu-inject * sisu-plexus * sisu-mojos * xmlunit * mvn(ch.qos.logback:logback-classic) * mvn(org.mockito:mockito-core) * mvn(org.codehaus.modello:modello-maven-plugin) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c2 --- Comment #2 from Denisart Benjamin <p.drouand@gmail.com> --- About cycle dependencies : shall we make them depend on bootstrap packages ? -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpluskal@suse.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c3 --- Comment #3 from Matthias Mailänder <matthias@mailaender.name> --- Not sure if we have another choice if we won't to solve it clean and transparent. See https://build.opensuse.org/project/show/home:Mailaender:branches:Java:packag... for what we already have. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c6 --- Comment #6 from Matthias Mailänder <matthias@mailaender.name> --- Some documentation I bookmarked: https://fedorahosted.org/released/javapackages/doc/#packaging_maven_project http://fedoraproject.org/wiki/Features/Simplified_Maven_Packaging -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Scott Bahling <sbahling@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbahling@suse.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |normand@linux.vnet.ibm.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c7 Andreas Färber <afaerber@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abonilla@suse.com, | |wolfgang.engel@suse.com --- Comment #7 from Andreas Färber <afaerber@suse.com> --- Not getting any SRs from community members or hearing any reports of progress, I have recently re-enabled my project: https://build.opensuse.org/project/show/home:a_faerber:hadoop The weekend I added a package maven-macros, whose centerpiece is automatic RPM Provides and Requires. With this, I have gone from some 29 failures to be investigated to lots of unresolvable packages that either need to be packaged or need to have .pom files added or installed to the new place. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c8 --- Comment #8 from Matthias Mailänder <matthias@mailaender.name> --- I tried to make some progress on the last Eclipse Hamburg Hackathon. The people who tried to help me were astonished about how twisted the dependencies are when we looked at the Fedora packaging, which isn't reproducible on OBS. I made minimal progress getting the build tools to work https://build.opensuse.org/package/show/home:Mailaender:branches:Java:packag... but my biggest open issue is that I still can't build https://build.opensuse.org/package/show/home:Mailaender:branches:Java:packag... which is the key to success I assume. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c9 --- Comment #9 from Denisart Benjamin <p.drouand@gmail.com> --- Sorry for not being much involved in this. I just lack of time lately. @Mailander : it looks like xmvn needs to be bootstraped in a first place. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c10 --- Comment #10 from Matthias Mailänder <matthias@mailaender.name> --- Yes, it also needs itself to build. Sadly binary packages aren't available https://bugzilla.redhat.com/show_bug.cgi?id=1329272 and I also have a hard time building it locally myself. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c11 --- Comment #11 from Andreas Färber <afaerber@suse.com> --- If we stay with my approach then I believe no "xmvn" is needed at all. I am not copying Fedora, I am cooking a new solution that works well for openSUSE - specifically I don't want to copy those weird Fedora depmap thingies in a flat directory in favor of the KISS paradigm. We have no compatibility requirements since we never had Maven working in the first place, so all that XML-duplicating .spec file cruft can be dropped from our packages like Duncan started in a few places (e.g., slf4j). Also note that the current build setup is very ugly. Not just are you building the packages needlessly for 9 repositories, but since you don't have my repository in your path, your linked packages are now unresolvable for lack of my maven-macros and possibly other new packages from my project. We really need a proper staging project - either we use mine directly or we submit my packages to a new one (Java:packages:maven?) and drop my project. My new approach has led to slf4j gaining a dependency on avalon-framework, which I have newly packaged as avalon-framework-api and am now seeing more dependencies on, e.g., classpathx-mail that need to install .pom files to get the needed Provides. I was hoping no separate gradle-bootstrap would be needed - I tried bootstrapping it in gradle (but the gradle -bin.zip includes an older copy of Maven not patched to use the flatter repository layout, so not yet finding guava etc. libraries and needing some more symlinks). https://build.opensuse.org/package/show/home:a_faerber:hadoop/gradle If someone has any insights on how to build osgi-compendium (wants javax.microedition and Servlet stuff), SRs would be very welcome. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c12 --- Comment #12 from Matthias Mailänder <matthias@mailaender.name> --- Yes, a new central devel project like Java:packages:maven or Java:Maven would be helpful. My repository is effectively unmaintained. I only forked your packages as last year all builds were disabled and the many bootstrap packages at least sounded promising. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Andreas Färber <afaerber@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bg@suse.com -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c13 --- Comment #13 from Denisart Benjamin <p.drouand@gmail.com> --- Java:Maven has been setup. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Benedikt Geißler <benedikt@g5r.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |benedikt@g5r.eu -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c15 --- Comment #15 from Andreas Färber <afaerber@suse.com> --- Someone broke my current Java:maven setup by introducing a dependency on javapackages-tools[-local] in some core, presumably Java:packages package. Figuring out which one would allow to address the current failures. Some packages forked from Java:packages also got conflicts with updates in Java:packages that will need to be resolved after the above issue. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Antoine Belvire <antoine.belvire@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antoine.belvire@opensuse.or | |g -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 Matthias Mailänder <matthias@mailaender.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |976102 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c16 Fridrich Strba <fstrba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fstrba@suse.com --- Comment #16 from Fridrich Strba <fstrba@suse.com> --- Now, if you are interested, I worked during 3-4 weeks on a bootstrapping of maven/xmvn combo inside OBS. The result is to be found in https://build.opensuse.org/project/show/home:fstrba:maven It has already only stuff built from source. But it is not as easy as that, because this whole thing has circular dependencies and I had to bootstrap it first building the stuff that I could with javac/jar/javadoc tools and have binary maven and binary xmvn inside. I was changing the rpms to xmvn built ones as soon as it was possible to run the binary xmvn against them. Once the dependencies were correctly rebuilt, maven and xmvn could be built. If OBS is kind to us, this whole repository could settle in 1-2 days. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c17 --- Comment #17 from Denisart Benjamin <p.drouand@gmail.com> --- Hi Fridrich ! So glad to see someone stepping in and be part of the project. I'm (finally) back from a long period of inactivity on OBS. Can you let us know how we can help achieve your project ? Benjamin -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=963323 http://bugzilla.opensuse.org/show_bug.cgi?id=963323#c18 Javier Llorente <javier@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |javier@opensuse.org Resolution|--- |FIXED --- Comment #18 from Javier Llorente <javier@opensuse.org> --- Fridrich Strba has packaged Maven. Therefore I am closing this bug. https://lists.opensuse.org/opensuse-factory/2020-01/msg00082.html -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com