From dev-return-12534-apmail-synapse-dev-archive=synapse.apache.org@synapse.apache.org Fri Aug 06 08:50:47 2010 Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 62154 invoked from network); 6 Aug 2010 08:50:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 08:50:47 -0000 Received: (qmail 3209 invoked by uid 500); 6 Aug 2010 08:50:47 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 2823 invoked by uid 500); 6 Aug 2010 08:50:44 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 2617 invoked by uid 99); 6 Aug 2010 08:50:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 08:50:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erandajira@gmail.com designates 209.85.160.42 as permitted sender) Received: from [209.85.160.42] (HELO mail-pw0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 08:50:34 +0000 Received: by pwj8 with SMTP id 8so712934pwj.15 for ; Fri, 06 Aug 2010 01:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=OALnXgLD+UywvugWbLQwknD1P8YIyfXC0nOz3h8Am/8=; b=wjOJp82886/9l1dJ0Mkb5gMFQq1XNIrpKqzSZqUfL4w+JJihdRE3gfTuShQXmQ3rBy 5HxdNXtbS5zFZEp7bnvR9MBTwd8ruDWpTiD3K+p7k7DO+OYwLcfUvV0ictMzzuSxA2dX zzNaXSLDM/0bSeCU0xYBG0aRRCKfAFw8mXujY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rWKiHIvUu+eCiN4GStyFEJLeBIQXYKNPvDftBZHso2J90UujTFJIXpu1h4zSJO84cd 4+GFmBdXWozkQsmWTDZ4hMsg1xmmyAB11sQtBmq8Q4Xbmldiy+qRzS8vtAiPGVXs1y4C +R8vXU7ljz2y+5yTzl8YbYwQuIq/4VK6Rg/dc= MIME-Version: 1.0 Received: by 10.142.229.13 with SMTP id b13mr10025667wfh.304.1281084613450; Fri, 06 Aug 2010 01:50:13 -0700 (PDT) Received: by 10.142.165.8 with HTTP; Fri, 6 Aug 2010 01:50:13 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Aug 2010 14:20:13 +0530 Message-ID: Subject: Re: build fail From: Eranda Sooriyabandara To: dev@synapse.apache.org Content-Type: multipart/alternative; boundary=000e0cd32b5c4fdbf9048d23c153 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd32b5c4fdbf9048d23c153 Content-Type: text/plain; charset=ISO-8859-1 Hi Andreas, mvn clean install Thanks On Fri, Aug 6, 2010 at 1:12 PM, Andreas Veithen wrote: > What is the command line you use to invoke Maven? > > Andreas > > On Fri, Aug 6, 2010 at 08:10, Eranda Sooriyabandara > wrote: > > Hi, > > I try to build the synapse and I got the following exception. > > [INFO] Trace > > org.apache.maven.BuildFailureException: Invalid task 'switch': you must > > specify a valid lifecycle phase, or a goal in the format plugin:goal or > > pluginGroupId:pluginArtifactId:pluginVersion:goal > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1830) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > > at > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > > 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:597) > > 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) > > > > What do I need to do? > > Thanks > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org > For additional commands, e-mail: dev-help@synapse.apache.org > > --000e0cd32b5c4fdbf9048d23c153 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi=A0Andreas,
mvn clean install
Thanks
<= br>
On Fri, Aug 6, 2010 at 1:12 PM, Andreas Veith= en <andre= as.veithen@gmail.com> wrote:
What is the comma= nd line you use to invoke Maven?

Andreas

On Fri, Aug 6, 2010 at 08:10, Eranda Sooriyabandara
<erandajira@gmail.com> wr= ote:
> Hi,
> I try to build the synapse and I got the following exception.
> [INFO] Trace
> org.apache.maven.BuildFailureException: Invalid task 'switch':= you must
> specify a valid lifecycle phase, or a goal in the format plugin:goal o= r
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> =A0=A0=A0 at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(= DefaultLifecycleExecutor.java:1830)
> =A0=A0=A0 at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByA= ggregationNeeds(DefaultLifecycleExecutor.java:462)
> =A0=A0=A0 at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif= ecycleExecutor.java:175)
> =A0=A0=A0 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java= :328)
> =A0=A0=A0 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1= 38)
> =A0=A0=A0 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> =A0=A0=A0 at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60= )
> =A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho= d)
> =A0=A0=A0 at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:39)
> =A0=A0=A0 at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.java:25)
> =A0=A0=A0 at java.lang.reflect.Method.invoke(Method.java:597)
> =A0=A0=A0 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher= .java:315)
> =A0=A0=A0 at org.codehaus.classworlds.Launcher.launch(Launcher.java:25= 5)
> =A0=A0=A0 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launch= er.java:430)
> =A0=A0=A0 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)=
>
> What do I need to do?
> Thanks
>

---------------------------------------------------------------= ------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


--000e0cd32b5c4fdbf9048d23c153--