Thanx Wayne, I sometimes forget about Maven's Ant support! I'm going to get to work on that right away. For the meantime I haven't heard or seen any talk about Maven on the Liferay users forums and I've been asking. At the same time I haven't heard or seen anything about Liferay on either this list or Cargo's list. I think I've posted 4 or 5 questions so far across all three communities.
Wayne Fay wrote: > > I don't know/use Liferay so you know a lot more about this than I do. > If there's an Ant deployer available, you should be able to call out > to it for now using the Maven Antrunner plugin, and it should be > relatively easy. > > You should also ask on the Liferay Users group and see if anyone else > is already doing something similar. If there are other M2 users on the > list, perhaps a few of you can work together to make an M2 deployer > (either via Cargo or directly in Maven). > > Wayne > > On 6/18/07, Clifton <[EMAIL PROTECTED]> wrote: >> >> 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] >> >> > > --------------------------------------------------------------------- > 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#a11177680 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
