Nope, I just looked and they only cover JEE containers. Liferay actually runs
on lots of the containers listed so you would think theoretically I could
use Cargo. (I haven't tried it yet but I have my doubts.) The problem is
that Liferay employs a deployment scanner (I believe it is separate from the
container's hot deploy scanner) so I can't push a war file over ssh/scp to
the server without possibly bumping into the hot-deploy scan cycle causing
the deployer to pickup an incomplete file. I really need to invoke Liferay's
custom deployer class during the deploy phase of my build. I just posted a
question on the Cargo mailing list to ask if there was any talk about
Liferay integration and we'll see what they come back with but for now I
need/want a quick solution. I need somthing that will last for the duration.
Thanx.

Cliff

Wayne Fay wrote:
> 
> You may want to see if perhaps the Cargo project has a Liferay
> deployment module. A lot of us on this list use Cargo M2 plugin to
> deploy webapps etc to various containers.
> 
> And if no such plugin exists, rather than creating a M2-specific
> Liferay deployment plugin, it might make sense to work on this via the
> Cargo project. Just my opinion.
> 
> Wayne
> 
> On 6/15/07, Clifton <[EMAIL PROTECTED]> wrote:
>>
>> Hello all,
>>
>> I'm trying to figure out how to best handle deployment of war apps to a
>> running instance of Liferay (www.liferay.com). Liferay supports hotdeploy
>> using either an online web form or a Java class. (Alternatively you can
>> just
>> drop war files into the webapps folder of the servlet container.) In each
>> case there's a caveat. The web form hides the URL in a form and uses a
>> bunch
>> of parameters that confuse me. The deploy folder can't be written to
>> directly for the risk of the auto deploy scanner picking the file up
>> before
>> it's completely copied over, and then there's the Java class. I'm still
>> green with Maven so I'm wondering if there's an easy way to disable wagon
>> during deploy and delegate the deploy work to the Liferay PortletDeployer
>> class. Would I need to define a new archetype? Is there some easy
>> settings
>> in the POM that I can use? Please advise! Thanx in advance!
>>
>> Cliff
>> --
>> View this message in context:
>> http://www.nabble.com/Running-a-Java-class-for-deployment-tf3930378s177.html#a11147457
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Running-a-Java-class-for-deployment-tf3930378s177.html#a11174785
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to