Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 43330 invoked from network); 19 Oct 2005 15:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 15:13:13 -0000 Received: (qmail 69329 invoked by uid 500); 19 Oct 2005 15:13:07 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 69289 invoked by uid 500); 19 Oct 2005 15:13:06 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 69278 invoked by uid 99); 19 Oct 2005 15:13:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 08:13:06 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [170.148.48.205] (HELO sb1.jpmchase.com) (170.148.48.205) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 08:13:06 -0700 Received: from svr.bankone.net ([10.246.2.19]) by sb1.jpmchase.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j9JFF2CJ005960 for ; Wed, 19 Oct 2005 11:15:02 -0400 Received: from ([10.21.212.167]) by imj2.svr.bankone.net with ESMTP id KP-BRCGF.7856528; Wed, 19 Oct 2005 10:12:36 -0500 To: "Maven Users List" Subject: Re: scm:clearcase Help MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: raghurajan.x.gurunathanv@jpmchase.com Date: Wed, 19 Oct 2005 10:12:26 -0500 X-MIMETrack: S/MIME Sign by Notes Client on Raghurajan X Gurunathanv/JPMCHASE(Release 5.0.10 |March 22, 2002) at 10/19/2005 10:12:26 AM, Serialize by Notes Client on Raghurajan X Gurunathanv/JPMCHASE(Release 5.0.10 |March 22, 2002) at 10/19/2005 10:12:26 AM, Serialize complete at 10/19/2005 10:12:26 AM, S/MIME Sign failed at 10/19/2005 10:12:26 AM: The cryptographic key was not found, Serialize by Router on MIUSMF008/JPMCHASE(Release 6.5.3|September 14, 2004) at 10/19/2005 11:12:36 AM, Serialize complete at 10/19/2005 11:12:36 AM Content-Type: multipart/alternative; boundary="=_alternative 005389678625709F_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 005389678625709F_= Content-Type: text/plain; charset="us-ascii" Yes, I have an SNAPSHOT view of development project in my box Earlier when i used ant for build i used to first update and then compile, i will proceed to compile only if there is some source code has changed other wise i just stops there and send notification to every one saying that there is no files changed for build I'm trying to acheive this using maven now thats why i did scm:clearcase: scm:clearcase /myview/my_dev_prj then i used "m2 -X scm:update" command it did download the plugin and after it throws the following error [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\raghu\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Program Files\maven-2.0-beta-3\conf\plugin-registry.xml' [INFO] Searching repository for plugin with prefix: 'scm'. [DEBUG] maven-scm-plugin: resolved to version 1.0-alpha-2 from repository central [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [scm:update] [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [INFO] BUILD FAILURE [INFO] ---------------------------------------------------------------------------- [INFO] Reason: Cannot execute mojo: update. It requires a project, but the build is not using one. [INFO] ---------------------------------------------------------------------------- [DEBUG] Trace org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: update. It requires a project, but the build is not using one . at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:498) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ---------------------------------------------------------------------------- [INFO] Total time: < 1 second [INFO] Finished at: Wed Oct 19 10:08:51 CDT 2005 [INFO] Final Memory: 1M/4M [INFO] ---------------------------------------------------------------------------- Thanks, Raghurajan Gurunathan --=_alternative 005389678625709F_=--