Created
October 18, 2012 10:53
-
-
Save amusarra/3910979 to your computer and use it in GitHub Desktop.
LiferayHookSugarCRM - Maven Liferay 6.1 Hook Example
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"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>it.dontesta.liferay.hook.sugarcrm</groupId> | |
<artifactId>liferay-hook-sugarcrm</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>LiferayHookSugarCRM</name> | |
<description>Maven Liferay 6.1 Hook Example</description> | |
<url>http://musarra.wordpress.com</url> | |
<inceptionYear>2012</inceptionYear> | |
<organization> | |
<name>Antonio Musarra</name> | |
<url>http://musarra.wordpress.com</url> | |
</organization> | |
<licenses> | |
<license> | |
<name>GNU General Public License (GPLv3)</name> | |
<url>http://www.gnu.org/licenses/gpl-3.0-standalone.html</url> | |
<distribution>manual</distribution> | |
</license> | |
</licenses> | |
<developers> | |
<developer> | |
<id>amusarra</id> | |
<name>Antonio Musarra</name> | |
<email>antonio.musarra@gmail.com</email> | |
<url>http://musarra.wordpress.com</url> | |
<roles> | |
<role>Senior Architect</role> | |
<role>Senior Developer</role> | |
</roles> | |
</developer> | |
</developers> | |
<properties> | |
<liferay.version>6.1.1</liferay.version> | |
<liferay.auto.deploy.dir>/opt/liferay-portal-6.1.1-ce-ga2/deploy</liferay.auto.deploy.dir> | |
<liferay.app.server.portal.dir>/opt/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT</liferay.app.server.portal.dir> | |
<liferay.app.server.lib.global.dir>/opt/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/lib/ext</liferay.app.server.lib.global.dir> | |
<app.server.deploy.dir>/opt/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps</app.server.deploy.dir> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>portal-service</artifactId> | |
<version>6.1.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.liferay.portal</groupId> | |
<artifactId>util-java</artifactId> | |
<version>6.1.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.portlet</groupId> | |
<artifactId>portlet-api</artifactId> | |
<version>2.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>2.4</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> | |
<artifactId>jsp-api</artifactId> | |
<version>2.0</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>central</id> | |
<name>Central Repository</name> | |
<url>http://repo.maven.apache.org/maven2</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<releases> | |
<updatePolicy>never</updatePolicy> | |
</releases> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>central</id> | |
<name>Central Repository</name> | |
<url>http://repo.maven.apache.org/maven2</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<build> | |
<sourceDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/src/main/java</sourceDirectory> | |
<scriptSourceDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/src/main/scripts</scriptSourceDirectory> | |
<testSourceDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/src/test/java</testSourceDirectory> | |
<outputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/classes</outputDirectory> | |
<testOutputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/test-classes</testOutputDirectory> | |
<resources> | |
<resource> | |
<directory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/src/main/resources</directory> | |
</resource> | |
</resources> | |
<testResources> | |
<testResource> | |
<directory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/src/test/resources</directory> | |
</testResource> | |
</testResources> | |
<directory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target</directory> | |
<finalName>liferay-hook-sugarcrm-0.0.1-SNAPSHOT</finalName> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.3</version> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2-beta-5</version> | |
</plugin> | |
<plugin> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.1</version> | |
</plugin> | |
<plugin> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.0</version> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>com.liferay.maven.plugins</groupId> | |
<artifactId>liferay-maven-plugin</artifactId> | |
<version>6.1.1</version> | |
<configuration> | |
<autoDeployDir>/opt/liferay-portal-6.1.1-ce-ga2/deploy</autoDeployDir> | |
<appServerDeployDir>${liferay.app.server.deploy.dir}</appServerDeployDir> | |
<appServerLibGlobalDir>/opt/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/lib/ext</appServerLibGlobalDir> | |
<appServerPortalDir>/opt/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT</appServerPortalDir> | |
<liferayVersion>6.1.1</liferayVersion> | |
<pluginType>hook</pluginType> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.5</version> | |
<executions> | |
<execution> | |
<id>default-testCompile</id> | |
<phase>test-compile</phase> | |
<goals> | |
<goal>testCompile</goal> | |
</goals> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</execution> | |
<execution> | |
<id>default-compile</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.5</version> | |
<executions> | |
<execution> | |
<id>default-resources</id> | |
<phase>process-resources</phase> | |
<goals> | |
<goal>resources</goal> | |
</goals> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</execution> | |
<execution> | |
<id>default-testResources</id> | |
<phase>process-test-resources</phase> | |
<goals> | |
<goal>testResources</goal> | |
</goals> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>2.4.1</version> | |
<executions> | |
<execution> | |
<id>default-clean</id> | |
<phase>clean</phase> | |
<goals> | |
<goal>clean</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-install-plugin</artifactId> | |
<version>2.3.1</version> | |
<executions> | |
<execution> | |
<id>default-install</id> | |
<phase>install</phase> | |
<goals> | |
<goal>install</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.10</version> | |
<executions> | |
<execution> | |
<id>default-test</id> | |
<phase>test</phase> | |
<goals> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<executions> | |
<execution> | |
<id>default-war</id> | |
<phase>package</phase> | |
<goals> | |
<goal>war</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-deploy-plugin</artifactId> | |
<version>2.7</version> | |
<executions> | |
<execution> | |
<id>default-deploy</id> | |
<phase>deploy</phase> | |
<goals> | |
<goal>deploy</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-site-plugin</artifactId> | |
<version>3.0</version> | |
<executions> | |
<execution> | |
<id>default-site</id> | |
<phase>site</phase> | |
<goals> | |
<goal>site</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/site</outputDirectory> | |
<reportPlugins> | |
<reportPlugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-project-info-reports-plugin</artifactId> | |
</reportPlugin> | |
</reportPlugins> | |
</configuration> | |
</execution> | |
<execution> | |
<id>default-deploy</id> | |
<phase>site-deploy</phase> | |
<goals> | |
<goal>deploy</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/site</outputDirectory> | |
<reportPlugins> | |
<reportPlugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-project-info-reports-plugin</artifactId> | |
</reportPlugin> | |
</reportPlugins> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<outputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/site</outputDirectory> | |
<reportPlugins> | |
<reportPlugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-project-info-reports-plugin</artifactId> | |
</reportPlugin> | |
</reportPlugins> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<reporting> | |
<outputDirectory>/Users/amusarra/Documents/workspace-Liferay-MyBlog/liferayhook-sugarcrm/target/site</outputDirectory> | |
</reporting> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment