[Building Sakai] Validating pom.xml files

Aaron Zeckoski aaronz at vt.edu
Thu Oct 1 13:37:39 PDT 2009


I definitely agree. We have been doing this for years in the sakai app
builder and other contrib tools so it would be great for trunk to have
this as well.
-AZ


On Thu, Oct 1, 2009 at 8:01 PM, Jim Eng <jimeng at umich.edu> wrote:
> 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
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>
>



-- 
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list