Re: Strange maven build problem in jackson packages

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

 



Thanks very much for the help - I have now built successfully! \o/

Although the spec BRs mvn(org.apache.felix:maven-bundle-plugin),
pom.xml doesn't mention it.  Add this to %prep:

%pom_add_plugin "org.apache.felix:maven-bundle-plugin:5.1.1" .
"<extensions>true</extensions>"
I had actually tried adding the plugin in like this but tried to add the extensions tag in using a separate xpath statement - obviously incorrectly. This was the missing ingredient, doing both together!

After doing that, the build still fails:
Yeah I had a patch to fix the java version but I removed it temporarily in my desperation.

  Also, patch 0001-Add-extensions-true-to-build-helper-maven-plugin.patch
accomplishes nothing
Even more desperation -_-

Merry winter holiday of your choice!
May you also find happiness in your own choice!

I think your theory is correct - and the dependency that was updated
is fasterxml-oss-parent:
Long time no see Rich, small world, I hope you're keeping well! So this was side-tag noobing after all, I should have considered that it was something I had changed. Lesson learned.

Cheers again,

Chris

On Thu, 15 Dec 2022 at 19:35, Richard Fearn <richardfearn@xxxxxxxxx> wrote:
> My theory is that there is a dependency that was updated in Rawhide, which is problematic for my build, and that dep was recently updated in c9s and is now causing the same problem for me there. Has anyone seen anything like this before? How did you begin to investigate it? Or am I just being a side-tag noob?

I think your theory is correct - and the dependency that was updated
is fasterxml-oss-parent:

  https://src.fedoraproject.org/rpms/fasterxml-oss-parent/c/ce8d84d5ac23d0218facd26a161641c9acba27d7?branch=rawhide

* The parent of jackson-annotations is com.fasterxml.jackson:jackson-parent
* The parent of jackson-parent is com.fasterxml:oss-parent
* oss-parent no longer includes maven-bundle-plugin in its POM

So I guess you could (a) add maven-bundle-plugin back into oss-parent,
or (b) (as Jerry suggests) add it to jackson-annotations with
%pom_add_plugin. (Not sure which is best...)

As Jerry mentioned the patch is redundant because it's patching the
build-helper-maven-plugin config, only for that plugin to later be
removed from the POM with %pom_remove_plugin.

It's maven-bundle-plugin that enables the "bundle" packaging type to
be used, not build-helper-maven-plugin.

Regards,

Richard

--
Richard Fearn
richardfearn@xxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux