Also, it would seem that the target runs during the 'run' goal (whatever that is). The upshot is that 'mvn clean && mvn package' builds a jar with no revision information, since 'run' seems to happen after jar assembly is complete. I tried changing the goal to both 'package' and 'compile', but was told that that goal was unrecognized. Does anyone have any idea how to make 'compile' become a goal, or what the name of a goal that happens before creating the jar might be? -Patrick -- Patrick Linskey BEA Systems, Inc. _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. > -----Original Message----- > From: Patrick Linskey > Sent: Friday, September 29, 2006 12:26 PM > To: open-jpa-dev@incubator.apache.org > Subject: svn revision number > > Hi, > > It looks like the revision number that we're getting in > openjpa-lib/pom.xml is the latest revision number of the repo as a > whole, not the latest revision number of just the openjpa trunk. Does > anyone have a clue about how to get the latest revision for just > openjpa? > > I would expect that we could get this info from running and parsing > 'svnversion -c', but it looks like we're digging into files instead of > running commands. Any insight into why this is? > > -Patrick > > -- > Patrick Linskey > BEA Systems, Inc. > > ______________________________________________________________ > _________ > Notice: This email message, together with any attachments, > may contain > information of BEA Systems, Inc., its subsidiaries and > affiliated > entities, that may be confidential, proprietary, > copyrighted and/or > legally privileged, and is intended solely for the use of the > individual > or entity named in this message. If you are not the intended > recipient, > and have received this message in error, please immediately > return this > by email and then delete it. >