With 3.3.9 and 3.5.0 When I use this
<profiles>
<profile>
<id>my-profile-id</id>
<activation>
<file>
<exists>${project.basedir}${file.separator}somefile.txt</exists>
</file>
</activation>
....
</profile>
</profiles>
I see this warning
[WARNING] Some problems were encountered while building the effective model for
com.example:basedir:jar:1.0-SNAPSHOT
[WARNING] 'profiles.profile[my-profile-id].activation.file.exists' Failed to
interpolate file location ${project.basedir}${file.separator}somefile.txt for
profile jacoco-read-manifest: ${project.basedir} expression not supported
during profile activation, use ${basedir} instead
I was under the impression that ${basedir} is deprecated in favor of
${project.basedir}, many years ago at that.
Side note, is it actually worthwhile to use ${file.separator} like this, or is
that generally only useful when you're outputting stuff to the user and want it
to look pretty?
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive information for the
intended recipient), please contact the sender by reply e-mail and delete all
copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]