bonitasoft / bonita-connector-archetype

This project contains a maven archetype which help creating a new Bonita connector project.

Home Page:https://www.bonitasoft.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation xml descriptor is not replacing `$definition.version$` in .impl file

laurentleseigneur opened this issue · comments

<definitionVersion>${connector-definition-version}</definitionVersion> <!-- Version of the definition implemented -->

seems it should use $project.version as replacement, maybe the error is in the parent pom replacement rules used by google maven replacer plugin ?

Thoses property files are filtered by maven. You can find the properties values in the pom.xml (no maven replacer plugin needed) :

<!-- Connector -->
<connector-definition-id>${project.artifactId}</connector-definition-id>
<connector-definition-version>1.0</connector-definition-version>
<connector-impl-id>${connector-definition-id}-impl</connector-impl-id>
<connector-impl-version>${project.version}</connector-impl-version>
<connector-main-class>${package}.${className}</connector-main-class>

This setup is available from 1.1.0 release, make sure you are using the latest release.