Opened 6 years ago

Closed 6 years ago

#1793 closed defect (fixed)

CMake doesn't properly update pom.xml when pom.xml.in is changed — at Version 2

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: build system Version: development
Keywords: Cc:
Complexity: Medium

Description (last modified by Bang Pham Huu)

"When pom.xml.in is changed, the pom.xml should be automatically updated on make."
CMake already did this, e.g in Petascope which creates a new pom.xml with update settings.

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/pom.xml.in" "${CMAKE_CURRENT_SOURCE_DIR}/pom.xml" @ONLY)

Change History (2)

comment:1 by Dimitar Misev, 6 years ago

also the pom.xml should be generated in the build directory, not the source directory.

comment:2 by Bang Pham Huu, 6 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.