maven-plugin-testing update in rawhide could cause FTBFS

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

 



In Fedora rawhide maven-plugin-testing was updated to upstream
version 2.1.

maven-plugin-testing is used by many Maven plugins as a test
dependency. maven-plugin-testing depends on several maven core
components, such as maven-core or aether-api. In previous version
of maven-plugin-testing these dependencies had scope "compile"
which meant these components were pulled in during plugin tests
time. Since version 2.1 these scopes were changed from "compile"
to "provided".

This can possibly result in some FTBFS, but the solution is quite
simple. It is enough to add respective dependency with scope "test"
to failing package. For example:

  # maven-core has scope "provided" in Plugin Testing Harness, so we
  # need to provide it or tests will fail to compile.  This works for
  # upstream because upstream uses a different version of Plugin Testing
  # Harness in which scope of maven-core dependency is "compile".
  %pom_add_dep org.apache.maven:maven-core::test

--
Mikolaj Izdebski
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux