Hi,

Yes, I've done it for a customer. I use version 2.0-beta-8 of the
release-plugin and found some issues, but they were possible to solve.
However, it does only work on the 'main' branch.

Some quick things:
* Create $user.home/.scm/clearcase-settings.xml containing
<clearcase-settings>
  <useVWSParameter>false</useVWSParameter>
</clearcase-settings>

* Configure the scm connection as:
<scm>
  <developerConnection>scm:clearcase:load
/[VOB_NAME]/[PROJ_PATH]</developerConnection>
</scm>

* Be sure to specify the version 2.0-beta-8 (or newer) of the plugin
in your pom. Earlier versions had bugs that made it not work for us.

To do a release:
1. Create the view to use, either a dynamic or a snapshot view.
2. mvn release:prepare
3. mvn release:perform –DworkingDirectory=[DIR_PATH]
   This will create a new snapshot view named as
'username-hostname-maven-checkoutdir'. You can define that view name
through the connectionUrl on the command line (you most likely don't
what to do this in the pom):
   mvn release:perform –DworkingDirectory=[DIR_PATH]
-DconnectionUrl="scm:clearcase:[VIEW_NAME]:load
/[VOB_NAME]/[PROJ_PATH]"
4. In the end you get a NPE (in 2.0-beta-8) but the artifacts should
already be built by then.

What doesn't work for you?

/Anders

On Tue, Jun 16, 2009 at 19:29, Jeffrey N
Hagelberg<jnhagelb...@us.ibm.com> wrote:
>
>
> Hi,
>
> I'm wondering if anyone has been able to successfully use clearcase with
> the maven release plugin.  We're trying to figure out how to do it and
> investigating the various options.  If you've been able get this to work,
> could you please share how you were able to make it work?
>
> Thanks,
>
> -Jeff
> Jeffrey Hagelberg, Software Engineer
> XMeta Development
> IBM Software Group
> Phone: 978-899-2055 T/L:276-2055)
> Email:jnhag...@us.ibm.com

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

Reply via email to