Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 7033 invoked from network); 19 Jun 2008 05:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 05:22:09 -0000 Received: (qmail 31732 invoked by uid 500); 19 Jun 2008 05:22:10 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31682 invoked by uid 500); 19 Jun 2008 05:22:10 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 31671 invoked by uid 99); 19 Jun 2008 05:22:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 22:22:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashjain2@gmail.com designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 05:21:20 +0000 Received: by wf-out-1314.google.com with SMTP id 23so600225wfg.25 for ; Wed, 18 Jun 2008 22:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=AFxmgFEuwip5+8TB/RW2kq+8f4dLuSGQQH7Q9JiB8TU=; b=qPGq4NHD9++AYzEmhdoMbxdzjhOcSYFO/DtmmzbAhH5LfqiiySm2+ppCWLj+SNmE5L zLa1WhziHk5TOu1bsJqtxUrIG+psN11zjiE5E8mulO6eyZW/AT39xd1O9jl2g2k5EWaD DhFQAvHVGzjjSENXve5OQPQt4yTP4Vl1GOeoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=C7NgdTW3JFcEbistwC2YnK8jxqy6jp8iKckgACelyzsp1N7+gwTMBur69mQSTFLCIi hbQ3jkjO9LlBl85yc22J4I3VCgx9tia2Bvh+dA8+cX4l2rZuoIbgjb1p4ARjxkDx+A6E zjnH+rpmlaxVok0BBYsiD9ncimVbFi29ZXej4= Received: by 10.142.112.11 with SMTP id k11mr728041wfc.189.1213852898708; Wed, 18 Jun 2008 22:21:38 -0700 (PDT) Received: by 10.142.173.7 with HTTP; Wed, 18 Jun 2008 22:21:38 -0700 (PDT) Message-ID: <14af40510806182221m775be364t6f814cfb065fa9f6@mail.gmail.com> Date: Thu, 19 Jun 2008 10:51:38 +0530 From: "Ashish Jain" To: dev@geronimo.apache.org Subject: Re: Build Failure on compiling geronimo schemas using JAXB In-Reply-To: <14af40510806171132u6c5a5b8chec4fbaafc4fc0772@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2887_20496667.1213852898642" References: <14af40510806171132u6c5a5b8chec4fbaafc4fc0772@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2887_20496667.1213852898642 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I was able to fix this issue by adding *1.5 *to pom.xml. On Wed, Jun 18, 2008 at 12:02 AM, Ashish Jain wrote: > Hi, > I am using JAXB to compile geronimo schemas. My environment is sun java > 1.5.0_13 and maven 2.0.7. BTW I am referring > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279. I hit > following error: > > C:\testrepo>mvn clean compile > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building mytest > [INFO] task-segment: [clean, compile] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [clean:clean] > [INFO] Deleting directory C:\testrepo\target > [INFO] [jaxb:generate {execution: default}] > [INFO] Compiling file:/C:/testrepo/src/main/resources/attributes-1.2.xsd > and oth > ers > [INFO] Writing output to C:\testrepo\target\generated-sources\xjc > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 156 source files to C:\testrepo\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > Failure executing javac, but could not parse the error: > javac: source release 1.5 requires target release 1.5 > > > > Failure executing javac, but could not parse the error: > javac: source release 1.5 requires target release 1.5 > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9 seconds > [INFO] Finished at: Tue Jun 17 23:53:38 IST 2008 > [INFO] Final Memory: 5M/10M > [INFO] > ------------------------------------------------------------------------ > > > Thanks > Ashish > ------=_Part_2887_20496667.1213852898642 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I was able to fix this issue by adding <target>1.5</target> to pom.xml.


On Wed, Jun 18, 2008 at 12:02 AM, Ashish Jain <ashjain2@gmail.com> wrote:
Hi,
I am using JAXB to compile geronimo schemas. My environment is  sun java 1.5.0_13 and maven 2.0.7. BTW I am referring https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279. I hit following error:

C:\testrepo>mvn clean compile
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building mytest
[INFO]    task-segment: [clean, compile]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\testrepo\target
[INFO] [jaxb:generate {execution: default}]
[INFO] Compiling file:/C:/testrepo/src/main/resources/attributes-1.2.xsd and oth
ers
[INFO] Writing output to C:\testrepo\target\generated-sources\xjc
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 156 source files to C:\testrepo\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: source release 1.5 requires target release 1.5



Failure executing javac, but could not parse the error:
javac: source release 1.5 requires target release 1.5


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Jun 17 23:53:38 IST 2008
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------


Thanks
Ashish

------=_Part_2887_20496667.1213852898642--