Changes between Initial Version and Version 1 of Ticket #1959
- Timestamp:
- Feb 22, 2019, 3:57:41 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1959
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #1959 – Description
initial v1 1 For all Java applications which use Maven, it should have pom.xml only with input properties are passed from CMake, e.g: 1 All Java applications which use Maven have a template pom.xml.in, which is instantiated with values instead of @VARIABLE@ placeholders by cmake with such a command in CMakeLists.txt 2 {{{ 3 configure_file(pom.xml.in "${CMAKE_CURRENT_SOURCE_DIR}/pom.xml" @ONLY) 4 }}} 5 Currently the following pom.xml.in exist in the repo: 6 {{{ 7 ./applications/RRasdaman/pom.xml.in 8 ./applications/secore/pom.xml.in 9 ./applications/petascope/petascope_main/pom.xml.in 10 ./applications/petascope/petascope_core/pom.xml.in 11 ./applications/petascope/pom.xml.in 12 ./java/pom.xml.in 13 }}} 2 14 3 15 Instead of configuring pom.xml.in into pom.xml, mvn can be executed to pass variable values directly to a pom.xml, e.g: 4 16 {{{ 5 17 COMMAND ${MAVEN_EXECUTABLE} -q install:install-file … … 9 21 -Dversion=${PROJECT_VERSION} 10 22 }}} 11 12 23 and in pom.xml, it can define these properties such as: 13 14 15 24 {{{ 16 25 <properties> … … 18 27 </properties> 19 28 }}} 20 29 The goal of this ticket is to eliminate pom.xml.in and have only pom.xml