Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Svehla committed May 9, 2014
1 parent b379cf8 commit 4f39ba3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Liferay Spring Portlet MVC

A Liferay Spring Portlet MVC project template using Maven.

* Liferay EE 6.1.20
* Java 1.6
* Liferay EE 6.2.10.4 (SP3)
* Java 1.7
* Portlet 2.0
* Spring Framework 3.2.5
* Spring Framework 4.0.4
* Annotation-based controller configuration

Usage
Expand All @@ -28,19 +28,20 @@ $ cp target/liferay-spring-mvc-portlet.war $LIFERAY_HOME/deploy/
Configuration
-------------

Default settings are Liferay EE 6.1.20, Java 1.6, Portlet 2.0, and Spring 3.2. All can be configured in [pom.xml](https://github.com/psvehla/liferay-spring-mvc-portlet/pom.xml)
Default settings are Liferay EE 6.2.10.4, Java 1.7, Portlet 2.0, and Spring 4.0. All can be configured in [pom.xml](https://github.com/psvehla/liferay-spring-mvc-portlet/pom.xml)

```xml
<properties>
<liferay.version>6.1.20</liferay.version>
<java-version>1.6</java-version>
<liferay.version>6.2.10.4</liferay.version>
<liferay.auto.deploy.dir>F:\java\liferay-portal-6.1.20-ee-ga2\deploy</liferay.auto.deploy.dir>
<java-version>1.7</java-version>
<portlet-api.version>2.0</portlet-api.version>
<servlet-api.version>2.5</servlet-api.version>
<jsp-api.version>2.2</jsp-api.version>
<jstl.version>1.2</jstl.version>
<org.springframework-version>3.2.5.RELEASE</org.springframework-version>
<org.aspectj-version>1.7.4</org.aspectj-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
<org.springframework-version>4.0.4.RELEASE</org.springframework-version>
<org.aspectj-version>1.8.0</org.aspectj-version>
<org.slf4j-version>1.7.7</org.slf4j-version>
</properties>
```

Expand Down Expand Up @@ -70,6 +71,6 @@ $ mvn archetype:generate -DarchetypeCatalog=local
Licence
-------

Copyright 2013 Red Barn Consulting
Copyright 2014 Red Barn Consulting

Licenced under the LGPL Licence, Version 3.0: http://www.gnu.org/licenses/lgpl.html
13 changes: 7 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
<artifactId>liferay-spring-mvc-portlet</artifactId>
<packaging>war</packaging>
<name>Liferay Spring MVC Portlet</name>
<version>1.1-RELEASE</version>
<version>1.2-RELEASE</version>

<prerequisites>
<maven>3.1.1</maven>
</prerequisites>

<properties>
<liferay.version>6.1.20</liferay.version>
<liferay.version>6.2.10.4</liferay.version>
<liferay.auto.deploy.dir>F:\java\liferay-portal-6.1.20-ee-ga2\deploy</liferay.auto.deploy.dir>
<java-version>1.6</java-version>
<java-version>1.7</java-version>
<portlet-api.version>2.0</portlet-api.version>
<servlet-api.version>2.5</servlet-api.version>
<jsp-api.version>2.2</jsp-api.version>
<jstl.version>1.2</jstl.version>
<org.springframework-version>3.2.5.RELEASE</org.springframework-version>
<org.aspectj-version>1.7.4</org.aspectj-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
<org.springframework-version>4.0.4.RELEASE</org.springframework-version>
<org.aspectj-version>1.8.0</org.aspectj-version>
<org.slf4j-version>1.7.7</org.slf4j-version>
</properties>

<dependencies>
Expand Down Expand Up @@ -176,6 +176,7 @@
<version>${liferay.version}</version>
<configuration>
<autoDeployDir>${liferay.auto.deploy.dir}</autoDeployDir>
<appServerPortalDir>${liferay.app.server.portal.dir}</appServerPortalDir>
<liferayVersion>${liferay.version}</liferayVersion>
<pluginType>portlet</pluginType>
</configuration>
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/log4j.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

<!-- Appenders -->
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/log4j.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

<!-- Appenders -->
Expand Down

0 comments on commit 4f39ba3

Please sign in to comment.