From: Matt R. (JIRA) <ji...@co...> - 2007-08-30 07:09:19
|
[ http://jira.codehaus.org/browse/JETTY-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105975 ] Matt Raible commented on JETTY-346: ----------------------------------- If I setup a scanTargetPattern for /src/main/resources (*.xml and *.properties), will it be scanned and re-deployed when using jetty:run-war? > Add wildcard support to <scanTarget> of maven-jetty-plugin > ---------------------------------------------------------- > > Key: JETTY-346 > URL: http://jira.codehaus.org/browse/JETTY-346 > Project: Jetty > Issue Type: Improvement > Components: Maven2 > Affects Versions: 6.0.0 > Reporter: Matt Raible > Assignee: Jan Bartel > > It'd be great if wildcard support could be added to the <scanTarget> configuration element. That way, configuration could be changed from: > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.0.0</version> > <configuration> > <contextPath>/</contextPath> > <scanIntervalSeconds>3</scanIntervalSeconds> > <scanTargets> > <scanTarget>src/main/webapp/WEB-INF/applicationContext.xml</scanTarget> > <scanTarget>src/main/webapp/WEB-INF/menu-config.xml</scanTarget> > <scanTarget>src/main/webapp/WEB-INF/urlrewrite.xml</scanTarget> > <scanTarget>src/main/webapp/WEB-INF/web.xml</scanTarget> > </scanTargets> > </configuration> > </plugin> > To: > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.0.0</version> > <configuration> > <contextPath>/</contextPath> > <scanIntervalSeconds>3</scanIntervalSeconds> > <scanTargets> > <scanTarget>src/main/webapp/WEB-INF/*.xml</scanTarget> > </scanTargets> > </configuration> > </plugin> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |