<?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: How to automate project versioning and release with Maven</title>
	<atom:link href="http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-automate-project-versioning-and-release-with-maven</link>
	<description>Java, Web 2.0 and other Tech topics</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:01:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bogdan</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-74611</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Thu, 15 Dec 2011 10:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-74611</guid>
		<description>Hi, I&#039;m not sure how can you refer to relase as automatic perform as long as you are saying: 
Section 2: The release process

&quot;Once the configuration is done, making the release each time is very easy. Just follow these steps.
a) Pre-requisites:

    Make sure that your pom.xml does not include any SNAPSHOT dependencies.&quot;

can you do that automatically? NO, YOU CAN&#039;T. how easy is it to release a product version with 87 dependencies all over the components it comprise? isn&#039;t very easy, is it? SO, the rest yeah, maven-release-plugin is doing very well, as well as versions-maven-plugin is working pretty well, but you can not say that this can be done automatically as long as you have a lot of things to do manually in order to prepare the POM files to successfully release your project.

The rest... it can be found on  apache and codehaus pages.

PS. I think that more interesting would be to present a strategy in order to automate all the process including automated versioning through the POM files on one hand and a control mode over all your project dependencies versions. Well this would be very interesting to see.

Have a great day,
Bogdan</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m not sure how can you refer to relase as automatic perform as long as you are saying:<br />
Section 2: The release process</p>
<p>&#8220;Once the configuration is done, making the release each time is very easy. Just follow these steps.<br />
a) Pre-requisites:</p>
<p>    Make sure that your pom.xml does not include any SNAPSHOT dependencies.&#8221;</p>
<p>can you do that automatically? NO, YOU CAN&#8217;T. how easy is it to release a product version with 87 dependencies all over the components it comprise? isn&#8217;t very easy, is it? SO, the rest yeah, maven-release-plugin is doing very well, as well as versions-maven-plugin is working pretty well, but you can not say that this can be done automatically as long as you have a lot of things to do manually in order to prepare the POM files to successfully release your project.</p>
<p>The rest&#8230; it can be found on  apache and codehaus pages.</p>
<p>PS. I think that more interesting would be to present a strategy in order to automate all the process including automated versioning through the POM files on one hand and a control mode over all your project dependencies versions. Well this would be very interesting to see.</p>
<p>Have a great day,<br />
Bogdan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buildit</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-68453</link>
		<dc:creator>Buildit</dc:creator>
		<pubDate>Wed, 16 Nov 2011 01:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-68453</guid>
		<description>vineet-- I use mvn versions set command and if the project is listed as dependency i would change it manually and its a pain bumping the versions and changing the dependecy manually.I would want to do all this in a better way.Can u suggest anything??</description>
		<content:encoded><![CDATA[<p>vineet&#8211; I use mvn versions set command and if the project is listed as dependency i would change it manually and its a pain bumping the versions and changing the dependecy manually.I would want to do all this in a better way.Can u suggest anything??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudio Cardozo</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-25655</link>
		<dc:creator>Claudio Cardozo</dc:creator>
		<pubDate>Tue, 15 Feb 2011 14:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-25655</guid>
		<description>when using CVS and no url is provided, the message below comes out:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) on project portal-lib: No SCM URL was provided to perform the release from -&gt; [Help 1]

The pom.xml

  
    scm:cvs:pserver:claudiocardozo@192.168.0.166:/cvsroot/cvsteste:sistemas  
    scm:cvs:pserver:claudiocardozo@192.168.0.166:/cvsroot/cvsteste:sistemas/developerConnection&gt;
    V_06_001_003_12333  
  

how should be that URL?</description>
		<content:encoded><![CDATA[<p>when using CVS and no url is provided, the message below comes out:</p>
<p>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) on project portal-lib: No SCM URL was provided to perform the release from -&gt; [Help 1]</p>
<p>The pom.xml</p>
<p>    scm:cvs:pserver:claudiocardozo@192.168.0.166:/cvsroot/cvsteste:sistemas<br />
    scm:cvs:pserver:claudiocardozo@192.168.0.166:/cvsroot/cvsteste:sistemas/developerConnection&gt;<br />
    V_06_001_003_12333  </p>
<p>how should be that URL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Navarro</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-24087</link>
		<dc:creator>Alberto Navarro</dc:creator>
		<pubDate>Mon, 31 Jan 2011 22:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-24087</guid>
		<description>As Vineet knows, I&#039;ve tried to answer myself adding much information about Maven Profiles inheritance. But I failed in publishing Xml, so I asked him permission to link directly my blog.

http://looking4q.blogspot.com/2011/01/maven-profiles-inheritance.html

Thanks, and you have one more follower.</description>
		<content:encoded><![CDATA[<p>As Vineet knows, I&#8217;ve tried to answer myself adding much information about Maven Profiles inheritance. But I failed in publishing Xml, so I asked him permission to link directly my blog.</p>
<p><a href="http://looking4q.blogspot.com/2011/01/maven-profiles-inheritance.html" rel="nofollow">http://looking4q.blogspot.com/2011/01/maven-profiles-inheritance.html</a></p>
<p>Thanks, and you have one more follower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Navarro</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-24030</link>
		<dc:creator>Alberto Navarro</dc:creator>
		<pubDate>Mon, 31 Jan 2011 11:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-24030</guid>
		<description>Congratulations for this article, only a question.

Is there any way of inherited profiling? 

I am sharing a root pom.xml where configuration is shared among multiple projects, and I want to profile different distributionManagement repositories depending on a environment variable.

I notice that it is not taken from root pom.xml, either from settings.xml where it is forbidden. How would you do it without repeating the same configuration on every project?

Thanks in advance

Alberto Navarro</description>
		<content:encoded><![CDATA[<p>Congratulations for this article, only a question.</p>
<p>Is there any way of inherited profiling? </p>
<p>I am sharing a root pom.xml where configuration is shared among multiple projects, and I want to profile different distributionManagement repositories depending on a environment variable.</p>
<p>I notice that it is not taken from root pom.xml, either from settings.xml where it is forbidden. How would you do it without repeating the same configuration on every project?</p>
<p>Thanks in advance</p>
<p>Alberto Navarro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-16016</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Sat, 27 Nov 2010 01:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-16016</guid>
		<description>The purpose of &quot;mvn release&quot; is to version your project and to deploy it to a standard maven repo. If you want something more custom, you should looking into &quot;mvn wagon plugin&quot; to copy your local jars and wars to your remote folder. Also look into &quot;maven exec plugin&quot; to execute a script. To execute a script remotely, you can use &quot;maven exec plugin&quot; with local ssh to execute remote command. The general way to execute a script remotely is: &quot;ssh remoteuser@remotehost.name &lt;remote script&gt;&quot;. To run this automatically, use &lt;a href=&quot;http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/&quot; rel=&quot;nofollow&quot;&gt;SSH without Password&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The purpose of &#8220;mvn release&#8221; is to version your project and to deploy it to a standard maven repo. If you want something more custom, you should looking into &#8220;mvn wagon plugin&#8221; to copy your local jars and wars to your remote folder. Also look into &#8220;maven exec plugin&#8221; to execute a script. To execute a script remotely, you can use &#8220;maven exec plugin&#8221; with local ssh to execute remote command. The general way to execute a script remotely is: &#8220;ssh <a href="mailto:remoteuser@remotehost.name">remoteuser@remotehost.name</a> <remote script>&#8220;. To run this automatically, use <a href="http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/" rel="nofollow">SSH without Password</a>.</remote></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irshad</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-15943</link>
		<dc:creator>Irshad</dc:creator>
		<pubDate>Fri, 26 Nov 2010 10:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-15943</guid>
		<description>Hi Vineet,
Thanks for publishing this article its of great help.
Actually I am in the process of conversion of an existing project into Maven &amp; their build and release process.
My structure is like this
ParentProj
-Child1
-Child2
-ChildWeb3
-ChildWeb4

I am not sure what the maven best practices says but I am required 
1. To tag all my child projects separately
2. When I transfer to by deployment server (mvn release:prepare release:perform -B), it creates sort of repository
I want to make a folder in remote server &amp; put all the jars &amp; wars inside it only &amp; no other files
3. Also Is there any way to execute shell script in my remote server

Awaiting your guidance


./Irshad</description>
		<content:encoded><![CDATA[<p>Hi Vineet,<br />
Thanks for publishing this article its of great help.<br />
Actually I am in the process of conversion of an existing project into Maven &amp; their build and release process.<br />
My structure is like this<br />
ParentProj<br />
-Child1<br />
-Child2<br />
-ChildWeb3<br />
-ChildWeb4</p>
<p>I am not sure what the maven best practices says but I am required<br />
1. To tag all my child projects separately<br />
2. When I transfer to by deployment server (mvn release:prepare release:perform -B), it creates sort of repository<br />
I want to make a folder in remote server &amp; put all the jars &amp; wars inside it only &amp; no other files<br />
3. Also Is there any way to execute shell script in my remote server</p>
<p>Awaiting your guidance</p>
<p>./Irshad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-12809</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Wed, 20 Oct 2010 21:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-12809</guid>
		<description>Try using maven and cargo to deploy to local JBoss instance using the admin-console web interface. See this article:
&lt;a href=&quot;http://www.vineetmanohar.com/2009/05/maven-cargo-jboss/&quot; rel=&quot;nofollow&quot;&gt;http://www.vineetmanohar.com/2009/05/maven-cargo-jboss/&lt;/a&gt;

To deploy to remote instances, I have used scp via maven exec plugin to copy the war to cargo deploy directory.</description>
		<content:encoded><![CDATA[<p>Try using maven and cargo to deploy to local JBoss instance using the admin-console web interface. See this article:<br />
<a href="http://www.vineetmanohar.com/2009/05/maven-cargo-jboss/" rel="nofollow">http://www.vineetmanohar.com/2009/05/maven-cargo-jboss/</a></p>
<p>To deploy to remote instances, I have used scp via maven exec plugin to copy the war to cargo deploy directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sreekar</title>
		<link>http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/comment-page-1/#comment-11844</link>
		<dc:creator>Sreekar</dc:creator>
		<pubDate>Wed, 06 Oct 2010 15:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=557#comment-11844</guid>
		<description>Hi Vineet,

I have few doubts about publishing the war/ear file directly to JBoss deploy folder thru Maven, i tried with jboss-maven-plugin but when i run my pom.xml its showing war deployed to jboss, but i could not see war file over there. Can you please help me out in this. Below is my pom.xml snippet.



				org.codehaus.mojo
	jboss-maven-plugin
	1.4.1
	
	   				deploy
	   pre-integration-test
	   				deploy
	   										${jbossHome}\jboss-as- web\server\desktop\deploy
        					local-jboss-admin									   
		${basedir}\target\${build.finalName}.war	
      
     
    
   



		
			local-jboss-admin
			http://localhost:8080/admin-console
		


--------------------------------------

Here local-joss-admin i mentioned the same id in settings.xml as server id.

Please help me out in this, how to publish a war directly to jbos deploy folder.

Thanks .</description>
		<content:encoded><![CDATA[<p>Hi Vineet,</p>
<p>I have few doubts about publishing the war/ear file directly to JBoss deploy folder thru Maven, i tried with jboss-maven-plugin but when i run my pom.xml its showing war deployed to jboss, but i could not see war file over there. Can you please help me out in this. Below is my pom.xml snippet.</p>
<p>				org.codehaus.mojo<br />
	jboss-maven-plugin<br />
	1.4.1</p>
<p>	   				deploy<br />
	   pre-integration-test<br />
	   				deploy<br />
	   										${jbossHome}\jboss-as- web\server\desktop\deploy<br />
        					local-jboss-admin<br />
		${basedir}\target\${build.finalName}.war	</p>
<p>			local-jboss-admin<br />
			<a href="http://localhost:8080/admin-console" rel="nofollow">http://localhost:8080/admin-console</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Here local-joss-admin i mentioned the same id in settings.xml as server id.</p>
<p>Please help me out in this, how to publish a war directly to jbos deploy folder.</p>
<p>Thanks .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

