The problem is that I am trying to create a project that has a build.xml file. Basically, I pack my project as a jar of Maven2, and then use the ant installer to install my project.
There is a property in the build.xml file that needs to be filtered with the name build.date, but there are other properties that I don't want to filter, for example $ {basedir}, because it is used by ant, but is replaced by the Maven variable. So, I need to somehow tell Maven to filter $ {build.date}, but not $ {basedir}.
I tried to create a properties file as a filter with "basedir = $ {basedir}" as one of the properties, but I get the following error:
Expression Resolution: '$ {basedir}': The following recursive expression loop was detected: [basedir]
Any suggestions would be highly appreciated.
Thanks,
Bj
maven-2 ant
Benny
source share