« Return to Thread: release:prepare BUILD SUCCESS without checking in to scm

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

by josh02 :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: release:prepare BUILD SUCCESS without checking in to scm