tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arne Franken (JIRA)" <>
Subject [jira] [Commented] (MTOMCAT-187) Scan resources executing run goal
Date Wed, 05 Dec 2012 10:52:59 GMT


Arne Franken commented on MTOMCAT-187:

If you spread your resources across multiple maven modules, you could configure a context.xml
in the plugin configuration:


and then add directories that the tomcat should scan to that file:

<?xml version="1.0" encoding="ISO-8859-1"?>
    value for Resources#extraResourcePaths MUST NOT contain any separating character other
than a "," and MUST be ended after the
     last character by a " directly !!!

    this will work: extraResourcePaths="/=a,/=b"
    this will NOT work: extraResourcePaths="/=a,/=b "
    this will NOT work: extraResourcePaths="/=a, /=b"
  <Resources className="org.apache.naming.resources.VirtualDirContext"
> Scan resources executing run goal
> ---------------------------------
>                 Key: MTOMCAT-187
>                 URL:
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Question
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>            Reporter: Sergio Fernández
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>              Labels: maven
>             Fix For: 2.1
> I tried to find this detail at the documentation, but sorry but I didn't.
> The question is: does the plugin has any way to force the goal tomcat7:run to scan (and
updated when are modified) resources? Something equivalent to scanIntervalSeconds in the maven
jetty plugin.
> Thanks in advance. 

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message