release:prepage tags
release:perform builds from tag and deploys to repo...

On Wednesday 31 October 2007 08:31, Mark_E wrote:
> Hello,
>   I am trying to automate my tagging process in Subversion through Maven
> and I am running into issues. I am not sure I am using Maven correctly to
> do this so I wanted to ask the question here...
>
> Basically, I have a POM for my project and it has the scm connection
> information as well as the maven-release-plugin is defined. It looks like
> this:
>
> <!-- SCM Connection Information -->
> <scm>
> <connection>scm:svn:svn://<svr>/svn/VCS/Java-Code/Project/trunk</connection
>>
> <developerConnection>scm:svn:svn://<svr>/svn/VCS/Java-Code/Project/trunk</d
>eveloperConnection>
> <url>scm:svn:svn://<svr>/svn/VCS/Java-Code/Project/trunk</url>
> </scm>
>
> Then later on I define the plugin:
>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-release-plugin</artifactId>
>         <configuration>
>
> <tagBase>scm:svn:svn://<svr>/svn/VCS/Java-Code/Project/tags</tagBase>
>         </configuration>
>       </plugin>
>
> Now from what I read, the tag base is supposed to be the folder where the
> tag will be created however when I run the mvn install release:perform
> command, it says that it is trying to check code out from the tags folder,
> which does not have code in it, then the build fails.
>
> I cannot see what I am doing wrong.
>
> Is anyone out there currently doing this successfully with Subversion who
> could shed any light on this issue?
>
> Regards,
> Mark

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to