Re: maven-release-plugin and git

2012-12-06 Thread Coarr, Matt
Bingo! That worked like a charm! Thanks Roy!!



On 2012-12-06 09:49 , Lyons, Roy roy.ly...@cmegroup.com wrote:


This is what you want


http://stackoverflow.com/questions/5558785/maven-release-plugin-git-and-th
e
-poms-not-at-the-top


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven-release-plugin and git

2012-12-05 Thread Coarr, Matt
Hello,

I'm able to use mvn release:prepare but I run into an issue when I use mvn 
release:perform.

My problem is that my scm data in my pom points to our git repository which 
contains multiple projects.

Is there a way to tell release:perform to only checkout or export a 
subdirectory of the repository?  (This would be easy with svn — you just 
specify the url to the project directory in svn).

Another option would be to checkout the whole repository, but somehow tell the 
forked maven process to build from a certain subdirectory.

I guess a third option would be maybe I'm doing something wrong with my 
tagging/branching in git.  Is it possible to tag just a subdirectory in git and 
then maybe I need to git checkout mybranch??

Let me know if you have any ideas!

Thanks!
Matt


getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Hi, 

Is there  any way that I can extract the version of my working copy
from subversion (or the scm plug-in) and save this in a system
property? 

I would like to take this and stick this in a properties file so that
it can be displayed on a Help - About page. 

Thanks for your help, 
Matt


PS  I already have the POM's version number being inserted into the
properties file by using ${pom.version} in the properties file
itself.  I would just like to get the subversion version of my working
copy.

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



RE: getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Good idea.  I thought about that too.

But that version number would only get updated whenever that properties
file gets updated, not whenever a commit is made to the subversion
module.

Matt 



-Original Message-
From: Lalor, Brian [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 16:03
To: Maven Users List
Subject: RE: getting version number from subversion and adding to pom
property

What about using the $Revision$ keyword in a properties file?  You
wouldn't have to involve Maven at all that way...
version.prop = $Revision$

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



RE: getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Awesome!  Thanks Arnaud!  That sounds exactly like what I was looking
for!

I'll give buildnumber-plugin a whirl and let you know how it works.

Matt 

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 17:22
To: Maven Users List
Subject: Re: getting version number from subversion and adding to pom
property

This is certainly what you are looking for :
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html

Arnaud

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