Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7510AF6CD for ; Mon, 1 Apr 2013 18:39:55 +0000 (UTC) Received: (qmail 32005 invoked by uid 500); 1 Apr 2013 18:39:53 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 31937 invoked by uid 500); 1 Apr 2013 18:39:53 -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 31929 invoked by uid 99); 1 Apr 2013 18:39:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Apr 2013 18:39:53 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.90.159] (HELO nm11-vm2.bullet.mail.ne1.yahoo.com) (98.138.90.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Apr 2013 18:39:45 +0000 Received: from [98.138.226.179] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 01 Apr 2013 18:39:23 -0000 Received: from [98.138.89.244] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 01 Apr 2013 18:39:23 -0000 Received: from [127.0.0.1] by omp1058.mail.ne1.yahoo.com with NNFMP; 01 Apr 2013 18:39:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 931632.86154.bm@omp1058.mail.ne1.yahoo.com Received: (qmail 1415 invoked by uid 60001); 1 Apr 2013 18:39:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1364841563; bh=66jXce+9EmA3UFTNmA3H3cHCwYDsDaTlifPtRiCsXSU=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=I2HP4k01YCKMylC/Z6CWVx9ro48IvvMurtq7cNIr7h8WW6sR5uQeNM8XsYjX7qm9gcoy4RYBi1pi4mu31pYm2nOOSFiPUJOTUdJN2ptVMBP2HU39kWPUZE1CKziwInI493WOTbf6MRfyobnNz8TGMYYNEByzqo7dItRhfeSCcxE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=cLN4Ye6eonaIgfjlnACThBwTMIzZ3GrSn+EBXqcF5lBXk+4q/U4EQ9RcoRRlQ6QPxgck2uebdlpiSy9fkAs/q3O1CkD9dmZpO0RY4cObGh8BQOzaAnw/IqM2gc1Jeo8/Mnd5pDWUpsmroyZ1TDtqXPeIyiXCvP3WiumUTzYtiI4=; X-YMail-OSG: EsdH1iAVM1k2Rm2PGTPIhXfljt4aoU8Xvpp9MkjPkFFE7Xw 7qPIm.WDJj3WAVtar.AnXvrzQZudazlmY7AGl6vGLiuqnWvclwcthyK_99Jb QYJGJ9YA02FM4jg8JN0t3YvHVgEnC3G64Wo006gnEqZxZXAZ1l4gzsatxZz9 6bkdYEos2ml1HENKPavflXMgCGA9fMqib.ODQVaPdH4smIOK1pNNy.ERk2k_ rZSN_EqndeRs00ridgostqZvIljfmAya5fPLrGHNXCTpU_RpdNtQZSP4XslH oxDkgBUZO0NhtiFvWFpO1WPZ9WKly.DEgrQkd0GAokleQU_NKqyAFX1.GQZE tDpnop12_8zGxu7Ntqb3NwASXM.pj_j.onnCtOY680jPxl77OlQo2WpQi9P4 bSwy2nOOUjTm4ny4obrR9mJv4mxmAN_sP9zj.L9LGVU3dHsDaRJMUsJs0o_m uQ8l_34EawEFZrhb95875Oh2z7f_LbJp1wv8B915fj1XQ7HzVwKNAVakDePu idIcSuYNo Received: from [84.72.212.26] by web122304.mail.ne1.yahoo.com via HTTP; Mon, 01 Apr 2013 11:39:22 PDT X-Rocket-MIMEInfo: 002.001,VGhhbmtzIGZvciB5b3VyIHJlcGx5LCBDdXJ0aXMKClllcywgSSB1c2VkIGFsbCB0aGUgZGVmYXVsdHMuwqAKCj4gbXZuIC12ZXJzaW9uCkFwYWNoZSBNYXZlbiAzLjAuMyAocjEwNzU0Mzg7IDIwMTEtMDItMjggMTg6MzE6MDkrMDEwMCkKTWF2ZW4gaG9tZTogL3Vzci9zaGFyZS9tYXZlbgpKYXZhIHZlcnNpb246IDEuNi4wXzQzLCB2ZW5kb3I6IEFwcGxlIEluYy4KSmF2YSBob21lOiAvU3lzdGVtL0xpYnJhcnkvSmF2YS9KYXZhVmlydHVhbE1hY2hpbmVzLzEuNi4wLmpkay9Db250ZW50cy9Ib21lCkRlZmF1bHQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.140.532 References: <1364839048.74993.YahooMailNeo@web122306.mail.ne1.yahoo.com> <1364839773.14005.YahooMailNeo@web122301.mail.ne1.yahoo.com> Message-ID: <1364841562.86022.YahooMailNeo@web122304.mail.ne1.yahoo.com> Date: Mon, 1 Apr 2013 11:39:22 -0700 (PDT) From: Simon Peters Reply-To: Simon Peters Subject: Re: Compilation error on Maven getting started guide To: Maven Users List , "ctrueden@wisc.edu" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-634093744-1203066605-1364841562=:86022" X-Virus-Checked: Checked by ClamAV on apache.org ---634093744-1203066605-1364841562=:86022 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your reply, Curtis=0A=0AYes, I used all the defaults.=A0=0A=0A> = mvn -version=0AApache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)=0AMa= ven home: /usr/share/maven=0AJava version: 1.6.0_43, vendor: Apple Inc.=0AJ= ava home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home= =0ADefault locale: de_DE, platform encoding: MacRoman=0AOS name: "mac os x"= , version: "10.7.5", arch: "x86_64", family: "mac"=0A=0AUps, I'll try with = the 3.0.5 update of maven first...=0A=0ARegards=0ASimon=0A=0A=0A=0A________= ________________________=0A From: Curtis Rueden =0ATo: M= aven Users List ; Simon Peters = =0ASent: Monday, April 1, 2013 8:12 PM=0ASubject: Re: Compilation error on = Maven getting started guide=0A =0AHi Simon,=0A=0A> sure, it's the default g= enerated "hello world":=0A=0AOK. Did you enter all defaults when prompted (= just press enter)? I tried it=0Aon my system (OS X 10.6.8, with Maven 3.0.5= installed via Homebrew) and=0Acould not reproduce the issue.=0A=0ARegards,= =0ACurtis=0A=0A=0AOn Mon, Apr 1, 2013 at 1:09 PM, Simon Peters wrote:=0A=0A> Hi Curtis=0A>=0A> sure, it's the default generated "he= llo world":=0A> --------- SNIP ----------=0A> package com.testing;=0A>=0A> = /**=0A>=A0 * Hello world!=0A>=A0 *=0A>=A0 */=0A> public class App=0A> {=0A>= =A0 =A0 public static void main( String[] args )=0A>=A0 =A0 {=0A>=A0 =A0 = =A0 =A0 System.out.println( "Hello World!" );=0A>=A0 =A0 }=0A> }=0A> ----= ------- SNIP ---------=0A>=0A> Regards=0A> Simon=0A>=0A>=0A> ______________= __________________=0A>=A0 From: Curtis Rueden =0A> To: M= aven Users List ; Simon Peters <=0A> sp_p10@yahoo.c= om>=0A> Sent: Monday, April 1, 2013 8:03 PM=0A> Subject: Re: Compilation er= ror on Maven getting started guide=0A>=0A> Hi Simon,=0A>=0A> > compiler-plu= gin:2.3.2:compile (default-compile) on project maven-intro:=0A> Compilation= failure=0A> > /.../maven-intro/src/main/java/com/testing/App.java:[1,13] '= ;' expected=0A>=0A> What does "cat maven-intro/src/main/java/com/testing/Ap= p.java" show? Is the=0A> file syntactically valid?=0A>=0A> Regards,=0A> Cur= tis=0A>=0A>=0A> On Mon, Apr 1, 2013 at 12:57 PM, Simon Peters wrote:=0A>=0A> > Hi=0A> >=0A> > I tried to follow the Maven getting s= tarted guide, and ran into problems=0A> > when first trying to compile the = generated project.=0A> > I generated the project with:=0A> > > mvn archetyp= e:generate -DarchetypeGroupId=3Dorg.apache.maven.archetypes=0A> > -DgroupId= =3Dcom.testing -DartifactId=3Dmaven-intro=0A> >=0A> >=0A> > using the defau= lts.=0A> >=0A> > mvn compile gives me this error:=0A> > org.apache.maven.li= fecycle.LifecycleExecutionException: Failed to execute=0A> > goal org.apach= e.maven.plugins:maven-compiler-plugin:2.3.2:compile=0A> > (default-compile)= on project maven-intro: Compilation failure=0A> > /.../maven-intro/src/mai= n/java/com/testing/App.java:[1,13] ';' expected=0A> >=0A> > I run Mac OS X = 10.7.5.=0A> >=0A> > > env=0A> > JAVA_HOME=3D/System/Library/Frameworks/Java= VM.framework/Versions/1.6.0/Home=0A> > LANG=3Dde_CH.UTF-8=0A> >=0A> > > jav= a -version=0A> > java version "1.6.0_43"=0A> > Java(TM) SE Runtime Environm= ent (build 1.6.0_43-b01-447-11M4203)=0A> > Java HotSpot(TM) 64-Bit Server V= M (build 20.14-b01-447, mixed mode)=0A> >=0A> > I guess it's an encoding pr= oblem. But how to quickly make it right?=0A> > Thanks!=0A> >=0A> > Simon=0A= > ---634093744-1203066605-1364841562=:86022--