tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MTOMCAT-237) Maven variables not evaluated/resolved inside systemProperties
Date Fri, 06 Sep 2013 03:17:51 GMT

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

Olivier Lamy (*$^¨%`£) edited comment on MTOMCAT-237 at 9/6/13 3:16 AM:
------------------------------------------------------------------------

??
I missed you here.
Can I have a sample?
I can use something like that without issues

{code}
<plugin>
  <groupId>org.apache.tomcat.maven</groupId>
  <artifactId>tomcat7-maven-plugin</artifactId>
  <configuration>
    <systemProperties>
      <appserver.base>${archivaAppServerBase}</appserver.base>
      <appserver.home>${archivaAppServerBase}</appserver.home>
      <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
      <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
     </systemProperties>
  </configuration>
{code}

                
      was (Author: olamy):
    ??
I missed you here.
Can I have a sample?
I can use something like that without issues

      <plugin>
        <groupId>org.apache.tomcat.maven</groupId>
        <artifactId>tomcat7-maven-plugin</artifactId>
        <configuration>
          <systemProperties>
            <appserver.base>${archivaAppServerBase}</appserver.base>
            <appserver.home>${archivaAppServerBase}</appserver.home>
            <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
            <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
          </systemProperties>
        </configuration>



                  
> 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 (*$^¨%`£)
>
> Maven properties/variables are not evaluated/resolved when used inside systemProperties.
Instead the string is used as is. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message