You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2007/07/06 18:35:16 UTC
svn commit: r553946 [3/19] - in /maven/archetype/branches/maven-archetypeng:
./ maven-archetypeng-bundles/
maven-archetypeng-bundles/maven-archetypeng-archetype/
maven-archetypeng-bundles/maven-archetypeng-archetype/src/
maven-archetypeng-bundles/maven...
Added: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml?view=auto&rev=553946
==============================================================================
--- maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml (added)
+++ maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml Fri Jul 6 09:34:35 2007
@@ -0,0 +1,270 @@
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Maven Portlet Archetype</name>
+ <url>http://maven.apache.org</url>
+ <profiles>
+ <profile>
+ <id>jetspeed</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ <configuration>
+ <webXml>src/main/jetspeed/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java
URL: http://svn.apache.org/viewvc/maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java?view=auto&rev=553946
==============================================================================
--- maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java (added)
+++ maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java Fri Jul 6 09:34:35 2007
@@ -0,0 +1,655 @@
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
+package $package;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.IOException;
+import javax.portlet.PortletConfig;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+
+public class MyPortlet extends GenericPortlet {
+
+ private static final String NORMAL_VIEW = "/normal.jsp";
+ private static final String MAXIMIZED_VIEW = "/maximized.jsp";
+ private static final String HELP_VIEW = "/help.jsp";
+
+ private PortletRequestDispatcher normalView;
+ private PortletRequestDispatcher maximizedView;
+ private PortletRequestDispatcher helpView;
+
+ public void doView( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ if( WindowState.MINIMIZED.equals( request.getWindowState() ) ) {
+ return;
+ }
+
+ if ( WindowState.NORMAL.equals( request.getWindowState() ) ) {
+ normalView.include( request, response );
+ } else {
+ maximizedView.include( request, response );
+ }
+ }
+
+ protected void doHelp( RenderRequest request, RenderResponse response )
+ throws PortletException, IOException {
+
+ helpView.include( request, response );
+
+ }
+
+ public void init( PortletConfig config ) throws PortletException {
+ super.init( config );
+ normalView = config.getPortletContext().getRequestDispatcher( NORMAL_VIEW );
+ maximizedView = config.getPortletContext().getRequestDispatcher( MAXIMIZED_VIEW );
+ helpView = config.getPortletContext().getRequestDispatcher( HELP_VIEW );
+ }
+
+ public void destroy() {
+ normalView = null;
+ maximizedView = null;
+ helpView = null;
+ super.destroy();
+ }
+
+}
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/java/MyPortlet.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml
URL: http://svn.apache.org/viewvc/maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml?view=auto&rev=553946
==============================================================================
--- maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml (added)
+++ maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml Fri Jul 6 09:34:35 2007
@@ -0,0 +1,324 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>${artifactId} Wrapper</display-name>
+
+ <description>Generated Portlet Wrapper</description>
+
+ <servlet>
+ <servlet-name>${artifactId}</servlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+ <description>Portlet for Jetspeed Fusion</description>
+ <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+
+ <init-param>
+ <param-name>registerAtInit</param-name>
+ <param-value>1</param-value>
+ </init-param>
+
+ <init-param>
+ <param-name>portletApplication</param-name>
+ <param-value>${artifactId}</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JetspeedContainer</servlet-name>
+ <url-pattern>/container/*</url-pattern>
+ </servlet-mapping>
+
+ <taglib>
+ <taglib-uri>http://java.sun.com/portlet</taglib-uri>
+ <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
+ </taglib>
+</web-app>
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/jetspeed/web.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml?view=auto&rev=553946
==============================================================================
--- maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml (added)
+++ maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml Fri Jul 6 09:34:35 2007
@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
+ http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <portlet>
+ <description>Write here a short description about your portlet.</description>
+ <portlet-name>${artifactId}</portlet-name>
+ <display-name>${artifactId} Portlet</display-name>
+
+ <portlet-class>${groupId}.${artifactId}</portlet-class>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>Put the portlet title here</title>
+ <short-title>Portlet Short Title</short-title>
+ <keywords>put keywords here</keywords>
+ </portlet-info>
+ </portlet>
+</portlet-app>
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/archetype/branches/maven-archetypeng/maven-archetypeng-bundles/maven-archetypeng-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"