You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by as...@apache.org on 2018/03/03 20:04:40 UTC

portals-pluto git commit: PLUTO-694 XML validation error in WEB-INF/portlet.xml descriptor in the generic-portlet-archetype

Repository: portals-pluto
Updated Branches:
  refs/heads/master 6fb378427 -> 20a312be1


PLUTO-694 XML validation error in WEB-INF/portlet.xml descriptor in the generic-portlet-archetype


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/20a312be
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/20a312be
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/20a312be

Branch: refs/heads/master
Commit: 20a312be1b0b180c105b190fd1d7b0f9a44f0ce1
Parents: 6fb3784
Author: Neil Griffin <ne...@gmail.com>
Authored: Sat Mar 3 15:04:20 2018 -0500
Committer: Neil Griffin <ne...@gmail.com>
Committed: Sat Mar 3 15:04:20 2018 -0500

----------------------------------------------------------------------
 .../archetype-resources/src/main/webapp/WEB-INF/portlet.xml  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/20a312be/maven-archetypes/generic-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
----------------------------------------------------------------------
diff --git a/maven-archetypes/generic-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml b/maven-archetypes/generic-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
index 0a23d88..ab5e64d 100755
--- a/maven-archetypes/generic-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
+++ b/maven-archetypes/generic-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
@@ -8,14 +8,14 @@
 		<portlet-name>hello_world</portlet-name>
 		<display-name>${artifactId}</display-name>
 		<portlet-class>${package}.HelloWorldPortlet</portlet-class>
-		<expiration-cache>0</expiration-cache>
-		<supports>
-			<mime-type>text/html</mime-type>
-		</supports>
 		<init-param>
 			<name>foo</name>
 			<value>1234</value>
 		</init-param>
+		<expiration-cache>0</expiration-cache>
+		<supports>
+			<mime-type>text/html</mime-type>
+		</supports>
 		<portlet-info>
 			<title>${artifactId}</title>
 			<short-title>${artifactId}</short-title>