<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Maven Archetypes</title><link>https://sourceforge.net/p/openinfinity/wiki/Maven%2520Archetypes/</link><description>Recent changes to Maven Archetypes</description><atom:link href="https://sourceforge.net/p/openinfinity/wiki/Maven%20Archetypes/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 17 May 2012 15:00:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openinfinity/wiki/Maven%20Archetypes/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Maven Archetypes modified by Ivan</title><link>https://sourceforge.net/p/openinfinity/wiki/Maven%2520Archetypes/</link><description>&lt;h3&gt;OpenInfinity Archetypes&lt;/h3&gt;
&lt;p&gt;Now there are 4 types of modules that you can build via Maven Archetypes:&lt;/p&gt;
&lt;h5&gt;Portal Platform Archetype&lt;/h5&gt;
&lt;p&gt;This archetype was created on base of the Health Monitoring module. Result of use will be simple portlet for Liferay.&lt;/p&gt;
&lt;p&gt;Module has liferay-maven-plugin connected. It may help you deploy resulted war package into the Liferay's deploy folder. All things that you have to do are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Update autoDeployDir parameter in the root pom.xml file&lt;/li&gt;
&lt;li&gt;In console, execute command &lt;b&gt;mvn liferay:deploy&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h5&gt;Service Platform Archetype&lt;/h5&gt;
Archetype was created to help in creating modules that have to be runned via Mule
&lt;h5&gt;Spring Batch Archetype&lt;/h5&gt;
&lt;h5&gt;BAS Archetype&lt;/h5&gt;
&lt;h4&gt;How to generate project from the existing archetype&lt;/h4&gt;

&lt;p&gt;1. If you have locally installed archetype just execute following command:&lt;/p&gt;
&lt;p&gt;
&lt;br/&gt;
&lt;b&gt;mvn archetype:generate -DarchetypeArtifactId=ARTIFACT_ID -DarchetypeGroupId=GROUP_ID -DarchetypeVersion=VERSION&lt;/b&gt;
&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;2. If previous option doesn’t work for you then try to build this archetype from scratch:&lt;/p&gt;
* Download [sources](http://svn.code.sf.net/p/openinfinity/archetypes/tags)
* Execute &lt;b&gt;mvn clean install&lt;/b&gt; command to build and add artifact in your local maven repository;
* Try to generate project according to the step 1.

&lt;h5&gt;Useful links&lt;/h5&gt;
* [Maven Archetype Plugin : Create Archetype from Existing Project](http://maven.apache.org/archetype/maven-archetype-plugin/create-from-project-mojo.html)
* [Maven Archetype Plugin : Generate MOJO](http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivan</dc:creator><pubDate>Thu, 17 May 2012 15:00:10 -0000</pubDate><guid>https://sourceforge.netf7dbfa814a41aef2550ca1521b8eb5962654ec0e</guid></item></channel></rss>