Use older version of maven-bundle-plugin because otherwise it is not possible to build with Java 6:
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:3.0.1:manifest (bundle-manifest) on project wicket-parent: Execution bundle-manifest of goal org.apache.felix:maven-bundle-plugin:3.0.1:manifest failed: An API incompatibility was encountered while executing org.apache.felix:maven-bundle-plugin:3.0.1:manifest: java.lang.UnsupportedClassVersionError: aQute/bnd/osgi/Analyzer : Unsupported major.minor version 51.0 Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/9cc57fb4 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/9cc57fb4 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/9cc57fb4 Branch: refs/heads/wicket-6.x Commit: 9cc57fb4018cf62bfd20bf01de824dd2e26d7191 Parents: 1fcb3be Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Fri Feb 5 20:44:09 2016 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Fri Feb 5 20:44:09 2016 +0100 ---------------------------------------------------------------------- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/9cc57fb4/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a1fdd11..00232ce 100644 --- a/pom.xml +++ b/pom.xml @@ -878,7 +878,7 @@ <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> - <version>3.0.1</version> + <version>2.3.7</version> <executions> <execution> <id>bundle-manifest</id>
