Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2015-06-16 23:59:54 -0400
committerJan Bartel2015-06-16 23:59:54 -0400
commit1b635ff2f63a03cc982256dcc17a28abf41329df (patch)
tree6f5566bc144657ee340c2ed07fe4e8690641de98 /jetty-maven-plugin
parent1f3be625e62f44d929c01f6574678eea05754474 (diff)
downloadorg.eclipse.jetty.project-1b635ff2f63a03cc982256dcc17a28abf41329df.tar.gz
org.eclipse.jetty.project-1b635ff2f63a03cc982256dcc17a28abf41329df.tar.xz
org.eclipse.jetty.project-1b635ff2f63a03cc982256dcc17a28abf41329df.zip
462346 Change classesPattern to scanClassesPattern and testClassesPattern to scanTestClassesPattern to clarify purpose
Diffstat (limited to 'jetty-maven-plugin')
-rw-r--r--jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java
index 763496e613..68b3e2168a 100644
--- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java
+++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java
@@ -98,7 +98,7 @@ public class JettyRunMojo extends AbstractJettyMojo
* An optional pattern for includes/excludes of classes in the classesDirectory
* @parameter
*/
- protected ScanPattern classesPattern;
+ protected ScanPattern scanClassesPattern;
@@ -115,7 +115,7 @@ public class JettyRunMojo extends AbstractJettyMojo
* An optional pattern for includes/excludes of classes in the testClassesDirectory
* @parameter
*/
- protected ScanPattern testClassesPattern;
+ protected ScanPattern scanTestClassesPattern;
@@ -481,11 +481,11 @@ public class JettyRunMojo extends AbstractJettyMojo
{
PathWatcher.Config config = new PathWatcher.Config(webApp.getTestClasses().toPath());
config.setRecurseDepth(PathWatcher.Config.UNLIMITED_DEPTH);
- if (testClassesPattern != null)
+ if (scanTestClassesPattern != null)
{
- for (String p:testClassesPattern.getExcludes())
+ for (String p:scanTestClassesPattern.getExcludes())
config.addExcludeGlobRelative(p);
- for (String p:testClassesPattern.getIncludes())
+ for (String p:scanTestClassesPattern.getIncludes())
config.addIncludeGlobRelative(p);
}
scanner.watch(config);
@@ -495,12 +495,12 @@ public class JettyRunMojo extends AbstractJettyMojo
{
PathWatcher.Config config = new PathWatcher.Config(webApp.getClasses().toPath());
config.setRecurseDepth(PathWatcher.Config.UNLIMITED_DEPTH);
- if (classesPattern != null)
+ if (scanClassesPattern != null)
{
- for (String p:classesPattern.getExcludes())
+ for (String p:scanClassesPattern.getExcludes())
config.addExcludeGlobRelative(p);
- for (String p:classesPattern.getIncludes())
+ for (String p:scanClassesPattern.getIncludes())
config.addIncludeGlobRelative(p);
}

Back to the top