Fix version of matterhorn-engage-theodul-plugin-custom-piwik

Description

In matterhorn-engage-theodul-plugin-custom-piwik/pom.xml, we find:

<parent>
<groupId>org.opencastproject</groupId>
<artifactId>base</artifactId>
<version>[2.1,)</version>
<relativePath>../../pom.xml</relativePath>
</parent>

The version is not set correctly. We have seen people where maven failed to build Opencast because of this:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Version must be a constant @ org.opencastproject:matterhorn-engage-theodul-plugin-custom-piwik:[unknown-version], /modules/matterhorn-engage-theodul-plugin-custom-piwik/pom.xml, line 2, column 202
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-install-plugin is missing. @ org.opencastproject.assemblies:opencast-karaf-features:[unknown-version], /assemblies/karaf-features/pom.xml, line 73, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.opencastproject:matterhorn-engage-theodul-plugin-custom-piwik:2.4-SNAPSHOT (/modules/matterhorn-engage-theodul-plugin-custom-piwik/pom.xml) has 1 error
[ERROR] Version must be a constant @ org.opencastproject:matterhorn-engage-theodul-plugin-custom-piwik:[unknown-version], /modules/matterhorn-engage-theodul-plugin-custom-piwik/pom.xml, line 2, column 202
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Activity

Show:
Sven Stauber
April 12, 2017, 12:32 PM

Note that according to http://stackoverflow.com/questions/19123013/maven-version-with-a-property, the maven release plugin could be used to change the version accross the project

Sven Stauber
April 19, 2017, 9:49 AM

The guy that ran into this issue used mvn 3.5.0 on MacOS

Fixed and reviewed

Assignee

Sven Stauber

Reporter

Sven Stauber

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor