From 5ae9e19a162170901d3c7978461881b8c9207200 Mon Sep 17 00:00:00 2001 From: Britton Isbell Date: Fri, 28 Nov 2008 22:13:05 +0000 Subject: [PATCH] Small fix to URI git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721576 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/project/builder/ProjectUri.java | 83 +++++++++++++++---- 1 file changed, 66 insertions(+), 17 deletions(-) diff --git a/maven-project-builder/src/main/java/org/apache/maven/project/builder/ProjectUri.java b/maven-project-builder/src/main/java/org/apache/maven/project/builder/ProjectUri.java index a0520355a3..8e560d5efe 100644 --- a/maven-project-builder/src/main/java/org/apache/maven/project/builder/ProjectUri.java +++ b/maven-project-builder/src/main/java/org/apache/maven/project/builder/ProjectUri.java @@ -385,8 +385,14 @@ public class ProjectUri public static String phase = "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/phase"; - public static String goals = - "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/inherited"; @@ -450,8 +456,15 @@ public class ProjectUri } } - public static String goals = - "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/goals#collection/goal"; + + } public static String inherited = "http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/inherited"; @@ -498,8 +511,14 @@ public class ProjectUri public static String phase = "http://apache.org/maven/project/build/plugins#collection/plugin/executions#collection/execution/phase"; - public static String goals = - "http://apache.org/maven/project/build/plugins#collection/plugin/executions#collection/execution/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/build/plugins#collection/plugin/executions#collection/execution/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/build/plugins#collection/plugin/executions#collection/execution/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/build/plugins#collection/plugin/executions#collection/execution/inherited"; @@ -562,8 +581,14 @@ public class ProjectUri "http://apache.org/maven/project/build/plugins#collection/plugin/dependencies#collection/dependency/optional"; } } + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/build/plugins#collection/plugin/goals#collection"; - public static String goals = "http://apache.org/maven/project/build/plugins#collection/plugin/goals"; + public static String goal = + "http://apache.org/maven/project/build/plugins#collection/plugin/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/build/plugins#collection/plugin/inherited"; @@ -750,8 +775,14 @@ public class ProjectUri public static String phase = "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/phase"; - public static String goals = - "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/executions#collection/execution/inherited"; @@ -815,8 +846,14 @@ public class ProjectUri } } - public static String goals = - "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/profiles#collection/profile/build/pluginManagement/plugins#collection/plugin/inherited"; @@ -865,8 +902,14 @@ public class ProjectUri public static String phase = "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/executions#collection/execution/phase"; - public static String goals = - "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/executions#collection/execution/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/executions#collection/execution/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/executions#collection/execution/goals#collection/goal"; + } public static String inherited = "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/executions#collection/execution/inherited"; @@ -930,14 +973,20 @@ public class ProjectUri } } - public static String goals = - "http://apache.org/maven/project/profiles#collection/profile/build/plugins/plugin/goals"; + public static class Goals + { + public static String xURI = + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/goals#collection"; + + public static String goal = + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/goals#collection/goal"; + } public static String inherited = - "http://apache.org/maven/project/profiles#collection/profile/build/plugins/plugin/inherited"; + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/inherited"; public static String configuration = - "http://apache.org/maven/project/profiles#collection/profile/build/plugins/plugin/configuration"; + "http://apache.org/maven/project/profiles#collection/profile/build/plugins#collection/plugin/configuration"; } } }