Re: About Apache Maven scm plugin
- From: Neil Padgen <neil.padgen@xxxxxxxxxxxxx>
- Date: Fri, 29 Jul 2005 11:14:20 +0000
ilkinulas wrote:
> Hi, we are trying to automate our release process. I am trying to use
> Maven, it really simplifies many things. While using scm plugin's
> prepare-release goal i have the following problem:
> when i execute the command "maven scm:prepare-release" maven prompts
> for a TAG_NAME (">What is the new tag name?"). is there a way to skip
> this question? I have tried
>
> maven scm:prepare-release -Dtag_name=test_release_1_0_1
>
> but maven still asked me the tag name.
Unfortunately this seems to be hard-coded in the plugin.jelly script:
<i:ask
question="What is the new tag name?"
answer="tag_name"
default="${tag_name}"
/>
<i:ask
question="What is the new version?"
answer="version_name"
default="${tag_name}"
/>
You could try modifying the script to only ask the question if a variable
hasn't already been set (see the genapp plugin for a way that this is
done).
-- Neil
.
- Prev by Date: Re: New (as in days) to Java - question about "super()" method
- Next by Date: Re: New (as in days) to Java - question about "super()" method
- Previous by thread: integration between struts and servlet auth
- Next by thread: Re: Vector & memory fragmentation
- Index(es):
Relevant Pages
|