Urlrewrite using maven property

Home / Uncategorized / Urlrewrite using maven property

I’m trying to write a outbound rule in urlrewrite.xml that gets its value from a maven property, depending on which maven profile i’m using, like this:

Looking in the urlrewrite.xml in the target folder, it seems to get the correct value:

However, when I access the page it gives me the following error:
INFO: org.tuckey.web.filters.urlrewrite.substitution.VariableReplacer ERROR: function ${urlrewrite.path} type ‘urlrewrite.path’ not a valid type

Anyone know if this is possible?


Read more

Leave a Reply

Your email address will not be published. Required fields are marked *