magnolia_main and magnolia_ui modules have different lifecycle - hence we have to use two separate properties for those versions in our poms:
<magnoliaVersion>5.0-SNAPSHOT</magnoliaVersion> <magnoliaUiVersion>5.0-SNAPSHOT</magnoliaUiVersion>
Workflow pom currently only defines the first of these properties but uses it as version for ui modules - that's wrong:
<dependency> <groupId>info.magnolia</groupId> <artifactId>magnolia-core</artifactId> <version>${magnoliaVersion}</version> </dependency> <dependency> <groupId>info.magnolia.ui</groupId> <artifactId>magnolia-ui-model</artifactId> <version>${magnoliaVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>info.magnolia.ui</groupId> <artifactId>magnolia-ui-admincentral</artifactId> <version>${magnoliaVersion}</version> <scope>provided</scope> </dependency>