release:prepare BUILD SUCCESS without checking in to scm

View: New views
6 Messages — Rating Filter:   Alert me  

release:prepare BUILD SUCCESS without checking in to scm

by josh02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I am trying to use the release plugin and have successfully run
release:prepare -DdryRun,
and then actual...

with -X on the run it says BUILD SUCCESSFUL


[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) allowTimestampedSnapshots = false
[DEBUG]   (f) autoVersionSubmodules = false
[DEBUG]   (s) basedir = /Users/josh/Development/Platform
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/pom.xml, MavenProject:
com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-widget-library/pom.xml,
MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @
/Users/josh/Development/Platform/platform-cdx/pom.xml]
[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
[DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG]   (f) username = josh
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Release preparation already completed. You can now continue with
release:perform, or start again using the -Dresume=false flag
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 29 seconds
[INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008
[INFO] Final Memory: 14M/26M
[INFO]
------------------------------------------------------------------------

I thought release:prepare will actually create the tag in the scm, but I
don't seem to have that even though mvn says build successful...
I read from other threads, that there's actaully a "Checking in Modified
POM" step which I never see on my run...

Can any one help?

I am running a multi-module maven project and using the -DdryRun is able to
create the release.properties file..

I have also made sure I got
<...snip...>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <tagBase>
http://myserver.domain.com/svn/platform/releases</tagBase>
                </configuration>
            </plugin>
        </plugins>
    </build>

and also

   <scm>
        <connection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </connection>
        <developerConnection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </developerConnection>
        <url>http://myserver.domain.com/svn/platform/trunk</url>
    </scm>

Thanks in Advanced
Josh

AW: release:prepare BUILD SUCCESS without checking in to scm

by christian domsch (innoWake gmbh) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As you printed the console command yourself, you could answer that question on your own:

-DdryRun <-- this only simulates. So why do you assume that any svn activity takes place?


--
christian domsch
[software developer]

 

innoWake gmbh
innovative.software.development();
graf-arco-strasse 18 | 89079 ulm-donautal
fon: +49 (0)7 31 - 5 50 27 - 0
fax: +49 (0)7 31 - 5 50 27 - 20
christian.domsch@...
www.innowake.de


innoWake gmbh hrb ulm 4584
geschäftsführer: thorsten bernecker

This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail.
-----Ursprüngliche Nachricht-----
Von: Joshua Lim [mailto:lim.josh@...]
Gesendet: Donnerstag, 11. September 2008 11:44
An: users@...
Betreff: release:prepare BUILD SUCCESS without checking in to scm

Hi

I am trying to use the release plugin and have successfully run release:prepare -DdryRun, and then actual...

with -X on the run it says BUILD SUCCESSFUL


[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) allowTimestampedSnapshots = false
[DEBUG]   (f) autoVersionSubmodules = false
[DEBUG]   (s) basedir = /Users/josh/Development/Platform
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml, MavenProject:
com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-widget-library/pom.xml,
MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-cdx/pom.xml]
[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
[DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG]   (f) username = josh
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 29 seconds
[INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008 [INFO] Final Memory: 14M/26M [INFO]
------------------------------------------------------------------------

I thought release:prepare will actually create the tag in the scm, but I don't seem to have that even though mvn says build successful...
I read from other threads, that there's actaully a "Checking in Modified POM" step which I never see on my run...

Can any one help?

I am running a multi-module maven project and using the -DdryRun is able to create the release.properties file..

I have also made sure I got
<...snip...>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <tagBase>
http://myserver.domain.com/svn/platform/releases</tagBase>
                </configuration>
            </plugin>
        </plugins>
    </build>

and also

   <scm>
        <connection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </connection>
        <developerConnection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </developerConnection>
        <url>http://myserver.domain.com/svn/platform/trunk</url>
    </scm>

Thanks in Advanced
Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: release:prepare BUILD SUCCESS without checking in to scm

by Nick Stolwijk-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The command last given is without the dryrun (see also the output),
but you need to do a release:clean after your dry run or you need to
run mvn release:prepare -Dresume=false.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Sep 11, 2008 at 11:54 AM, christian domsch (innoWake gmbh)
<christian.domsch@...> wrote:

> As you printed the console command yourself, you could answer that question on your own:
>
> -DdryRun <-- this only simulates. So why do you assume that any svn activity takes place?
>
>
> --
> christian domsch
> [software developer]
>
>
>
> innoWake gmbh
> innovative.software.development();
> graf-arco-strasse 18 | 89079 ulm-donautal
> fon: +49 (0)7 31 - 5 50 27 - 0
> fax: +49 (0)7 31 - 5 50 27 - 20
> christian.domsch@...
> www.innowake.de
>
>
> innoWake gmbh hrb ulm 4584
> geschäftsführer: thorsten bernecker
>
> This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail.
> -----Ursprüngliche Nachricht-----
> Von: Joshua Lim [mailto:lim.josh@...]
> Gesendet: Donnerstag, 11. September 2008 11:44
> An: users@...
> Betreff: release:prepare BUILD SUCCESS without checking in to scm
>
> Hi
>
> I am trying to use the release plugin and have successfully run release:prepare -DdryRun, and then actual...
>
> with -X on the run it says BUILD SUCCESSFUL
>
>
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
> [DEBUG]   (f) addSchema = true
> [DEBUG]   (f) allowTimestampedSnapshots = false
> [DEBUG]   (f) autoVersionSubmodules = false
> [DEBUG]   (s) basedir = /Users/josh/Development/Platform
> [DEBUG]   (f) commitByProject = false
> [DEBUG]   (f) dryRun = false
> [DEBUG]   (f) generateReleasePoms = false
> [DEBUG]   (f) preparationGoals = clean verify
> [DEBUG]   (f) project = MavenProject:
> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml
> [DEBUG]   (f) reactorProjects = [MavenProject:
> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml, MavenProject:
> com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
> com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-widget-library/pom.xml,
> MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
> com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
> com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
> com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
> com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
> com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
> com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
> com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-cdx/pom.xml]
> [DEBUG]   (f) resume = true
> [DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
> [DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
> [DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
> [DEBUG]   (f) updateDependencies = true
> [DEBUG]   (f) useEditMode = false
> [DEBUG]   (f) username = josh
> [DEBUG] -- end configuration --
> [INFO] [release:prepare]
> [INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 29 seconds
> [INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008 [INFO] Final Memory: 14M/26M [INFO]
> ------------------------------------------------------------------------
>
> I thought release:prepare will actually create the tag in the scm, but I don't seem to have that even though mvn says build successful...
> I read from other threads, that there's actaully a "Checking in Modified POM" step which I never see on my run...
>
> Can any one help?
>
> I am running a multi-module maven project and using the -DdryRun is able to create the release.properties file..
>
> I have also made sure I got
> <...snip...>
>        <plugins>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-release-plugin</artifactId>
>                <configuration>
>                    <tagBase>
> http://myserver.domain.com/svn/platform/releases</tagBase>
>                </configuration>
>            </plugin>
>        </plugins>
>    </build>
>
> and also
>
>   <scm>
>        <connection>
>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>        </connection>
>        <developerConnection>
>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>        </developerConnection>
>        <url>http://myserver.domain.com/svn/platform/trunk</url>
>    </scm>
>
> Thanks in Advanced
> Josh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

Re: AW: release:prepare BUILD SUCCESS without checking in to scm

by josh02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi chirstian,

I run without the dryRun after that...  and it says "successful" but there's no trace of "Checking in Modified Pom"

Do you know if there's something I could have missed out in my Pom.xml?

Thanks
Josh

christian domsch (innoWake gmbh) wrote:
As you printed the console command yourself, you could answer that question on your own:

-DdryRun <-- this only simulates. So why do you assume that any svn activity takes place?


--
christian domsch
[software developer]

 

innoWake gmbh
innovative.software.development();
graf-arco-strasse 18 | 89079 ulm-donautal
fon: +49 (0)7 31 - 5 50 27 - 0
fax: +49 (0)7 31 - 5 50 27 - 20
christian.domsch@innowake.de
www.innowake.de


innoWake gmbh hrb ulm 4584
geschäftsführer: thorsten bernecker

This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail.
-----Ursprüngliche Nachricht-----
Von: Joshua Lim [mailto:lim.josh@gmail.com]
Gesendet: Donnerstag, 11. September 2008 11:44
An: users@maven.apache.org
Betreff: release:prepare BUILD SUCCESS without checking in to scm

Hi

I am trying to use the release plugin and have successfully run release:prepare -DdryRun, and then actual...

with -X on the run it says BUILD SUCCESSFUL


[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) allowTimestampedSnapshots = false
[DEBUG]   (f) autoVersionSubmodules = false
[DEBUG]   (s) basedir = /Users/josh/Development/Platform
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject:
com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml, MavenProject:
com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-widget-library/pom.xml,
MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-cdx/pom.xml]
[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
[DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG]   (f) username = josh
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 29 seconds
[INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008 [INFO] Final Memory: 14M/26M [INFO]
------------------------------------------------------------------------

I thought release:prepare will actually create the tag in the scm, but I don't seem to have that even though mvn says build successful...
I read from other threads, that there's actaully a "Checking in Modified POM" step which I never see on my run...

Can any one help?

I am running a multi-module maven project and using the -DdryRun is able to create the release.properties file..

I have also made sure I got
<...snip...>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <tagBase>
http://myserver.domain.com/svn/platform/releases</tagBase>
                </configuration>
            </plugin>
        </plugins>
    </build>

and also

   <scm>
        <connection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </connection>
        <developerConnection>
            scm:svn:http://myserver.domain.com/svn/platform/trunk
        </developerConnection>
        <url>http://myserver.domain.com/svn/platform/trunk</url>
    </scm>

Thanks in Advanced
Josh

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

Re: release:prepare BUILD SUCCESS without checking in to scm

by Nick Stolwijk-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A little follow-up: the solution is also in your output:

[INFO] Release preparation already completed. You can now continue with
release:perform, or start again using the -Dresume=false flag

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Sep 11, 2008 at 12:06 PM, Nick Stolwijk <nick.stolwijk@...> wrote:

> The command last given is without the dryrun (see also the output),
> but you need to do a release:clean after your dry run or you need to
> run mvn release:prepare -Dresume=false.
>
> Hth,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Thu, Sep 11, 2008 at 11:54 AM, christian domsch (innoWake gmbh)
> <christian.domsch@...> wrote:
>> As you printed the console command yourself, you could answer that question on your own:
>>
>> -DdryRun <-- this only simulates. So why do you assume that any svn activity takes place?
>>
>>
>> --
>> christian domsch
>> [software developer]
>>
>>
>>
>> innoWake gmbh
>> innovative.software.development();
>> graf-arco-strasse 18 | 89079 ulm-donautal
>> fon: +49 (0)7 31 - 5 50 27 - 0
>> fax: +49 (0)7 31 - 5 50 27 - 20
>> christian.domsch@...
>> www.innowake.de
>>
>>
>> innoWake gmbh hrb ulm 4584
>> geschäftsführer: thorsten bernecker
>>
>> This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail.
>> -----Ursprüngliche Nachricht-----
>> Von: Joshua Lim [mailto:lim.josh@...]
>> Gesendet: Donnerstag, 11. September 2008 11:44
>> An: users@...
>> Betreff: release:prepare BUILD SUCCESS without checking in to scm
>>
>> Hi
>>
>> I am trying to use the release plugin and have successfully run release:prepare -DdryRun, and then actual...
>>
>> with -X on the run it says BUILD SUCCESSFUL
>>
>>
>> [DEBUG] Configuring mojo
>> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
>> [DEBUG]   (f) addSchema = true
>> [DEBUG]   (f) allowTimestampedSnapshots = false
>> [DEBUG]   (f) autoVersionSubmodules = false
>> [DEBUG]   (s) basedir = /Users/josh/Development/Platform
>> [DEBUG]   (f) commitByProject = false
>> [DEBUG]   (f) dryRun = false
>> [DEBUG]   (f) generateReleasePoms = false
>> [DEBUG]   (f) preparationGoals = clean verify
>> [DEBUG]   (f) project = MavenProject:
>> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml
>> [DEBUG]   (f) reactorProjects = [MavenProject:
>> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml, MavenProject:
>> com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
>> com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-widget-library/pom.xml,
>> MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
>> com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
>> com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
>> com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
>> com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
>> com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
>> com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
>> com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-cdx/pom.xml]
>> [DEBUG]   (f) resume = true
>> [DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
>> [DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
>> [DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
>> [DEBUG]   (f) updateDependencies = true
>> [DEBUG]   (f) useEditMode = false
>> [DEBUG]   (f) username = josh
>> [DEBUG] -- end configuration --
>> [INFO] [release:prepare]
>> [INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 29 seconds
>> [INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008 [INFO] Final Memory: 14M/26M [INFO]
>> ------------------------------------------------------------------------
>>
>> I thought release:prepare will actually create the tag in the scm, but I don't seem to have that even though mvn says build successful...
>> I read from other threads, that there's actaully a "Checking in Modified POM" step which I never see on my run...
>>
>> Can any one help?
>>
>> I am running a multi-module maven project and using the -DdryRun is able to create the release.properties file..
>>
>> I have also made sure I got
>> <...snip...>
>>        <plugins>
>>            <plugin>
>>                <groupId>org.apache.maven.plugins</groupId>
>>                <artifactId>maven-release-plugin</artifactId>
>>                <configuration>
>>                    <tagBase>
>> http://myserver.domain.com/svn/platform/releases</tagBase>
>>                </configuration>
>>            </plugin>
>>        </plugins>
>>    </build>
>>
>> and also
>>
>>   <scm>
>>        <connection>
>>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>>        </connection>
>>        <developerConnection>
>>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>>        </developerConnection>
>>        <url>http://myserver.domain.com/svn/platform/trunk</url>
>>    </scm>
>>
>> Thanks in Advanced
>> Josh
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>

Re: release:prepare BUILD SUCCESS without checking in to scm

by josh02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Nick

Thanks for your help...

I was using mvn release:prepare -DdryRun - which generated the release.properties files etc...
and then I run mvn release:prepare - which did not Check In.

So according to what you said, I tried mvn release:prepare -DdryRun=true first and then
mvn release:prepare -Dresume=false which made me go through all the prompts for versions again
but it now at least is seems to work - well, it it accessing the scm for sure...

Thanks
Josh


Nick Stolwijk-4 wrote:
A little follow-up: the solution is also in your output:

[INFO] Release preparation already completed. You can now continue with
release:perform, or start again using the -Dresume=false flag

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Sep 11, 2008 at 12:06 PM, Nick Stolwijk <nick.stolwijk@gmail.com> wrote:
> The command last given is without the dryrun (see also the output),
> but you need to do a release:clean after your dry run or you need to
> run mvn release:prepare -Dresume=false.
>
> Hth,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Thu, Sep 11, 2008 at 11:54 AM, christian domsch (innoWake gmbh)
> <christian.domsch@innowake.de> wrote:
>> As you printed the console command yourself, you could answer that question on your own:
>>
>> -DdryRun <-- this only simulates. So why do you assume that any svn activity takes place?
>>
>>
>> --
>> christian domsch
>> [software developer]
>>
>>
>>
>> innoWake gmbh
>> innovative.software.development();
>> graf-arco-strasse 18 | 89079 ulm-donautal
>> fon: +49 (0)7 31 - 5 50 27 - 0
>> fax: +49 (0)7 31 - 5 50 27 - 20
>> christian.domsch@innowake.de
>> www.innowake.de
>>
>>
>> innoWake gmbh hrb ulm 4584
>> geschäftsführer: thorsten bernecker
>>
>> This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail.
>> -----Ursprüngliche Nachricht-----
>> Von: Joshua Lim [mailto:lim.josh@gmail.com]
>> Gesendet: Donnerstag, 11. September 2008 11:44
>> An: users@maven.apache.org
>> Betreff: release:prepare BUILD SUCCESS without checking in to scm
>>
>> Hi
>>
>> I am trying to use the release plugin and have successfully run release:prepare -DdryRun, and then actual...
>>
>> with -X on the run it says BUILD SUCCESSFUL
>>
>>
>> [DEBUG] Configuring mojo
>> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' -->
>> [DEBUG]   (f) addSchema = true
>> [DEBUG]   (f) allowTimestampedSnapshots = false
>> [DEBUG]   (f) autoVersionSubmodules = false
>> [DEBUG]   (s) basedir = /Users/josh/Development/Platform
>> [DEBUG]   (f) commitByProject = false
>> [DEBUG]   (f) dryRun = false
>> [DEBUG]   (f) generateReleasePoms = false
>> [DEBUG]   (f) preparationGoals = clean verify
>> [DEBUG]   (f) project = MavenProject:
>> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml
>> [DEBUG]   (f) reactorProjects = [MavenProject:
>> com.vocanic.platform:platform:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/pom.xml, MavenProject:
>> com.vocanic.platform:platform-api:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-api/pom.xml, MavenProject:
>> com.vocanic.platform:platform-widget-library:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-widget-library/pom.xml,
>> MavenProject: com.vocanic.platform:platform-core:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-core/pom.xml, MavenProject:
>> com.vocanic.platform:platform-brix:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-brix/pom.xml, MavenProject:
>> com.vocanic.platform:platform-messaging:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-messaging/pom.xml, MavenProject:
>> com.vocanic.platform:platform-sna:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-sna/pom.xml, MavenProject:
>> com.vocanic.platform:platform-graph:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-graph/pom.xml, MavenProject:
>> com.vocanic.platform:platform-web:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-web/pom.xml, MavenProject:
>> com.vocanic.platform:platform-report:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-report/pom.xml, MavenProject:
>> com.vocanic.platform:platform-cdx:1.0.0-SNAPSHOT @ /Users/josh/Development/Platform/platform-cdx/pom.xml]
>> [DEBUG]   (f) resume = true
>> [DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
>> [DEBUG]   (f) settings = org.apache.maven.settings.Settings@88a588
>> [DEBUG]   (f) tagBase = http://vocanic.dnsalias.net/svn/platform/releases
>> [DEBUG]   (f) updateDependencies = true
>> [DEBUG]   (f) useEditMode = false
>> [DEBUG]   (f) username = josh
>> [DEBUG] -- end configuration --
>> [INFO] [release:prepare]
>> [INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 29 seconds
>> [INFO] Finished at: Thu Sep 11 17:24:22 SGT 2008 [INFO] Final Memory: 14M/26M [INFO]
>> ------------------------------------------------------------------------
>>
>> I thought release:prepare will actually create the tag in the scm, but I don't seem to have that even though mvn says build successful...
>> I read from other threads, that there's actaully a "Checking in Modified POM" step which I never see on my run...
>>
>> Can any one help?
>>
>> I am running a multi-module maven project and using the -DdryRun is able to create the release.properties file..
>>
>> I have also made sure I got
>> <...snip...>
>>        <plugins>
>>            <plugin>
>>                <groupId>org.apache.maven.plugins</groupId>
>>                <artifactId>maven-release-plugin</artifactId>
>>                <configuration>
>>                    <tagBase>
>> http://myserver.domain.com/svn/platform/releases</tagBase>
>>                </configuration>
>>            </plugin>
>>        </plugins>
>>    </build>
>>
>> and also
>>
>>   <scm>
>>        <connection>
>>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>>        </connection>
>>        <developerConnection>
>>            scm:svn:http://myserver.domain.com/svn/platform/trunk
>>        </developerConnection>
>>        <url>http://myserver.domain.com/svn/platform/trunk</url>
>>    </scm>
>>
>> Thanks in Advanced
>> Josh
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>