Export your code and import it to a local subversion repository. There
you can test anything you want.

svnadmin create /tmp/testrepo
svn co file:///tmp/testrepo ~/testwc
copy your sources to ~/testwc
change your SCM settings in the pom file
svn add *
svn commit
And start testing with the release plugin, all it will affect is your
local repository.

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Thu, Sep 16, 2010 at 10:37 PM, baz themail <[email protected]> wrote:
> Nick, do you mean to branch out the existing code into a test branch?
>
> Any other ideas?
>
> On Thu, Sep 16, 2010 at 12:05 PM, Nick Stolwijk <[email protected]> 
> wrote:
>> To test release:prepare I usually use a branch or a local SVN
>> repostory. To test release:perform you can set the goals [1] to
>> install instead of deploy.
>>
>> [1] 
>> http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#goals
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> IPROFS BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> http://www.iprofs.nl
>>
>>
>>
>> On Thu, Sep 16, 2010 at 8:25 PM, baz themail <[email protected]> wrote:
>>> The reason i want to dryRun and actual release in local repository is
>>> to make sure the module pom.xml files are being update correctly.
>>> Currently, I am having problem with incrementing the pom.xml file in
>>> one of the modules and not sure how to debug this.
>>>
>>> Can someone give me a sample where i can confirm the creation of new
>>> version'ed jar in both dryRun or actual log?
>>>
>>> On Thu, Sep 16, 2010 at 11:16 AM, baz themail <[email protected]> wrote:
>>>> Another question. Is this possible to release into local repository
>>>> without giving SCM information such as P4 username and password? I do
>>>> not mean dryRun this time.
>>>>
>>>> On Thu, Sep 16, 2010 at 10:12 AM, baz themail <[email protected]> wrote:
>>>>> Thanks for the replies.
>>>>>
>>>>> Yes, i know about DryRun. So, my question is: Does DryRun correctly
>>>>> run without SCM information such as P4 userid and password?
>>>>>
>>>>> Thanks. B.
>>>>>
>>>>> On Thu, Sep 16, 2010 at 7:47 AM, Nayan Hajratwala <[email protected]> 
>>>>> wrote:
>>>>>> On Sep 16, 2010, at 10:45 AM, baz themail wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> How can i test release plugin locally in my machine? Specifically, can
>>>>>>> i release the artifacts into my local repository on my machine? Can i
>>>>>>> configure it so that i do not need to make actual updates to pom files
>>>>>>> in perforce but only in local source tree?
>>>>>>
>>>>>> Have you tried the -DdryRun=true option? 
>>>>>> http://maven.apache.org/plugins/maven-release-plugin/usage.html
>>>>>>
>>>>>> ---
>>>>>> Nayan Hajratwala
>>>>>> http://agileshrugged.com
>>>>>> http://twitter.com/nhajratw
>>>>>> 734.658.6032
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to