mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
set java version number instead of using env. This is the conventional approach and will eliminate a maven warning
This commit is contained in:
parent
c857e2f48c
commit
898fc68017
@ -3,4 +3,4 @@
|
||||
# Build Java
|
||||
###############################################################
|
||||
|
||||
add_custom_target(java ALL COMMAND ${MAVEN_EXECUTABLE} -q package -Dcmake=true -DbuildDirectory=${CMAKE_BINARY_DIR}/libexec/trick/java/build -DTRICK_VERSION="${TRICK_MAJOR}.${TRICK_MINOR}.${TRICK_TINY}${TRICK_PRERELEASE}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_custom_target(java ALL COMMAND ${MAVEN_EXECUTABLE} -q package -Dcmake=true -DbuildDirectory=${CMAKE_BINARY_DIR}/libexec/trick/java/build WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>trick-java</groupId>
|
||||
<artifactId>trick-java</artifactId>
|
||||
<version>${trick_version}</version>
|
||||
<version>19.2.0-beta</version>
|
||||
|
||||
<name>trick-java</name>
|
||||
|
||||
@ -18,9 +18,6 @@
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
</build>
|
||||
<properties>
|
||||
<trick_version>${TRICK_VERSION}</trick_version>
|
||||
</properties>
|
||||
<activation>
|
||||
<property>
|
||||
<name>cmake</name>
|
||||
@ -30,9 +27,6 @@
|
||||
</profile>
|
||||
<profile>
|
||||
<id>makefile</id>
|
||||
<properties>
|
||||
<trick_version>${env.TRICK_VERSION}</trick_version>
|
||||
</properties>
|
||||
<activation>
|
||||
<property>
|
||||
<name>cmake</name>
|
||||
|
Loading…
Reference in New Issue
Block a user