Skip to content

Commit ae2ffdd

Browse files
author
Vladimir Kotal
committed
The expression ${version} is deprecated. Please use ${project.version} instead.
1 parent 092d1fe commit ae2ffdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distribution/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<outputFile>${project.build.directory}/dist/opengrok.1</outputFile>
5656
<arguments>
5757
<argument>-classpath</argument>
58-
<argument>${project.basedir}/../opengrok-indexer/target/opengrok-${version}.jar</argument>
58+
<argument>${project.basedir}/../opengrok-indexer/target/opengrok-${project.version}.jar</argument>
5959
<argument>org.opensolaris.opengrok.index.Indexer</argument>
6060
<argument>--man</argument>
6161
</arguments>
@@ -85,7 +85,7 @@
8585
<artifactId>maven-assembly-plugin</artifactId>
8686
<version>3.1.0</version>
8787
<configuration>
88-
<finalName>opengrok-${version}</finalName>
88+
<finalName>opengrok-${project.version}</finalName>
8989
<appendAssemblyId>false</appendAssemblyId>
9090
<descriptors>
9191
<descriptor>assembly.xml</descriptor>

0 commit comments

Comments
 (0)