Remove Maven deprecation warnings about ${version}
</copy>
<replace file="${built.webapp.dir}/WEB-INF/web.xml">
- <replacefilter token="$VERSION" value="${version}"/>
+ <replacefilter token="$VERSION" value="${project.version}"/>
</replace>
<replace file="${built.webapp.dir}/WEB-INF/butterfly.properties">
<configuration>
<mainClass>com.google.refine.Refine</mainClass>
<bundleName>OpenRefine</bundleName>
- <buildDirectory>target/OpenRefine ${version}</buildDirectory>
+ <buildDirectory>target/OpenRefine ${project.version}</buildDirectory>
<iconFile>${icon.path}</iconFile>
<generateDiskImageFile>true</generateDiskImageFile>
<diskImageFile>${project.build.directory}/${project.build.finalName}-mac-${project.version}.dmg</diskImageFile>
<fileSet>
<directory>${rootdir}/server/target</directory>
<includes>
- <include>openrefine-${version}-server.jar</include>
+ <include>openrefine-${project.version}-server.jar</include>
</includes>
<excludes>
<exclude>**/lib/**</exclude>
