[Building Sakai] Validating pom.xml files

Jim Eng jimeng at umich.edu
Thu Oct 1 12:01:45 PDT 2009


I would like to suggest that we add the schema references to the  
pom.xml files as is shown in the project tag in the sample file in the  
maven documentation:

http://maven.apache.org/pom.html#Quick_Overview

Our files would all start like this:

<?xml version="1.0"?>
<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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>

The benefit of adding those attributes to project tag is that people  
who edit pom.xml files in smart XML editors (like oxygen http://www.oxygenxml.com/) 
  can then check that the pom's are valid.

Jim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091001/c6994b77/attachment.html 


More information about the sakai-dev mailing list