Created
September 10, 2013 15:03
-
-
Save gamerson/6510740 to your computer and use it in GitHub Desktop.
Example pom.xml that runs Liferay Portal 6.1.2 on Embedded Tomcat via tomcat7-maven-plugin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<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> | |
<parent> | |
<groupId>ray.demo</groupId> | |
<artifactId>ray-demo</artifactId> | |
<version>0.1.0-SNAPSHOT</version> | |
<relativePath>../</relativePath> | |
</parent> | |
<artifactId>ray-demo-server</artifactId> | |
<packaging>pom</packaging> | |
<name>Ray Demo Server</name> | |
<properties /> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.tomcat.maven</groupId> | |
<artifactId>tomcat7-maven-plugin</artifactId> | |
<version>2.1</version> | |
<configuration> | |
<webapps> | |
<webapp> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>portal-web</artifactId> | |
<version>6.1.2</version> | |
<type>war</type> | |
<asWebapp>true</asWebapp> | |
<contextPath>/</contextPath> | |
</webapp> | |
</webapps> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>portal-service</artifactId> | |
<version>6.1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>javax.servlet-api</artifactId> | |
<version>3.0.1</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.transaction</groupId> | |
<artifactId>jta</artifactId> | |
<version>1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.persistence</groupId> | |
<artifactId>javax.persistence</artifactId> | |
<version>2.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> | |
<artifactId>jsp-api</artifactId> | |
<version>2.1</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.portlet</groupId> | |
<artifactId>portlet-api</artifactId> | |
<version>2.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hsqldb</groupId> | |
<artifactId>hsqldb</artifactId> | |
<version>2.3.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>util-bridges</artifactId> | |
<version>6.1.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>util-taglib</artifactId> | |
<version>6.1.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>util-java</artifactId> | |
<version>6.1.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.mail</groupId> | |
<artifactId>mail</artifactId> | |
<version>1.4</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.el</groupId> | |
<artifactId>el-api</artifactId> | |
<version>2.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.glassfish.web</groupId> | |
<artifactId>el-impl</artifactId> | |
<version>2.2</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment