Commit Graph
7 Commits
Author SHA1 Message Date
ltheussl d4f7f4ac2e Allow no mailingList, developer and contributor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@345717 13f79535-47bb-0310-9956-ffa450edef68
2005-11-20 04:54:45 +00:00
ltheussl b0bd6ac521 Remove xslt transform, it doesn't work with java 5 (?). Extended poms comply with maven-project-3.xsd (in core), root poms with pom-strict-3.xsd.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@345542 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 19:24:12 +00:00
ltheussl b39d1e1050 Fix some minOccurs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@326284 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 22:38:47 +00:00
ltheussl b1f481a326 Fix some minOccurs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@325999 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 23:24:28 +00:00
ltheussl 7d846069e1 Make pom:validate work whether namespace is declared or not
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@325997 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 22:56:00 +00:00
ltheussl 570889a1c3 Allow empty <developers/> and <contributors/>
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@321282 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 03:53:18 +00:00
ltheussl 1e2fd4c5a0 New attempt at pom:validate:
Every pom that does not extend another one (a root pom) has to comply
with the schema ${plugin.resources}/xsd/pom-strict-3.xsd (this needs review).

Running "pom:validate" on a child pom
will create another schema ${plugin.resources}/xsd/pom-extend-3.xsd
(if this doesn't exist already) via an xslt transformation using the
stylesheet ${plugin.resources}/xsl/pom-extend-3.xsl. This just replaces
all 'minOccurs="1"' attributes in pom-strict-3.xsd by 'minOccurs="0"'.

Namespace is still a problem, I removed it from the xsd (xml:parse seems not
to work on documents with namespace declarations?).


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@312982 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 00:15:09 +00:00