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

release:prepare BUILD SUCCESS without checking in to scm

by josh02 :: Rate this Message:

Reply to Author | View in Thread

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

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