Commons Parent 24 and 25 don't work properly with Java 1.5 - the bundle plugin fails.
Workround: When building with Java 1.5, disable its profile as follows: mvn test -P-java-1.5-detected Note the "-" after the "-P"; this disables the profile. =========== Background: This is because of the work-round added to allow Maven bundle plugin version 2.3.5 to work on Java 1.5 The work-round uses the profile "java-1.5-detected" to downgrade the nested dependency bndlib from 1.43.0 (which was wrongly built for Java 1.6) to 1.15.0 The current bundle plugin version (2.3.7) now depends on a later version of the bndlib dependency. This is now compatible with Java 1.5 again. But it also includes new methods, some of which are now used by the Maven bundle plugin. Thus the downgrade now causes the following error. [FATAL ERROR] org.apache.felix.bundleplugin.ManifestPlugin#execute() caused a linkage error (java.lang.NoSuchMethodError) Note: the profile will be removed in the next release of CP --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org