<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deploying to GlassFish using Maven2</title>
	<atom:link href="http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chanchal Kumar</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-348262</link>
		<dc:creator>Chanchal Kumar</dc:creator>
		<pubDate>Fri, 08 May 2009 18:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-348262</guid>
		<description>Hello Folks,
In the meantime, there has been a good plugin release for glassfish/sailfin, please find the same at: https://maven-glassfish-plugin.dev.java.net/
Cheers,
Chanchal Kumar</description>
		<content:encoded><![CDATA[<p>Hello Folks,<br />
In the meantime, there has been a good plugin release for glassfish/sailfin, please find the same at: <a href="https://maven-glassfish-plugin.dev.java.net/" rel="nofollow">https://maven-glassfish-plugin.dev.java.net/</a><br />
Cheers,<br />
Chanchal Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: site admin</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-309970</link>
		<dc:creator>site admin</dc:creator>
		<pubDate>Thu, 17 Apr 2008 13:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-309970</guid>
		<description>&lt;p&gt;Hi LYeung,&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion. I will have a look at this soon. In the mean time you might be interested in knowing that the MevenIDE plugin now also supports deploying EAR projects to GlassFish. No more need for external plugins from within NetBeans :-)&lt;/p&gt;
Greets, Wouter</description>
		<content:encoded><![CDATA[<p>Hi LYeung,</p>
<p>Thanks for the suggestion. I will have a look at this soon. In the mean time you might be interested in knowing that the MevenIDE plugin now also supports deploying EAR projects to GlassFish. No more need for external plugins from within NetBeans <img src='http://technology.amis.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Greets, Wouter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LYeung</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-307616</link>
		<dc:creator>LYeung</dc:creator>
		<pubDate>Sat, 12 Apr 2008 17:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-307616</guid>
		<description>Hi Wouter,

You can try clownfish plugin at http://clownfish.sourceforge.net. It&#039;s a glassfish maven2 plugin that utilises jsr-88.

Cheers.</description>
		<content:encoded><![CDATA[<p>Hi Wouter,</p>
<p>You can try clownfish plugin at <a href="http://clownfish.sourceforge.net" rel="nofollow">http://clownfish.sourceforge.net</a>. It&#8217;s a glassfish maven2 plugin that utilises jsr-88.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanchal Kumar</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-301563</link>
		<dc:creator>Chanchal Kumar</dc:creator>
		<pubDate>Fri, 28 Mar 2008 12:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-301563</guid>
		<description>Sorry, the code was inadvertently left out, here it comes:


exec


executable=&quot;cmd&quot; os=&quot;Windows 2000&quot;


failonerror=&quot;true&quot;


dir=&quot;${basedir}&quot;


arg line=&quot;/c asadmin.bat deploy ..options..


exec</description>
		<content:encoded><![CDATA[<p>Sorry, the code was inadvertently left out, here it comes:</p>
<p>exec</p>
<p>executable=&#8221;cmd&#8221; os=&#8221;Windows 2000&#8243;</p>
<p>failonerror=&#8221;true&#8221;</p>
<p>dir=&#8221;${basedir}&#8221;</p>
<p>arg line=&#8221;/c asadmin.bat deploy ..options..</p>
<p>exec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanchal Kumar</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-301562</link>
		<dc:creator>Chanchal Kumar</dc:creator>
		<pubDate>Fri, 28 Mar 2008 12:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-301562</guid>
		<description>Hi Wouter,

Thanks for the info, I appreciate it. When using either exec-maven-plugin or maven-antrun-plugin for a pure Linux (and in general any unix) deployments (or any other asadmin tasks), the plugins work okay and do the job. Unfortunately, problems pop up when we want a transparent os-proof environment. For instance, for windows we do need a few tweaks.

For someone facing the same issue of setting up a cross-platform continuous integration setup for maven environment, a small tip to make sure that the windows part also works is that a construct like this (only tested on windows 2000) could be used:

 ... ${artifactId}${version}-${packaging}&quot; /&gt;


Please see http://ant.apache.org/manual/CoreTasks/exec.html for details

A better solution, ofcourse, is the next step :-)</description>
		<content:encoded><![CDATA[<p>Hi Wouter,</p>
<p>Thanks for the info, I appreciate it. When using either exec-maven-plugin or maven-antrun-plugin for a pure Linux (and in general any unix) deployments (or any other asadmin tasks), the plugins work okay and do the job. Unfortunately, problems pop up when we want a transparent os-proof environment. For instance, for windows we do need a few tweaks.</p>
<p>For someone facing the same issue of setting up a cross-platform continuous integration setup for maven environment, a small tip to make sure that the windows part also works is that a construct like this (only tested on windows 2000) could be used:</p>
<p> &#8230; ${artifactId}${version}-${packaging}&#8221; /&gt;</p>
<p>Please see <a href="http://ant.apache.org/manual/CoreTasks/exec.html" rel="nofollow">http://ant.apache.org/manual/CoreTasks/exec.html</a> for details</p>
<p>A better solution, ofcourse, is the next step <img src='http://technology.amis.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter van Reeven</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-300727</link>
		<dc:creator>Wouter van Reeven</dc:creator>
		<pubDate>Sun, 23 Mar 2008 12:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-300727</guid>
		<description>Hi Chanchal,&lt;br /&gt;I agree that using the exec plugin isn&#039;t the preferred way of deploying to GlassFish. As far as I know, GlassFish still isn&#039;t fully supported in Cargo. See e.g. &lt;br /&gt; http://jira.codehaus.org/browse/CARGO-491 &lt;br /&gt; and the second comment at &lt;br /&gt; http://blogs.sun.com/theaquarium/entry/vote_for_atlassian_formal_support &lt;br /&gt; Having said that, I have filed an RFE for mevenide to add a Run option to EAR projects. Milos Kleint has provided a fix for this which should be included in a future version of mevenide. This fix already is included in version 3.1-SNAPSHOT but at this moment I don&#039;t know when that fix will be released.</description>
		<content:encoded><![CDATA[<p>Hi Chanchal,<br />I agree that using the exec plugin isn&#8217;t the preferred way of deploying to GlassFish. As far as I know, GlassFish still isn&#8217;t fully supported in Cargo. See e.g. <br /> <a href="http://jira.codehaus.org/browse/CARGO-491" rel="nofollow">http://jira.codehaus.org/browse/CARGO-491</a> <br /> and the second comment at <br /> <a href="http://blogs.sun.com/theaquarium/entry/vote_for_atlassian_formal_support" rel="nofollow">http://blogs.sun.com/theaquarium/entry/vote_for_atlassian_formal_support</a> <br /> Having said that, I have filed an RFE for mevenide to add a Run option to EAR projects. Milos Kleint has provided a fix for this which should be included in a future version of mevenide. This fix already is included in version 3.1-SNAPSHOT but at this moment I don&#8217;t know when that fix will be released.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanchal Kumar</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-300132</link>
		<dc:creator>Chanchal Kumar</dc:creator>
		<pubDate>Thu, 20 Mar 2008 11:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-300132</guid>
		<description>Is there anyone from glassfish/sailfin working to add something to the cargo plugin? http://cargo.codehaus.org/Maven2+plugin, thats one &#039;neat&#039; place to have an elegant plugin. The exec seems to be a bit primitive and error-prone</description>
		<content:encoded><![CDATA[<p>Is there anyone from glassfish/sailfin working to add something to the cargo plugin? <a href="http://cargo.codehaus.org/Maven2+plugin" rel="nofollow">http://cargo.codehaus.org/Maven2+plugin</a>, thats one &#8216;neat&#8217; place to have an elegant plugin. The exec seems to be a bit primitive and error-prone</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter van Reeven</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-295668</link>
		<dc:creator>Wouter van Reeven</dc:creator>
		<pubDate>Tue, 04 Mar 2008 12:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-295668</guid>
		<description>Hi Jacob,&lt;br /&gt;
&lt;br /&gt;
Maven will download the plugin itself since Maven can download it from the main Maven repository. See http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/&lt;br /&gt;
&lt;br /&gt;
Greets, Wouter</description>
		<content:encoded><![CDATA[<p>Hi Jacob,</p>
<p>Maven will download the plugin itself since Maven can download it from the main Maven repository. See <a href="http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/" rel="nofollow">http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/</a></p>
<p>Greets, Wouter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Nikom</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-295382</link>
		<dc:creator>Jacob Nikom</dc:creator>
		<pubDate>Mon, 03 Mar 2008 02:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-295382</guid>
		<description>Hi,

You have very useful blog because you provided
some details how to install the exec plugin. It is very 
difficult to find the documentation how to install 
exec-maven-plugin.

What I did not understand is that you only modified
the pom.xml file and added plugin child, but said nothing
about plugin itself.

Where did you put your exec-maven-plugin-1.0.2.jar file?
Did you place it in your .m2/repository/org/codehause/mojo directory?
Or you added it to you local repository?
Do you have to describe where it is located?

Thank you,

Jacob Nikom</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You have very useful blog because you provided<br />
some details how to install the exec plugin. It is very<br />
difficult to find the documentation how to install<br />
exec-maven-plugin.</p>
<p>What I did not understand is that you only modified<br />
the pom.xml file and added plugin child, but said nothing<br />
about plugin itself.</p>
<p>Where did you put your exec-maven-plugin-1.0.2.jar file?<br />
Did you place it in your .m2/repository/org/codehause/mojo directory?<br />
Or you added it to you local repository?<br />
Do you have to describe where it is located?</p>
<p>Thank you,</p>
<p>Jacob Nikom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhakar</title>
		<link>http://technology.amis.nl/blog/2495/deploying-to-glassfish-using-maven2/comment-page-1#comment-267586</link>
		<dc:creator>Sudhakar</dc:creator>
		<pubDate>Wed, 14 Nov 2007 05:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2495#comment-267586</guid>
		<description>This is great! One of the reasons I&#039;ve stayed away from Netbeans is because of it&#039;s tight integration with Ant. When everyone else is moving to Maven, Netbeans seems bent on sticking with Ant. 

But this example proves that Maven can also be used with Netbeans. With Netbeans 6 I am encouraged to take another look at it.</description>
		<content:encoded><![CDATA[<p>This is great! One of the reasons I&#8217;ve stayed away from Netbeans is because of it&#8217;s tight integration with Ant. When everyone else is moving to Maven, Netbeans seems bent on sticking with Ant. </p>
<p>But this example proves that Maven can also be used with Netbeans. With Netbeans 6 I am encouraged to take another look at it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

