Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The official docs clearly states that:
"The tags <exists> and <missing> can be interpolated. Supported variables are system properties like ${user.home} and environment variables like ${env.HOME}. Please note that properties and values defined in the POM itself are not available for interpolation here, e.g. the above example activator cannot use ${project.build.directory} but needs to hard-code the path target."
We have a use-case where another maven run will create an artifact which we want to attach at a later run if a particular file exists. However, this file is generated as
${project.build.directory}/${project.build.finalName}-classifier.zip
Presently, ${project.*} can't be used in file profile activation.
Attachments
Issue Links
- relates to
-
MNG-7895 Support ${project.basedir} in file profile activation
- Closed