Download the beta from our site to start testing your app for compatibility with the changes. Be sure to take a look at our Preparing for Confluence 8.4 guide to find out what you need to do to make your app compatible. We’ll update that page regularly, so keep an eye on it to see any changes.
Since the dependencies are provided by Confluence I would like to not specify the version number. Otherwise my build process could assume the wrong version number of the provided artifacts and I would need to check the versions manually.
This worked in previous versions up to 8.3.x of Confluence for osgi.core (and it still works for the two spring artifacts). In 8.4.0-beta1 I get the following error message at build time with my ‘versionless’ configuration:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.osgi:osgi.core:jar is missing.
I can easily fix this issue by adding the version number to the osgi.core dependency like this.
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<!-- Version number required for Confluence 8.4.x -->
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>provided</scope>
</dependency>
But shouldn’t this be provided by the Confluence POM com.atlassian.confluence:confluence-plugins-platform-pom I am depending on?