You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Andreas Christoforides (JIRA)" <ji...@apache.org> on 2014/03/14 19:26:44 UTC

[jira] [Commented] (MTOMCAT-237) Maven variables not evaluated/resolved inside systemProperties

    [ https://issues.apache.org/jira/browse/MTOMCAT-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935400#comment-13935400 ] 

Andreas Christoforides commented on MTOMCAT-237:
------------------------------------------------

I was mistaken in my case. We have properties that  were added into the Maven model during the install lifecycle. The plugin does invoke the install lifecycle because it runs the process-classes phase.However, the actual run goal runs in its own lifecycle and therefore those properties are never added. 

The only way I found around that was to use the properties-maven-plugin and add the properties I needed as system properties thus allowing the Tomcat maven plugin to resolve them,  

> Maven variables not evaluated/resolved inside systemProperties
> --------------------------------------------------------------
>
>                 Key: MTOMCAT-237
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-237
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.1
>            Reporter: Andreas Christoforides
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: moreinfo
>
>
> Maven properties/variables are not evaluated/resolved when used inside systemProperties. Instead the string is used as is. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org