On Fri, Jul 20, 2012 at 1:20 AM, Stephen Connolly <[email protected]> wrote: > Maven is about doing things the right way, no hacks.
Says the purist :P > Hacks impede understanding of a project by others (or yourself 6 months > later) and are an antipattern > What happens when 6 months down the line you need a new feature and decide > to upgrade the release plugin? You have relied on the hack, and the hack What happens when you are trying to deliver code but cannot because the tool of the righteous doesn't work for you? Pragmatism always wins. Anyway, to me it looks like a pretty valid use case that you'd have a git repo with associated documentation to go with the code. The canonical example many others before me have mentioned is that you have folders such as documentation/ and development/ at the root your of your git repo. The pomFileName option is there but just doesn't seem to work. Kalle > On Friday, 20 July 2012, Kalle Korhonen wrote: > >> Thanks Werdex. Using the release plugin version 2.3.2 and it's still >> exactly the same, only <goals>deploy -f Sources/pom.xml</goals> works >> when the pom.xml is not in the root, regardless of pomFileName >> setting. Stephen, isn't that exactly why you want to lock down the >> plugin versions? I'll take a well-working hack any day over proper but >> broken. >> >> Kalle >> >> >> On Thu, Apr 21, 2011 at 12:23 AM, Stephen Connolly >> <[email protected] <javascript:;>> wrote: >> > fyi that is a hack and may not work in future versions when the bug is >> fixed >> > >> > - Stephen >> > >> > --- >> > Sent from my Android phone, so random spelling mistakes, random nonsense >> > words and other nonsense are a direct result of using swype to type on >> the >> > screen >> > On 20 Apr 2011 15:36, "werdex" <[email protected] <javascript:;>> >> wrote: >> >> Hi, >> >> The following did trick for me: >> >> <configuration> >> >> <goals>deploy -f Sources/pom.xml</goals> >> >> </configuration> >> >> >> >> -- >> >> View this message in context: >> > >> http://maven-users.828.n2.nabble.com/Release-plugin-release-project-from-within-subdirectory-tp5057222p6290891.html >> >> Sent from the maven users mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected]<javascript:;> >> >> For additional commands, e-mail: [email protected]<javascript:;> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] <javascript:;> >> For additional commands, e-mail: [email protected]<javascript:;> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
