Remove Maven deprecation warnings about ${version} (#2499)

This commit is contained in:
Thad Guidry 2020-03-30 09:24:08 -05:00 committed by GitHub
parent 63ec014929
commit d9fa25fa8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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