You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by lc...@apache.org on 2011/11/16 17:19:59 UTC

svn commit: r1202791 [1/3] - in /incubator/npanday/trunk: dotnet/assemblies/ dotnet/assemblies/NPanday.Artifact/ dotnet/assemblies/NPanday.Artifact/src/main/csharp/ dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ dotnet/assemblies/...

Author: lcorneliussen
Date: Wed Nov 16 17:19:58 2011
New Revision: 1202791

URL: http://svn.apache.org/viewvc?rev=1202791&view=rev
Log:
[NPANDAY-421] VS Add-in can't handle settings.xml with correct namespace

o Moved SettingsUtil to NPanday.Utils (including tests)
o Made NPanday.Model.Settings compile from xsd/Settings.xsd (as NPanday.Model.Artifact
o Factored out DEVENV-related code from NPanday.Utils to NPanday.VisualStudio.AddIn (should have been NPanday.VisualStudio, though)
o Moved NPanday.Util from profile 'VisualStudio' to top-level modules in assemblies/pom.xml
o Made NPanday.Utils-Test run in VisualStudio (better detection of resources + copy them)#
o Inverted dependency from Utils to Artifacts to be from Artifact to Utils (Utils now is not dependent on anything but Models)

Added:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/ConstantNamespaceXmlTextReader.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/PathUtility.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/SettingsUtil.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/   (with props)
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/NPanday.Utils-Test.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/Properties/
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/SettingsUtilTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/MavenRunner.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/RenameWebReferenceTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ResyncArtifactSnapshot.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/SuccessfulDisconnectTest.cs
Removed:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/test/
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/MavenRunner.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.Utils-Test/
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.Utils-Test.sln
Modified:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/pom.xml
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday.Artifact.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactContext.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactRepository.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/PathUtil.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/pom.xml
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/xsd/Settings.xsd
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday.ProjectImporterEngine.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday/ProjectImporter/Digest/Model/Reference.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/pom.xml
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday.Utils.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/PomHelperUtility.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/pom.xml
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday.VisualStudio.Addin.csproj
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/AddArtifactsForm.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/ConfigureMavenRepositoryForm.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/Connect.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/NPandaySignAssembly.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPanday/VisualStudio/Addin/RemoveArtifactsForm.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/   (props changed)
    incubator/npanday/trunk/dotnet/assemblies/pom.xml
    incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Msbuild/src/main/csharp/NPanday/Plugin/Msbuild/MsbuildMojo.cs
    incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.SysRef/src/main/csharp/NPanday/Plugin/SysRef/SysRefMojo.cs

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/pom.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/pom.xml?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/pom.xml (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/pom.xml Wed Nov 16 17:19:58 2011
@@ -42,6 +42,12 @@ under the License.
       <version>1.4.1-incubating-SNAPSHOT</version>
       <type>library</type>  
     </dependency>  
+	<dependency> 
+      <groupId>org.apache.npanday</groupId>
+      <artifactId>NPanday.Utils</artifactId>  
+      <version>1.4.1-incubating-SNAPSHOT</version>
+      <type>library</type>  
+    </dependency> 
     <dependency> 
       <groupId>NUnit</groupId>  
       <artifactId>NUnit.Framework</artifactId>  

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday.Artifact.csproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday.Artifact.csproj?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday.Artifact.csproj (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday.Artifact.csproj Wed Nov 16 17:19:58 2011
@@ -38,11 +38,10 @@ under the License.
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\..\..\NPanday.Model.Pom\target\NPanday.Model.Pom.dll</HintPath>
     </Reference>
-    <Reference Include="NPanday.Model.Settings, Version=0.14.0.0, Culture=neutral, processorArchitecture=MSIL">
+    <Reference Include="NPanday.Model.Settings, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\..\..\NPanday.Model.Settings\target\NPanday.Model.Settings.dll</HintPath>
     </Reference>
-    <Reference Include="NUnit.Framework" />
     <Reference Include="System" />
     <Reference Include="System.Data" />
     <Reference Include="System.Windows.Forms" />
@@ -61,5 +60,11 @@ under the License.
     <Compile Include="NPanday\Artifact\PathUtil.cs" />
     <Compile Include="NPanday\Artifact\RepositoryType.cs" />
   </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\NPanday.Utils\src\main\csharp\NPanday.Utils.csproj">
+      <Project>{CAA4864F-F4C8-4024-8535-8B8C112307CE}</Project>
+      <Name>NPanday.Utils</Name>
+    </ProjectReference>
+  </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
 </Project>
\ No newline at end of file

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactContext.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactContext.cs?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactContext.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactContext.cs Wed Nov 16 17:19:58 2011
@@ -23,8 +23,9 @@ using System;
 using System.IO;
 using System.Collections.Generic;
 using System.Text;
+using NPanday.Model.Settings;
+using NPanday.Utils;
 
-using NPanday.Model.Setting;
 
 namespace NPanday.Artifact
 {
@@ -66,8 +67,8 @@ namespace NPanday.Artifact
             {
                 return "dll";
             }
-            else if(packaging.Equals("dotnet-executable")
-                    ||  packaging.Equals("winexe") ||  packaging.Equals("exe"))
+            else if (packaging.Equals("dotnet-executable")
+                    || packaging.Equals("winexe") || packaging.Equals("exe"))
             {
                 return "exe";
             }

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactRepository.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactRepository.cs?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactRepository.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/ArtifactRepository.cs Wed Nov 16 17:19:58 2011
@@ -26,26 +26,25 @@ using System.Text;
 using System.Xml;
 using System.Xml.Serialization;
 using System.Windows.Forms;
-using NPanday.Model.Setting;
 
 namespace NPanday.Artifact
 {
     public sealed class ArtifactRepository
     {
-        
+
         public string Tokenize(string id)
         {
-            return id.Replace(".",Path.DirectorySeparatorChar.ToString());
-        }        
+            return id.Replace(".", Path.DirectorySeparatorChar.ToString());
+        }
 
         public string GetLocalRepositoryPath(Artifact artifact, string ext)
         {
-            return string.Format(@"{0}\{1}\{2}\{3}\{2}-{3}{4}", localRepository.FullName, artifact.GroupId.Replace(@".",@"\"), artifact.ArtifactId, artifact.Version, ext);
+            return string.Format(@"{0}\{1}\{2}\{3}\{2}-{3}{4}", localRepository.FullName, artifact.GroupId.Replace(@".", @"\"), artifact.ArtifactId, artifact.Version, ext);
         }
 
         public string GetRemoteRepositoryPath(Artifact artifact, string url, string ext)
         {
-            return string.Format("{0}/{1}/{2}/{3}/{2}-{3}{4}", url, artifact.GroupId.Replace('.','/'), artifact.ArtifactId, artifact.Version, ext);
+            return string.Format("{0}/{1}/{2}/{3}/{2}-{3}{4}", url, artifact.GroupId.Replace('.', '/'), artifact.ArtifactId, artifact.Version, ext);
         }
 
         public string GetRemoteRepositoryPath(Artifact artifact, string timeStampVersion, string url, string ext)
@@ -65,13 +64,13 @@ namespace NPanday.Artifact
                 string[] info = a.FullName.Split(",".ToCharArray(), Int32.MaxValue, StringSplitOptions.RemoveEmptyEntries);
                 artifact.ArtifactId = info[0];
                 artifact.GroupId = info[0];
-                artifact.Version = info[1].Split(new char[] { '='})[1];
+                artifact.Version = info[1].Split(new char[] { '=' })[1];
                 artifact.Extension = tokens[0].Split(new char[] { '.' })[1];
 
                 if (artifact.Version == null)
                 {
                     artifact.Version = "1.0.0.0";
-                }                
+                }
             }
 
             else
@@ -91,8 +90,8 @@ namespace NPanday.Artifact
                 String[] extToken = tokens[size - 1].Split(".".ToCharArray());
                 artifact.Extension = extToken[extToken.Length - 1];
             }
-            artifact.FileInfo = new FileInfo(localRepository.FullName + Path.DirectorySeparatorChar + Tokenize( artifact.GroupId )+ Path.DirectorySeparatorChar + artifact.ArtifactId + Path.DirectorySeparatorChar 
-                + artifact.Version + Path.DirectorySeparatorChar + artifact.ArtifactId+ "-" + artifact.Version+ ".dll");
+            artifact.FileInfo = new FileInfo(localRepository.FullName + Path.DirectorySeparatorChar + Tokenize(artifact.GroupId) + Path.DirectorySeparatorChar + artifact.ArtifactId + Path.DirectorySeparatorChar
+                + artifact.Version + Path.DirectorySeparatorChar + artifact.ArtifactId + "-" + artifact.Version + ".dll");
             return artifact;
         }
 
@@ -112,7 +111,7 @@ namespace NPanday.Artifact
                     }
                     catch
                     {
-                        
+
                     }
                 }
             }
@@ -136,7 +135,7 @@ namespace NPanday.Artifact
             artifact.ArtifactId = dependency.artifactId;
             artifact.GroupId = dependency.groupId;
             artifact.Version = dependency.version;
-            artifact.FileInfo = new FileInfo( GetLocalRepositoryPath(artifact, ".dll"));
+            artifact.FileInfo = new FileInfo(GetLocalRepositoryPath(artifact, ".dll"));
             return artifact;
         }
 
@@ -147,14 +146,14 @@ namespace NPanday.Artifact
             {
                 tokens = PathUtil.GetRelativePathTokens(uacDirectory, artifactFile);
             }
-            catch 
+            catch
             {
                 List<string> tk = new List<string>(artifactFile.FullName.Split(@"\".ToCharArray()));
                 tk.RemoveRange(0, tk.Count - 3);
                 tokens = tk.ToArray();
             }
 
-           
+
             //artifact for system path
             if (!artifactFile.FullName.Contains(".m2"))
             {
@@ -162,29 +161,29 @@ namespace NPanday.Artifact
             }
 
             string fileName = tokens[tokens.Length - 1];
-            int index = fileName.LastIndexOf( "." );
-            
-            string ext = fileName.Substring( index );
+            int index = fileName.LastIndexOf(".");
+
+            string ext = fileName.Substring(index);
             string version = tokens[tokens.Length - 2];
             string artifactId = tokens[tokens.Length - 3];
 
             StringBuilder group = new StringBuilder();
 
-            for( int i = 0; i < tokens.Length - 3; i++ )
+            for (int i = 0; i < tokens.Length - 3; i++)
             {
-                group.Append( tokens[i]).Append( "." );
+                group.Append(tokens[i]).Append(".");
             }
 
-            string groupId = group.ToString( 0, group.Length - 1 );
+            string groupId = group.ToString(0, group.Length - 1);
 
             Artifact artifact = new Artifact();
             artifact.ArtifactId = artifactId;
             artifact.Version = version;
             artifact.GroupId = groupId;
             artifact.FileInfo = new FileInfo(GetLocalRepositoryPath(artifact, ext));
-            
-            
-            
+
+
+
             return artifact;
         }
 

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/PathUtil.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/PathUtil.cs?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/PathUtil.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Artifact/src/main/csharp/NPanday/Artifact/PathUtil.cs Wed Nov 16 17:19:58 2011
@@ -23,7 +23,6 @@ using System;
 using System.Collections.Generic;
 using System.IO;
 using System.Text;
-using NPanday.Model.Setting;
 
 namespace NPanday.Artifact
 {

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/pom.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/pom.xml?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/pom.xml (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/pom.xml Wed Nov 16 17:19:58 2011
@@ -18,52 +18,35 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 
-  <parent> 
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
     <groupId>org.apache.npanday</groupId>
-    <version>1.4.1-incubating-SNAPSHOT</version>  
-    <artifactId>NPanday.Assemblies</artifactId>  
-  </parent>  
-  <modelVersion>4.0.0</modelVersion>  
+    <version>1.4.1-incubating-SNAPSHOT</version>
+    <artifactId>NPanday.Assemblies</artifactId>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.npanday</groupId>
-  <artifactId>NPanday.Model.Settings</artifactId>  
-  <packaging>library</packaging>  
-  <name>NPanday :: .NET Model :: Settings</name>  
-  <dependencies>
-	<dependency> 
-      <groupId>NUnit</groupId>  
-      <artifactId>NUnit.Framework</artifactId>  
-      <version>2.2.8.0</version>  
-      <type>library</type>  
-      <scope>test</scope> 
-    </dependency>
-  </dependencies>
-  <profiles>
-    <profile>
-      <id>partcover</id>
-      <build>
-        <plugins>
-          <plugin> 
-            <groupId>org.apache.npanday.plugins</groupId>
-            <artifactId>partcover-maven-plugin</artifactId>  
-            <configuration>
-              <!--<nUnit>C:\\Program Files\\NUnit 2.5.7\\bin\net-2.0\\nunit-console.exe</nUnit>-->
-              <!--<partCover>C:\\Program Files\PartCover\\PartCover .NET 4.0\\PartCover.exe</partCover>-->
-              <assemblyName>${project.build.directory}/test-assemblies/NPanday.Model.Settings-test.dll</assemblyName>
-              <!--<msxsl>C:\\WINDOWS\\msxsl.exe</msxsl>-->
-              <!--<xslt>C:\\Program Files\\PartCover\\PartCover .NET 4.0\\xslt\\Report By Assembly.xslt"<xslt>-->
-            </configuration>
-            <executions> 
-              <execution> 
-                <goals> 
-                  <goal>generate</goal> 
-                  <goal>convert</goal>
-                </goals> 
-              </execution> 
-            </executions> 
-          </plugin>  
-        </plugins> 
-      </build>
-    </profile>
-  </profiles>
+  <artifactId>NPanday.Model.Settings</artifactId>
+  <packaging>library</packaging>
+  <name>NPanday :: .NET Model :: Settings</name>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.npanday.plugins</groupId>
+        <artifactId>maven-xsd-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>xsd</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <xsdFile>${basedir}/src/main/xsd/Settings.xsd</xsdFile>
+          <namespace></namespace>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/xsd/Settings.xsd
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/xsd/Settings.xsd?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/xsd/Settings.xsd (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/xsd/Settings.xsd Wed Nov 16 17:19:58 2011
@@ -17,54 +17,74 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/SETTINGS/1.0.0" targetNamespace="http://maven.apache.org/SETTINGS/1.0.0">
   <xs:element name="settings" type="Settings">
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">Root element of the user configuration file.</xs:documentation>
+      <xs:documentation source="description">
+        Root element of the user configuration file.
+      </xs:documentation>
     </xs:annotation>
   </xs:element>
   <xs:complexType name="Settings">
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">Root element of the user configuration file.</xs:documentation>
+      <xs:documentation source="description">
+        Root element of the user configuration file.
+      </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="localRepository" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="localRepository" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The local repository.</xs:documentation>
+          <xs:documentation source="description">
+
+            The local repository.
+
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="interactiveMode" minOccurs="0" type="xs:boolean" default="true">
+      <xs:element minOccurs="0" name="interactiveMode" type="xs:boolean" default="true">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether Maven should attempt to interact with the user for input.</xs:documentation>
+          <xs:documentation source="description">
+
+            Whether Maven should attempt to interact with the user for input.
+
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="usePluginRegistry" minOccurs="0" type="xs:boolean" default="false">
+      <xs:element minOccurs="0" name="usePluginRegistry" type="xs:boolean" default="false">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Whether Maven should use the plugin-registry.xml file to manage plugin versions.</xs:documentation>
+
+            Whether Maven should use the plugin-registry.xml file to manage plugin versions.
+
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="offline" minOccurs="0" type="xs:boolean" default="false">
+      <xs:element minOccurs="0" name="offline" type="xs:boolean" default="false">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Indicate whether maven should operate in offline mode full-time.
+          <xs:documentation source="description">
+
+            Indicate whether maven should operate in offline mode full-time.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="proxies" minOccurs="0">
+      <xs:element minOccurs="0" name="proxies">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	Configuration for different proxy profiles. Multiple proxy profiles
-            might come in handy for anyone working from a notebook or other 
-            mobile platform, to enable easy switching of entire proxy 
+
+            Configuration for different proxy profiles. Multiple proxy profiles
+            might come in handy for anyone working from a notebook or other
+            mobile platform, to enable easy switching of entire proxy
             configurations by simply specifying the profile id, again either from
             the command line or from the defaults section below.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -73,13 +93,15 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="servers" minOccurs="0">
+      <xs:element minOccurs="0" name="servers">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	Configuration of server-specific settings, mainly authentication
+
+            Configuration of server-specific settings, mainly authentication
             method. This allows configuration of authentication on a per-server
             basis.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -88,10 +110,11 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="mirrors" minOccurs="0">
+      <xs:element minOccurs="0" name="mirrors">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Configuration of download mirrors for repositories.
+          <xs:documentation source="description">
+            Configuration of download mirrors for repositories.
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -100,12 +123,14 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="profiles" minOccurs="0">
+      <xs:element minOccurs="0" name="profiles">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Configuration of build profiles for adjusting the build 
-            according to environmental parameters
+
+            Configuration of build profiles for adjusting the build
+            according to environmental parameters.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -114,12 +139,14 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="activeProfiles" minOccurs="0">
+      <xs:element minOccurs="0" name="activeProfiles">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
+
             List of manually-activated build profiles, specified in the order in which
             they should be applied.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -128,11 +155,13 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="pluginGroups" minOccurs="0">
+      <xs:element minOccurs="0" name="pluginGroups">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">List of groupIds to search for a plugin when that plugin groupId is not explicitly
-            provided.</xs:documentation>
+          <xs:documentation source="description">
+            List of groupIds to search for a plugin when that plugin
+            groupId is not explicitly provided.
+          </xs:documentation>
         </xs:annotation>
         <xs:complexType>
           <xs:sequence>
@@ -145,714 +174,203 @@ under the License.
   <xs:complexType name="Mirror">
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">A download mirror for a given repository.</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="mirrorOf" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The server ID of the repository being mirrored, eg
-            &quot;central&quot;. This MUST NOT match the mirror id.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="name" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The optional name that describes the mirror.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="url" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The URL of the mirror repository.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Proxy">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="active" minOccurs="0" type="xs:boolean" default="false">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether this proxy configuration is the active one.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="protocol" minOccurs="0" type="xs:string" default="http">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy protocol.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="username" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy user.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="password" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy password.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="port" minOccurs="0" type="xs:int" default="8080">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy port.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="host" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy host.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="nonProxyHosts" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          	The list of non-proxied hosts (usually 
-          	comma-delimited).
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Server">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
+      <xs:documentation source="description">
+        A download mirror for a given repository.
+      </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="username" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The username used to authenticate.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="password" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="mirrorOf" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The password used in conjunction with the username to authenticate.
+            The server ID of the repository being mirrored, eg
+            &quot;central&quot;. This MUST NOT match the mirror id.
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="privateKey" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The private key location used to authenticate.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="passphrase" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          	The passphrase used in conjunction with the privateKey to authenticate.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="filePermissions" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="name" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The permissions for files when they are created.
+            The optional name that describes the mirror.
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="directoryPermissions" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="url" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          	The permissions for directories when they are created.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="configuration" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">0.0.0+</xs:documentation>
-          <xs:documentation source="description">
-          	Extra configuration for the transport layer.
-          </xs:documentation>
+          <xs:documentation source="description">The URL of the mirror repository.</xs:documentation>
         </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
-          </xs:sequence>
-        </xs:complexType>
       </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="id" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
   </xs:complexType>
-  <xs:complexType name="Profile">
+  <xs:complexType name="Proxy">
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        Modifications to the build process which is keyed on some 
-        sort of environmental parameter.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="activation" minOccurs="0" type="Activation">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The conditional logic which will automatically 
-            trigger the inclusion of this profile.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="properties" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">0.0.0+</xs:documentation>
-          <xs:documentation source="description">Extended configuration specific to this profile goes
-              here.  Contents take the form of &lt;property.name&gt;property.value&lt;/property.name&gt;</xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="repositories" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The lists of the remote repositories
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="Repository"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="pluginRepositories" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          The lists of the remote repositories for discovering plugins
+
+        The &lt;code&gt;&amp;lt;proxy&amp;gt;&lt;/code&gt; element contains informations required to a proxy settings.
         </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="pluginRepository" minOccurs="0" maxOccurs="unbounded" type="Repository"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Repository">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">
-        Repository contains the information needed for establishing connections with remote repoistory
-      </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="releases" minOccurs="0" type="RepositoryPolicy">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">How to handle downloading of releases from this repository</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="snapshots" minOccurs="0" type="RepositoryPolicy">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">How to handle downloading of snapshots from this repository</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="active" type="xs:boolean" default="false">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            A unique identifier for a repository.
+
+            Whether this proxy configuration is the active one.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="name" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="protocol" type="xs:string" default="http">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Human readable name of the repository
+
+            The proxy protocol.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="url" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="username" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-             The url of the repository
+
+            The proxy user.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="layout" minOccurs="0" type="xs:string" default="default">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The type of layout this repository uses for locating and storing artifacts - can be &quot;legacy&quot; or
-            &quot;default&quot;.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="RepositoryPolicy">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">Download policy</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="enabled" minOccurs="0" type="xs:boolean" default="true">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether to use this repository for downloading this type of artifact</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="updatePolicy" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="password" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            The frequency for downloading updates - can be &quot;always&quot;, &quot;daily&quot; (default), &quot;interval:XXX&quot; (in minutes) or
-            &quot;never&quot; (only if it doesn&apos;t exist locally).
+
+            The proxy password.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="checksumPolicy" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
-            &quot;fail&quot; or &quot;warn&quot;</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Activation">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">
-        The conditions within the build runtime environment which will trigger 
-        the automatic inclusion of the parent build profile.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="activeByDefault" minOccurs="0" type="xs:boolean" default="false">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Flag specifying whether this profile is active as a default.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="jdk" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="port" type="xs:int" default="8080">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Specifies that this profile will be activated when a matching JDK is detected.
+
+            The proxy port.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="os" minOccurs="0" type="ActivationOS">
+      <xs:element minOccurs="0" name="host" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Specifies that this profile will be activated when matching OS attributes are detected.
+
+            The proxy host.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="property" minOccurs="0" type="ActivationProperty">
+      <xs:element minOccurs="0" name="nonProxyHosts" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Specifies that this profile will be activated when this System property is specified.
+
+            The list of non-proxied hosts (delimited by |).
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="file" minOccurs="0" type="ActivationFile">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-             Specifies that this profile will be activated based on existence of a file.
-             </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="ActivationFile">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">
-        This is the file specification used to activate a profile. The missing value will be a the location
-        of a file that needs to exist, and if it doesn&apos;t the profile must run.  On the other hand exists will test 
-        for the existence of the file and if it is there will run the profile.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="missing" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the file that should be missing to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="exists" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the file that should exist to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="ActivationOS">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">
-        This is an activator which will detect an operating system&apos;s attributes in order to activate
-        its profile.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="name" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the OS to be used to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="family" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The general family of the OS to be used to activate a profile (e.g. &apos;windows&apos;)</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="arch" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The architecture of the OS to be used to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="version" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="id" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The version of the OS to be used to activate a profile</xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
   </xs:complexType>
-  <xs:complexType name="ActivationProperty">
+  <xs:complexType name="Server">
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        This is the property specification used to activate a profile. If the value field is empty, 
-        then the existence of the named property will activate the profile, otherwise it does a case-sensitive
-        match against the property value as well.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="name" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the property to be used to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="value" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The value of the property to be used to activate a profile</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-</xs:schema>
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0">
-  <xs:element name="settings" type="Settings">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">Root element of the user configuration file.</xs:documentation>
-    </xs:annotation>
-  </xs:element>
-  <xs:complexType name="Settings">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">Root element of the user configuration file.</xs:documentation>
+
+        The &lt;code&gt;&amp;lt;server&amp;gt;&lt;/code&gt; element contains informations required to a server settings.
+        </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="localRepository" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The local repository.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="interactiveMode" minOccurs="0" type="xs:boolean" default="true">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether Maven should attempt to interact with the user for input.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="usePluginRegistry" minOccurs="0" type="xs:boolean" default="false">
+      <xs:element minOccurs="0" name="username" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Whether Maven should use the plugin-registry.xml file to manage plugin versions.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="offline" minOccurs="0" type="xs:boolean" default="false">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Indicate whether maven should operate in offline mode full-time.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="proxies" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          	Configuration for different proxy profiles. Multiple proxy profiles
-            might come in handy for anyone working from a notebook or other 
-            mobile platform, to enable easy switching of entire proxy 
-            configurations by simply specifying the profile id, again either from
-            the command line or from the defaults section below.
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="proxy" minOccurs="0" maxOccurs="unbounded" type="Proxy"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="servers" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-          	Configuration of server-specific settings, mainly authentication
-            method. This allows configuration of authentication on a per-server
-            basis.
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="server" minOccurs="0" maxOccurs="unbounded" type="Server"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="mirrors" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Configuration of download mirrors for repositories.
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="mirror" minOccurs="0" maxOccurs="unbounded" type="Mirror"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="profiles" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-            Configuration of build profiles for adjusting the build 
-            according to environmental parameters
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="profile" minOccurs="0" maxOccurs="unbounded" type="Profile"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="activeProfiles" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">
-            List of manually-activated build profiles, specified in the order in which
-            they should be applied.
-          </xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="activeProfile" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-      <xs:element name="pluginGroups" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">List of groupIds to search for a plugin when that plugin groupId is not explicitly
-            provided.</xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="pluginGroup" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Mirror">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-      <xs:documentation source="description">A download mirror for a given repository.</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="mirrorOf" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The server ID of the repository being mirrored, eg
-            &quot;central&quot;. This MUST NOT match the mirror id.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="name" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The optional name that describes the mirror.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="url" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The URL of the mirror repository.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Proxy">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="active" minOccurs="0" type="xs:boolean" default="false">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether this proxy configuration is the active one.
+
+            The username used to authenticate.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="protocol" minOccurs="0" type="xs:string" default="http">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy protocol.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="username" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy user.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="password" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy password.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="port" minOccurs="0" type="xs:int" default="8080">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy port.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="host" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The proxy host.</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="nonProxyHosts" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="password" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The list of non-proxied hosts (usually 
-          	comma-delimited).
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:all>
-  </xs:complexType>
-  <xs:complexType name="Server">
-    <xs:annotation>
-      <xs:documentation source="version">1.0.0</xs:documentation>
-    </xs:annotation>
-    <xs:all>
-      <xs:element name="username" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The username used to authenticate.
+
+            The password used in conjunction with the username to authenticate.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="password" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="privateKey" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The password used in conjunction with the username to authenticate.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="privateKey" minOccurs="0" type="xs:string">
-        <xs:annotation>
-          <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The private key location used to authenticate.
+
+            The private key location used to authenticate.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="passphrase" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="passphrase" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The passphrase used in conjunction with the privateKey to authenticate.
+
+            The passphrase used in conjunction with the privateKey to authenticate.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="filePermissions" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="filePermissions" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The permissions for files when they are created.
+
+            The permissions for files when they are created.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="directoryPermissions" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="directoryPermissions" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          	The permissions for directories when they are created.
+
+            The permissions for directories when they are created.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="configuration" minOccurs="0">
+      <xs:element minOccurs="0" name="configuration">
         <xs:annotation>
           <xs:documentation source="version">0.0.0+</xs:documentation>
           <xs:documentation source="description">
-          	Extra configuration for the transport layer.
+
+            Extra configuration for the transport layer.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -861,7 +379,7 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="id" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
         </xs:annotation>
@@ -872,23 +390,32 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        Modifications to the build process which is keyed on some 
+
+        Modifications to the build process which is keyed on some
         sort of environmental parameter.
+
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="activation" minOccurs="0" type="Activation">
+      <xs:element minOccurs="0" name="activation" type="Activation">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The conditional logic which will automatically 
-            trigger the inclusion of this profile.</xs:documentation>
+          <xs:documentation source="description">
+
+            The conditional logic which will automatically
+            trigger the inclusion of this profile.
+
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="properties" minOccurs="0">
+      <xs:element minOccurs="0" name="properties">
         <xs:annotation>
           <xs:documentation source="version">0.0.0+</xs:documentation>
-          <xs:documentation source="description">Extended configuration specific to this profile goes
-              here.  Contents take the form of &lt;property.name&gt;property.value&lt;/property.name&gt;</xs:documentation>
+          <xs:documentation source="description">
+            Extended configuration specific to this profile goes here.
+            Contents take the form of
+            &lt;property.name&gt;property.value&lt;/property.name&gt;
+          </xs:documentation>
         </xs:annotation>
         <xs:complexType>
           <xs:sequence>
@@ -896,10 +423,13 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="repositories" minOccurs="0">
+      <xs:element minOccurs="0" name="repositories">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The lists of the remote repositories
+          <xs:documentation source="description">
+
+            The lists of the remote repositories.
+
           </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -908,12 +438,14 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="pluginRepositories" minOccurs="0">
+      <xs:element minOccurs="0" name="pluginRepositories">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-          The lists of the remote repositories for discovering plugins
-        </xs:documentation>
+
+            The lists of the remote repositories for discovering plugins.
+
+          </xs:documentation>
         </xs:annotation>
         <xs:complexType>
           <xs:sequence>
@@ -921,7 +453,7 @@ under the License.
           </xs:sequence>
         </xs:complexType>
       </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="id" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
         </xs:annotation>
@@ -932,51 +464,64 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        Repository contains the information needed for establishing connections with remote repoistory
+        Repository contains the information needed for establishing
+        connections with remote repoistory
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="releases" minOccurs="0" type="RepositoryPolicy">
+      <xs:element minOccurs="0" name="releases" type="RepositoryPolicy">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">How to handle downloading of releases from this repository</xs:documentation>
+          <xs:documentation source="description">
+            How to handle downloading of releases from this repository
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="snapshots" minOccurs="0" type="RepositoryPolicy">
+      <xs:element minOccurs="0" name="snapshots" type="RepositoryPolicy">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">How to handle downloading of snapshots from this repository</xs:documentation>
+          <xs:documentation source="description">
+            How to handle downloading of snapshots from this repository
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="id" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="id" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
+
             A unique identifier for a repository.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="name" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="name" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            Human readable name of the repository
+
+            Human readable name of the repository.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="url" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="url" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-             The url of the repository
+
+            The url of the repository.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="layout" minOccurs="0" type="xs:string" default="default">
+      <xs:element minOccurs="0" name="layout" type="xs:string" default="default">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The type of layout this repository uses for locating and storing artifacts - can be &quot;legacy&quot; or
-            &quot;default&quot;.</xs:documentation>
+          <xs:documentation source="description">
+            The type of layout this repository uses for locating and
+            storing artifacts - can be &quot;legacy&quot; or &quot;default&quot;.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
@@ -987,26 +532,32 @@ under the License.
       <xs:documentation source="description">Download policy</xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="enabled" minOccurs="0" type="xs:boolean" default="true">
+      <xs:element minOccurs="0" name="enabled" type="xs:boolean" default="true">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Whether to use this repository for downloading this type of artifact</xs:documentation>
+          <xs:documentation source="description">
+            Whether to use this repository for downloading this type of
+            artifact.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="updatePolicy" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="updatePolicy" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-            The frequency for downloading updates - can be &quot;always&quot;, &quot;daily&quot; (default), &quot;interval:XXX&quot; (in minutes) or
-            &quot;never&quot; (only if it doesn&apos;t exist locally).
+            The frequency for downloading updates - can be &quot;always&quot;,
+            &quot;daily&quot; (default), &quot;interval:XXX&quot; (in minutes) or &quot;never&quot;
+            (only if it doesn&apos;t exist locally).
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="checksumPolicy" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="checksumPolicy" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
-            &quot;fail&quot; or &quot;warn&quot;</xs:documentation>
+          <xs:documentation source="description">
+            What to do when verification of an artifact checksum fails -
+            warn, fail, etc. Valid values are &quot;fail&quot; or &quot;warn&quot;.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
@@ -1015,47 +566,59 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        The conditions within the build runtime environment which will trigger 
+
+        The conditions within the build runtime environment which will trigger
         the automatic inclusion of the parent build profile.
+
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="activeByDefault" minOccurs="0" type="xs:boolean" default="false">
+      <xs:element minOccurs="0" name="activeByDefault" type="xs:boolean" default="false">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">Flag specifying whether this profile is active as a default.</xs:documentation>
+          <xs:documentation source="description">
+            Flag specifying whether this profile is active as a default.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="jdk" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="jdk" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
+
             Specifies that this profile will be activated when a matching JDK is detected.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="os" minOccurs="0" type="ActivationOS">
+      <xs:element minOccurs="0" name="os" type="ActivationOS">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
+
             Specifies that this profile will be activated when matching OS attributes are detected.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="property" minOccurs="0" type="ActivationProperty">
+      <xs:element minOccurs="0" name="property" type="ActivationProperty">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
+
             Specifies that this profile will be activated when this System property is specified.
+
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="file" minOccurs="0" type="ActivationFile">
+      <xs:element minOccurs="0" name="file" type="ActivationFile">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
           <xs:documentation source="description">
-             Specifies that this profile will be activated based on existence of a file.
-             </xs:documentation>
+
+            Specifies that this profile will be activated based on existence of a file.
+
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
@@ -1064,22 +627,29 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
+
         This is the file specification used to activate a profile. The missing value will be a the location
-        of a file that needs to exist, and if it doesn&apos;t the profile must run.  On the other hand exists will test 
+        of a file that needs to exist, and if it doesn&apos;t the profile must run.  On the other hand exists will test
         for the existence of the file and if it is there will run the profile.
+
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="missing" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="missing" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the file that should be missing to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The name of the file that should be missing to activate a
+            profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="exists" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="exists" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the file that should exist to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The name of the file that should exist to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
@@ -1088,33 +658,44 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
+
         This is an activator which will detect an operating system&apos;s attributes in order to activate
         its profile.
+
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="name" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="name" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the OS to be used to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The name of the OS to be used to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="family" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="family" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The general family of the OS to be used to activate a profile (e.g. &apos;windows&apos;)</xs:documentation>
+          <xs:documentation source="description">
+            The general family of the OS to be used to activate a
+            profile (e.g. &apos;windows&apos;)
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="arch" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="arch" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The architecture of the OS to be used to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The architecture of the OS to be used to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="version" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="version" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The version of the OS to be used to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The version of the OS to be used to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>
@@ -1123,22 +704,28 @@ under the License.
     <xs:annotation>
       <xs:documentation source="version">1.0.0</xs:documentation>
       <xs:documentation source="description">
-        This is the property specification used to activate a profile. If the value field is empty, 
+
+        This is the property specification used to activate a profile. If the value field is empty,
         then the existence of the named property will activate the profile, otherwise it does a case-sensitive
         match against the property value as well.
+
       </xs:documentation>
     </xs:annotation>
     <xs:all>
-      <xs:element name="name" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="name" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The name of the property to be used to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The name of the property to be used to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
-      <xs:element name="value" minOccurs="0" type="xs:string">
+      <xs:element minOccurs="0" name="value" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">1.0.0</xs:documentation>
-          <xs:documentation source="description">The value of the property to be used to activate a profile</xs:documentation>
+          <xs:documentation source="description">
+            The value of the property to be used to activate a profile.
+          </xs:documentation>
         </xs:annotation>
       </xs:element>
     </xs:all>

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday.ProjectImporterEngine.csproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday.ProjectImporterEngine.csproj?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday.ProjectImporterEngine.csproj (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday.ProjectImporterEngine.csproj Wed Nov 16 17:19:58 2011
@@ -39,8 +39,7 @@ under the License.
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\..\..\..\NPanday.Model.Pom\target\NPanday.Model.Pom.dll</HintPath>
     </Reference>
-    <Reference Include="NPanday.Model.Settings, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
+    <Reference Include="NPanday.Model.Settings, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
       <HintPath>..\..\..\..\..\NPanday.Model.Settings\target\NPanday.Model.Settings.dll</HintPath>
     </Reference>
     <Reference Include="NUnit.Framework">

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday/ProjectImporter/Digest/Model/Reference.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday/ProjectImporter/Digest/Model/Reference.cs?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday/ProjectImporter/Digest/Model/Reference.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/NPanday/ProjectImporter/Digest/Model/Reference.cs Wed Nov 16 17:19:58 2011
@@ -26,7 +26,7 @@ using System.IO;
 using NPanday.Utils;
 using System.Reflection;
 using NPanday.Artifact;
-using NPanday.Model.Setting;
+using NPanday.Model.Settings;
 using System.Windows.Forms;
 using System.Net;
 

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs?rev=1202791&r1=1202790&r2=1202791&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs Wed Nov 16 17:19:58 2011
@@ -22,7 +22,6 @@ using System.Collections.Generic;
 using System.Text;
 using System.IO;
 using System.Security.Cryptography;
-
 using NPanday.Utils;
 
 /// Author: Leopoldo Lee Agdeppa III
@@ -39,8 +38,8 @@ namespace NPanday.ProjectImporter.Import
 
         public static bool IsSameFile(string dir1, string dir2)
         {
-            string str1 = NPanday.Utils.PomHelperUtility.NormalizeFileToWindowsStyle(Path.GetFullPath(dir1));
-            string str2 = NPanday.Utils.PomHelperUtility.NormalizeFileToWindowsStyle(Path.GetFullPath(dir2));
+            string str1 = PomHelperUtility.NormalizeFileToWindowsStyle(Path.GetFullPath(dir1));
+            string str2 = PomHelperUtility.NormalizeFileToWindowsStyle(Path.GetFullPath(dir2));
             return str1.Equals(str2, StringComparison.OrdinalIgnoreCase);
         }