From 86c5cf1fc619bf9bd456e9ebbd9317c0bc92f940 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Sun, 20 Nov 2005 05:40:09 +0000 Subject: [PATCH] PR: MPGENAPP-22 Make generated POMs conform to maven-project-3.xsd git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@345724 13f79535-47bb-0310-9956-ffa450edef68 --- genapp/project.xml | 13 +++- .../complex/template-resources/maven.xml | 2 +- .../complex/template-resources/project.xml | 55 ++++++++++++---- .../default/template-resources/project.xml | 38 ++++++----- .../ejb/template-resources/maven.xml | 2 +- .../ejb/template-resources/project.xml | 50 +++++++++------ .../struts-jstl/template-resources/maven.xml | 2 +- .../template-resources/project.xml | 64 +++++++++++-------- .../struts/template-resources/maven.xml | 2 +- .../struts/template-resources/project.xml | 47 ++++++++------ .../tapestry/template-resources/maven.xml | 2 +- .../tapestry/template-resources/project.xml | 53 ++++++++------- .../web-jstl/template-resources/maven.xml | 2 +- .../web-jstl/template-resources/project.xml | 61 ++++++++++-------- .../web-velocity/template-resources/maven.xml | 2 +- .../template-resources/project.xml | 50 +++++++++------ .../web/template-resources/maven.xml | 2 +- .../web/template-resources/project.xml | 57 ++++++++++------- genapp/xdocs/changes.xml | 1 + 19 files changed, 306 insertions(+), 199 deletions(-) diff --git a/genapp/project.xml b/genapp/project.xml index 4fcdda04..037a480d 100644 --- a/genapp/project.xml +++ b/genapp/project.xml @@ -24,7 +24,8 @@ maven-genapp-plugin Maven Genapp Plugin 2.3-SNAPSHOT - A collection of example projects showing how to use maven in different situations + A collection of example projects showing how to use maven in different situations + A collection of example projects http://maven.apache.org/maven-1.x/reference/plugins/genapp/ /www/maven.apache.org/maven-1.x/reference/plugins/genapp/ http://jira.codehaus.org/browse/MPGENAPP @@ -88,7 +89,15 @@ Java Developer -3 - + + + Lukas Theussl + ltheussl + ltheussl@apache.org + + Developer + + diff --git a/genapp/src/plugin-resources/complex/template-resources/maven.xml b/genapp/src/plugin-resources/complex/template-resources/maven.xml index 0d52a587..daab264e 100644 --- a/genapp/src/plugin-resources/complex/template-resources/maven.xml +++ b/genapp/src/plugin-resources/complex/template-resources/maven.xml @@ -1,5 +1,5 @@ - + diff --git a/genapp/src/plugin-resources/complex/template-resources/project.xml b/genapp/src/plugin-resources/complex/template-resources/project.xml index eb220db8..e073f35d 100644 --- a/genapp/src/plugin-resources/complex/template-resources/project.xml +++ b/genapp/src/plugin-resources/complex/template-resources/project.xml @@ -1,30 +1,52 @@ + + + + - - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ + - 1.0 - + Apache Software Foundation http://www.apache.org/ http://maven.apache.org/images/jakarta-logo-blue.gif - - 2002 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg This is an example of an application with a complex architecture that uses XDoclet, EJB, EAR and servlets that can be used as a basis for your applications. @@ -39,25 +61,30 @@ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + - + - - + + + multiproject:build + + + maven-changelog-plugin maven-developer-activity-plugin diff --git a/genapp/src/plugin-resources/default/template-resources/project.xml b/genapp/src/plugin-resources/default/template-resources/project.xml index b0be35b3..e445bbf1 100644 --- a/genapp/src/plugin-resources/default/template-resources/project.xml +++ b/genapp/src/plugin-resources/default/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - + + @ID@ + + @NAME@ + - 1.0 - + Apache Software Foundation http://www.apache.org/ http://maven.apache.org/images/jakarta-logo-blue.gif - - 2002 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + - + - - + turbine-maven-dev@jakarta.apache.org src/java diff --git a/genapp/src/plugin-resources/ejb/template-resources/maven.xml b/genapp/src/plugin-resources/ejb/template-resources/maven.xml index 36faa230..ab4c409d 100644 --- a/genapp/src/plugin-resources/ejb/template-resources/maven.xml +++ b/genapp/src/plugin-resources/ejb/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/ejb/template-resources/project.xml b/genapp/src/plugin-resources/ejb/template-resources/project.xml index 9407e7f9..df8b850d 100644 --- a/genapp/src/plugin-resources/ejb/template-resources/project.xml +++ b/genapp/src/plugin-resources/ejb/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ + - 1.0 - + Apache Software Foundation http://www.apache.org/ http://maven.apache.org/images/jakarta-logo-blue.gif - - 2004 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - ejb + ejb + ejb 2.1 - xdoclet + xdoclet + xdoclet 1.2 @@ -151,9 +158,10 @@ 3.2.1 - + + ejb turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/struts-jstl/template-resources/maven.xml b/genapp/src/plugin-resources/struts-jstl/template-resources/maven.xml index d40cc6f5..fe72b2b9 100644 --- a/genapp/src/plugin-resources/struts-jstl/template-resources/maven.xml +++ b/genapp/src/plugin-resources/struts-jstl/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/struts-jstl/template-resources/project.xml b/genapp/src/plugin-resources/struts-jstl/template-resources/project.xml index 0d580c4d..39bf26c1 100644 --- a/genapp/src/plugin-resources/struts-jstl/template-resources/project.xml +++ b/genapp/src/plugin-resources/struts-jstl/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ - 2004 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - + - servletapi + servletapi + servletapi 2.3 - jstl + jstl + jstl 1.0.2 true - + - + taglibs standard 1.0.4 true - + - + cactus cactus @@ -194,7 +201,8 @@ - xdoclet + xdoclet + xdoclet 1.2 @@ -204,7 +212,7 @@ 1.2 http://xdoclet.sf.net/ - + xdoclet xdoclet-ejb-module @@ -243,7 +251,7 @@ true - + jtidy jtidy @@ -252,10 +260,12 @@ true - + + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/struts/template-resources/maven.xml b/genapp/src/plugin-resources/struts/template-resources/maven.xml index d40cc6f5..fe72b2b9 100644 --- a/genapp/src/plugin-resources/struts/template-resources/maven.xml +++ b/genapp/src/plugin-resources/struts/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/struts/template-resources/project.xml b/genapp/src/plugin-resources/struts/template-resources/project.xml index b5b315df..2fe4b1b4 100644 --- a/genapp/src/plugin-resources/struts/template-resources/project.xml +++ b/genapp/src/plugin-resources/struts/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ - 2004 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - + - servletapi + servletapi + servletapi 2.3 @@ -177,7 +183,8 @@ - xdoclet + xdoclet + xdoclet 1.2 @@ -238,7 +245,9 @@ + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/tapestry/template-resources/maven.xml b/genapp/src/plugin-resources/tapestry/template-resources/maven.xml index d3054519..a4916fc1 100755 --- a/genapp/src/plugin-resources/tapestry/template-resources/maven.xml +++ b/genapp/src/plugin-resources/tapestry/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/tapestry/template-resources/project.xml b/genapp/src/plugin-resources/tapestry/template-resources/project.xml index d68e14ba..36c8f1ac 100755 --- a/genapp/src/plugin-resources/tapestry/template-resources/project.xml +++ b/genapp/src/plugin-resources/tapestry/template-resources/project.xml @@ -18,16 +18,20 @@ --> - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/reference/plugins/examples/ + http://nagoya.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples http://cvs.apache.org/viewcvs/maven-plugins/examples/ + - + + - - - - junit + junit + junit 3.8.1 - + - servletapi + servletapi + servletapi 2.3 @@ -211,7 +217,8 @@ - xdoclet + xdoclet + xdoclet 1.2.3 @@ -221,7 +228,7 @@ 1.2.3 http://xdoclet.sf.net/ - + xdoclet xdoclet-ejb-module @@ -235,14 +242,14 @@ 1.1 http://xdoclet.sf.net/ - + xdoclet maven-xdoclet-plugin 1.2.3 plugin http://xdoclet.sf.net/ - + @@ -253,7 +260,7 @@ true - + jtidy jtidy @@ -262,10 +269,12 @@ true - + + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/web-jstl/template-resources/maven.xml b/genapp/src/plugin-resources/web-jstl/template-resources/maven.xml index d40cc6f5..fe72b2b9 100644 --- a/genapp/src/plugin-resources/web-jstl/template-resources/maven.xml +++ b/genapp/src/plugin-resources/web-jstl/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/web-jstl/template-resources/project.xml b/genapp/src/plugin-resources/web-jstl/template-resources/project.xml index e1f57bea..80e7397f 100644 --- a/genapp/src/plugin-resources/web-jstl/template-resources/project.xml +++ b/genapp/src/plugin-resources/web-jstl/template-resources/project.xml @@ -1,7 +1,7 @@ - + + 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ - 2004 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - + - servletapi + servletapi + servletapi 2.3 - jstl + jstl + jstl 1.0.2 true - + - + taglibs standard 1.0.4 true - + @@ -118,7 +126,8 @@ - xdoclet + xdoclet + xdoclet 1.2 @@ -135,7 +144,7 @@ 1.2 http://xdoclet.sf.net/ - + xdoclet xjavadoc @@ -160,7 +169,7 @@ true - + jtidy jtidy @@ -169,10 +178,12 @@ true - + + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/web-velocity/template-resources/maven.xml b/genapp/src/plugin-resources/web-velocity/template-resources/maven.xml index 23d461a2..0c050b6d 100644 --- a/genapp/src/plugin-resources/web-velocity/template-resources/maven.xml +++ b/genapp/src/plugin-resources/web-velocity/template-resources/maven.xml @@ -17,6 +17,6 @@ */ --> - + diff --git a/genapp/src/plugin-resources/web-velocity/template-resources/project.xml b/genapp/src/plugin-resources/web-velocity/template-resources/project.xml index e9b832d3..82c4de57 100644 --- a/genapp/src/plugin-resources/web-velocity/template-resources/project.xml +++ b/genapp/src/plugin-resources/web-velocity/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ - 2004 + + 2005 + @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - servletapi + servletapi + servletapi 2.3 @@ -125,7 +132,7 @@ true - + velocity velocity @@ -162,7 +169,6 @@ - httpunit @@ -172,7 +178,7 @@ true - + jtidy jtidy @@ -181,10 +187,12 @@ true - + + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/src/plugin-resources/web/template-resources/maven.xml b/genapp/src/plugin-resources/web/template-resources/maven.xml index d40cc6f5..fe72b2b9 100644 --- a/genapp/src/plugin-resources/web/template-resources/maven.xml +++ b/genapp/src/plugin-resources/web/template-resources/maven.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/genapp/src/plugin-resources/web/template-resources/project.xml b/genapp/src/plugin-resources/web/template-resources/project.xml index 840c0b57..27f4f50d 100644 --- a/genapp/src/plugin-resources/web/template-resources/project.xml +++ b/genapp/src/plugin-resources/web/template-resources/project.xml @@ -1,7 +1,7 @@ - + + - 3 + - @ID@ - @ID@ - + + @ID@ + + @NAME@ - 2004 + + 2005 @PACKAGE@ http://maven.apache.org/images/maven.jpg A collection of example projects showing how to use maven in different situations + - How to use maven in different situations - + http://maven.apache.org/maven-1.x/reference/plugins/examples/ + http://issues.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org/maven-1.x/reference/plugins/examples/ /www/maven.apache.org/builds/ + - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/examples http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/examples/ + - + + - - - - junit + junit + junit 3.8.1 - + - servletapi + servletapi + servletapi 2.3 @@ -101,7 +107,8 @@ - xdoclet + xdoclet + xdoclet 1.2 @@ -111,14 +118,14 @@ 1.2 http://xdoclet.sf.net/ - + xdoclet xdoclet-ejb-module 1.2 http://xdoclet.sf.net/ - + xdoclet xjavadoc @@ -132,7 +139,7 @@ 1.2 plugin http://xdoclet.sf.net/ - + @@ -143,7 +150,7 @@ true - + jtidy jtidy @@ -152,10 +159,12 @@ true - + + + war turbine-maven-dev@jakarta.apache.org src/java src/test diff --git a/genapp/xdocs/changes.xml b/genapp/xdocs/changes.xml index 6ed847e9..bd0bc48e 100644 --- a/genapp/xdocs/changes.xml +++ b/genapp/xdocs/changes.xml @@ -22,6 +22,7 @@ + Make generated POMs conform to maven-project-3.xsd. Added prompt for project root. Added Tapestry template. Using ${maven.home.local} instead of ${user.home}/.maven for templates.