Re: Help me to build a geronimo server form the source
Hi Fei, Looks like sxc-runtime-0.7.2.jar downloaded from central repo is corrupted somehow. I tried mvn clean install with buildsupport by removing the legacy sxc-rumtim-0.72 in my local .m2, and then encountered the same problem as you described. The size of the correct sxc-runtim-0.7.2.jar is 43189 bytes, while the one downloaded from central repo is only 370bytes. You can download the jar from [1] to your local maven repo to avoid downloading from central repo. http://www.jarvana.com/jarvana/browse/com/envoisolutions/sxc/sxc-runtime/0.7.2/ Anything else, please let us know. Jeff C On Tue, Nov 10, 2009 at 4:17 AM, Fei LI wrote: > Hi Donald, > > I tried delete all files under > C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ > And run the command > mvn clean install -DfailIfNoTests=false -Dtest= > Then the files are downloded again and failed again. > > What do you mean by: > " > Try deleting everything under - >C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ > and running the build again. > " > ? > > Thanks > > Fei Li > > -Original Message- > From: Donald Woods [mailto:dwo...@apache.org] > Sent: Monday, November 09, 2009 1:56 PM > To: dev@geronimo.apache.org; Fei LI > Subject: Re: Help me to build a geronimo server form the source > > Try deleting everything under - >C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ > and running the build again. Until your first build completes, you may > have to keep retrying until all of the build dependencies have been > downloaded > > > -Donald > > > Fei LI wrote: > > Hi Chi Run-up and other developers, > > > > I got another build failure for building the server from SVEN branch > 2.2. > > > > My environment are: > > " > > C:\g22>man -version > > Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: > > 1.6.0_16 Java home: C:\Program Files\Java\jdk1.6.0_16\jre Default > > locale: en_US, platform encoding: Cp1252 OS name: "windows xp" > > version: "5.1" arch: "x86" Family: "windows" > > " > > > > The error is: > > " > > Downloading: > > http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/mav > > en-monitor-2.0.6.jar > > > > [INFO] [enforcer:enforce {execution: default}] [INFO] > > [plugin:descriptor {execution: default-descriptor}] [INFO] Using > > 'UTF-8' encoding to read mojo metadata. > > [INFO] Applying mojo extractor for language: java [WARNING] > > org.apache.geronimo.mavenplugins.car.ArchiveCarMojo#jarArchiver: > > [WARNING] The syntax > > [WARNING] @parameter expression="${component.#}" > > [WARNING] is deprecated, please use > > [WARNING] @component role="" roleHint="" > > [WARNING] instead. > > [INFO] Mojo extractor for language: java found 10 mojo descriptors. > > [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor > > > for language: bsh found 0 mojo descriptors. > > [INFO] [remote-resources:process {execution: default}] [WARNING] > > Invalid project model for artifact > > [sxc-runtime:com.envoisolutions.sxc:0.7.2]. It will be ignored by the > > remote resources Mojo. > > [INFO] [resources:resources {execution: default-resources}] [INFO] > > Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 1 resource > > [INFO] skip non existing resourceDirectory > > C:\g22\framework\buildsupport\car-maven-plugin\src\main\filtered-resou > > rces > > [INFO] Copying 3 resources > > [INFO] [compiler:compile {execution: default-compile}] [INFO] > > Compiling 20 source files to > > C:\g22\framework\buildsupport\car-maven-plugin\target\classes > > [INFO] > > -- > > -- > > [ERROR] BUILD FAILURE > > [INFO] > > -- > > -- > > [INFO] Compilation failure > > error: error reading > > C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\sxc-runtime-0.7.2.j > > ar; > > error in opening zip file > > > > [INFO] > > -- > > -- [INFO] For more information, run Maven with the -e switch [INFO] > > ------ > > -- [INFO] Total time: 11 minutes 9 seconds [INFO] Finished at: Mon Nov > > > 09 13:10:16 EST 2009 [INFO] Final Memory: 202M/387M [INFO] > > -
RE: Help me to build a geronimo server form the source
Hi Donald, I tried delete all files under C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ And run the command mvn clean install -DfailIfNoTests=false -Dtest= Then the files are downloded again and failed again. What do you mean by: " Try deleting everything under - C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ and running the build again. " ? Thanks Fei Li -Original Message- From: Donald Woods [mailto:dwo...@apache.org] Sent: Monday, November 09, 2009 1:56 PM To: dev@geronimo.apache.org; Fei LI Subject: Re: Help me to build a geronimo server form the source Try deleting everything under - C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ and running the build again. Until your first build completes, you may have to keep retrying until all of the build dependencies have been downloaded -Donald Fei LI wrote: > Hi Chi Run-up and other developers, > > I got another build failure for building the server from SVEN branch 2.2. > > My environment are: > " > C:\g22>man -version > Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: > 1.6.0_16 Java home: C:\Program Files\Java\jdk1.6.0_16\jre Default > locale: en_US, platform encoding: Cp1252 OS name: "windows xp" > version: "5.1" arch: "x86" Family: "windows" > " > > The error is: > " > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/mav > en-monitor-2.0.6.jar > > [INFO] [enforcer:enforce {execution: default}] [INFO] > [plugin:descriptor {execution: default-descriptor}] [INFO] Using > 'UTF-8' encoding to read mojo metadata. > [INFO] Applying mojo extractor for language: java [WARNING] > org.apache.geronimo.mavenplugins.car.ArchiveCarMojo#jarArchiver: > [WARNING] The syntax > [WARNING] @parameter expression="${component.#}" > [WARNING] is deprecated, please use > [WARNING] @component role="" roleHint="" > [WARNING] instead. > [INFO] Mojo extractor for language: java found 10 mojo descriptors. > [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor > for language: bsh found 0 mojo descriptors. > [INFO] [remote-resources:process {execution: default}] [WARNING] > Invalid project model for artifact > [sxc-runtime:com.envoisolutions.sxc:0.7.2]. It will be ignored by the > remote resources Mojo. > [INFO] [resources:resources {execution: default-resources}] [INFO] > Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] skip non existing resourceDirectory > C:\g22\framework\buildsupport\car-maven-plugin\src\main\filtered-resou > rces > [INFO] Copying 3 resources > [INFO] [compiler:compile {execution: default-compile}] [INFO] > Compiling 20 source files to > C:\g22\framework\buildsupport\car-maven-plugin\target\classes > [INFO] > -- > -- > [ERROR] BUILD FAILURE > [INFO] > -- > -- > [INFO] Compilation failure > error: error reading > C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\sxc-runtime-0.7.2.j > ar; > error in opening zip file > > [INFO] > -- > -- [INFO] For more information, run Maven with the -e switch [INFO] > -- > -- [INFO] Total time: 11 minutes 9 seconds [INFO] Finished at: Mon Nov > 09 13:10:16 EST 2009 [INFO] Final Memory: 202M/387M [INFO] > -------------------------- > -- > " > > Thanks > > Fei Li > > > -- > -- > *From:* chi runhua [mailto:chirun...@gmail.com] > *Sent:* Monday, November 09, 2009 12:00 PM > *To:* dev@geronimo.apache.org > *Subject:* Re: Help me to build a geronimo server form the source > > I can build branch/2.2 with JDK1.6 on Ubuntu9.04 successfully. > > You may post your 2.2 build log here so that we can take a look what > the problem is. > > Jeff C > > On Tue, Nov 10, 2009 at 12:39 AM, Fei LI <mailto:f...@mdacorporation.com>> wrote: > > > Hi, > > I am creaming here for your help. > > I have been trying to build a Geronimo server from the SVN source > for 1.5 weeks and no success. > > Donald Woods and Forrest Xia helped me to try many ways and all are > failed. I tried many combination of the build environment: > > SVN Tags/2.1.4 > SVN Trunk > Maven 2.0.10 > Maven 2.2.1 > Java jsdk 1..5.0_22 > Java jsdk 1.6.0_16 > > Nothing works. > > So who can tell me what to try next. I never build software like > this. Surprise! Isn't it? > > Thanks > > Fei Li > > > > >
Re: Help me to build a geronimo server form the source
I just ran into this issue building the server with a clean maven repository. Could the issue be with the dependency available in the online repository? ~Jason Warner On Mon, Nov 9, 2009 at 1:55 PM, Donald Woods wrote: > Try deleting everything under - > >C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ > and running the build again. Until your first build completes, you may > have to keep retrying until all of the build dependencies have been > downloaded > > > -Donald > > > Fei LI wrote: > >> Hi Chi Run-up and other developers, >> I got another build failure for building the server from SVEN branch 2.2. >> My environment are: >> " >> C:\g22>man -version >> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) >> Java version: 1.6.0_16 >> Java home: C:\Program Files\Java\jdk1.6.0_16\jre >> Default locale: en_US, platform encoding: Cp1252 >> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" >> " >> The error is: >> " >> Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar >> [INFO] [enforcer:enforce {execution: default}] >> [INFO] [plugin:descriptor {execution: default-descriptor}] >> [INFO] Using 'UTF-8' encoding to read mojo metadata. >> [INFO] Applying mojo extractor for language: java >> [WARNING] org.apache.geronimo.mavenplugins.car.ArchiveCarMojo#jarArchiver: >> [WARNING] The syntax >> [WARNING] @parameter expression="${component.#}" >> [WARNING] is deprecated, please use >> [WARNING] @component role="" roleHint="" >> [WARNING] instead. >> [INFO] Mojo extractor for language: java found 10 mojo descriptors. >> [INFO] Applying mojo extractor for language: bsh >> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. >> [INFO] [remote-resources:process {execution: default}] >> [WARNING] Invalid project model for artifact >> [sxc-runtime:com.envoisolutions.sxc:0.7.2]. It will be ignored by the remote >> resources Mojo. >> [INFO] [resources:resources {execution: default-resources}] >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 1 resource >> [INFO] skip non existing resourceDirectory >> C:\g22\framework\buildsupport\car-maven-plugin\src\main\filtered-resources >> [INFO] Copying 3 resources >> [INFO] [compiler:compile {execution: default-compile}] >> [INFO] Compiling 20 source files to >> C:\g22\framework\buildsupport\car-maven-plugin\target\classes >> [INFO] >> >> [ERROR] BUILD FAILURE >> [INFO] >> >> [INFO] Compilation failure >> error: error reading >> C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\sxc-runtime-0.7.2.jar; >> error in opening zip file >> [INFO] >> >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ---- >> [INFO] Total time: 11 minutes 9 seconds >> [INFO] Finished at: Mon Nov 09 13:10:16 EST 2009 >> [INFO] Final Memory: 202M/387M >> [INFO] >> >> " >> Thanks >> Fei Li >> >> >> *From:* chi runhua [mailto:chirun...@gmail.com] >> *Sent:* Monday, November 09, 2009 12:00 PM >> *To:* dev@geronimo.apache.org >> *Subject:* Re: Help me to build a geronimo server form the source >> >> I can build branch/2.2 with JDK1.6 on Ubuntu9.04 successfully. >> You may post your 2.2 build log here so that we can take a look what the >> problem is. >> Jeff C >> >> On Tue, Nov 10, 2009 at 12:39 AM, Fei LI > f...@mdacorporation.com>> wrote: >> >> >>Hi, >> >>I am creaming here for your help. >> >>I have been trying to build a Geronimo server from the SVN source >>for 1.5 weeks and no success. >> >>Donald Woods and Forrest Xia helped me to try many ways and all are >>failed. I tried many combination of the build environment: >> >>SVN Tags/2.1.4 >>SVN Trunk >>Maven 2.0.10 >>Maven 2.2.1 >>Java jsdk 1..5.0_22 >>Java jsdk 1.6.0_16 >> >>Nothing works. >> >>So who can tell me what to try next. I never build software like >>this. Surprise! Isn't it? >> >>Thanks >> >>Fei Li >> >> >> >> >> >>
Re: Help me to build a geronimo server form the source
Try deleting everything under - C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\ and running the build again. Until your first build completes, you may have to keep retrying until all of the build dependencies have been downloaded -Donald Fei LI wrote: Hi Chi Run-up and other developers, I got another build failure for building the server from SVEN branch 2.2. My environment are: " C:\g22>man -version Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: 1.6.0_16 Java home: C:\Program Files\Java\jdk1.6.0_16\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" " The error is: " Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar [INFO] [enforcer:enforce {execution: default}] [INFO] [plugin:descriptor {execution: default-descriptor}] [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Applying mojo extractor for language: java [WARNING] org.apache.geronimo.mavenplugins.car.ArchiveCarMojo#jarArchiver: [WARNING] The syntax [WARNING] @parameter expression="${component.#}" [WARNING] is deprecated, please use [WARNING] @component role="" roleHint="" [WARNING] instead. [INFO] Mojo extractor for language: java found 10 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] [remote-resources:process {execution: default}] [WARNING] Invalid project model for artifact [sxc-runtime:com.envoisolutions.sxc:0.7.2]. It will be ignored by the remote resources Mojo. [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory C:\g22\framework\buildsupport\car-maven-plugin\src\main\filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 20 source files to C:\g22\framework\buildsupport\car-maven-plugin\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure error: error reading C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\sxc-runtime-0.7.2.jar; error in opening zip file [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 11 minutes 9 seconds [INFO] Finished at: Mon Nov 09 13:10:16 EST 2009 [INFO] Final Memory: 202M/387M [INFO] " Thanks Fei Li *From:* chi runhua [mailto:chirun...@gmail.com] *Sent:* Monday, November 09, 2009 12:00 PM *To:* dev@geronimo.apache.org *Subject:* Re: Help me to build a geronimo server form the source I can build branch/2.2 with JDK1.6 on Ubuntu9.04 successfully. You may post your 2.2 build log here so that we can take a look what the problem is. Jeff C On Tue, Nov 10, 2009 at 12:39 AM, Fei LI <mailto:f...@mdacorporation.com>> wrote: Hi, I am creaming here for your help. I have been trying to build a Geronimo server from the SVN source for 1.5 weeks and no success. Donald Woods and Forrest Xia helped me to try many ways and all are failed. I tried many combination of the build environment: SVN Tags/2.1.4 SVN Trunk Maven 2.0.10 Maven 2.2.1 Java jsdk 1..5.0_22 Java jsdk 1.6.0_16 Nothing works. So who can tell me what to try next. I never build software like this. Surprise! Isn't it? Thanks Fei Li
RE: Help me to build a geronimo server form the source
Hi Chi Run-up and other developers, I got another build failure for building the server from SVEN branch 2.2. My environment are: " C:\g22>man -version Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: 1.6.0_16 Java home: C:\Program Files\Java\jdk1.6.0_16\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" " The error is: " Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/maven -monitor-2.0.6.jar <http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/mave n-monitor-2.0.6.jar> [INFO] [enforcer:enforce {execution: default}] [INFO] [plugin:descriptor {execution: default-descriptor}] [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Applying mojo extractor for language: java [WARNING] org.apache.geronimo.mavenplugins.car.ArchiveCarMojo#jarArchiver: [WARNING] The syntax [WARNING] @parameter expression="${component.#}" [WARNING] is deprecated, please use [WARNING] @component role="" roleHint="" [WARNING] instead. [INFO] Mojo extractor for language: java found 10 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] [remote-resources:process {execution: default}] [WARNING] Invalid project model for artifact [sxc-runtime:com.envoisolutions.sxc:0.7.2]. It will be ignored by the remote resources Mojo. [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory C:\g22\framework\buildsupport\car-maven-plugin\src\main\filtered-resourc es [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 20 source files to C:\g22\framework\buildsupport\car-maven-plugin\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure error: error reading C:\m2repo\com\envoisolutions\sxc\sxc-runtime\0.7.2\sxc-runtime-0.7.2.jar ; error in opening zip file [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 11 minutes 9 seconds [INFO] Finished at: Mon Nov 09 13:10:16 EST 2009 [INFO] Final Memory: 202M/387M [INFO] " Thanks Fei Li From: chi runhua [mailto:chirun...@gmail.com] Sent: Monday, November 09, 2009 12:00 PM To: dev@geronimo.apache.org Subject: Re: Help me to build a geronimo server form the source I can build branch/2.2 with JDK1.6 on Ubuntu9.04 successfully. You may post your 2.2 build log here so that we can take a look what the problem is. Jeff C On Tue, Nov 10, 2009 at 12:39 AM, Fei LI wrote: Hi, I am creaming here for your help. I have been trying to build a Geronimo server from the SVN source for 1.5 weeks and no success. Donald Woods and Forrest Xia helped me to try many ways and all are failed. I tried many combination of the build environment: SVN Tags/2.1.4 SVN Trunk Maven 2.0.10 Maven 2.2.1 Java jsdk 1..5.0_22 Java jsdk 1.6.0_16 Nothing works. So who can tell me what to try next. I never build software like this. Surprise! Isn't it? Thanks Fei Li
Re: Help me to build a geronimo server form the source
I can build branch/2.2 with JDK1.6 on Ubuntu9.04 successfully. You may post your 2.2 build log here so that we can take a look what the problem is. Jeff C On Tue, Nov 10, 2009 at 12:39 AM, Fei LI wrote: > > Hi, > > I am creaming here for your help. > > I have been trying to build a Geronimo server from the SVN source for 1.5 > weeks and no success. > > Donald Woods and Forrest Xia helped me to try many ways and all are failed. > I tried many combination of the build environment: > > SVN Tags/2.1.4 > SVN Trunk > Maven 2.0.10 > Maven 2.2.1 > Java jsdk 1..5.0_22 > Java jsdk 1.6.0_16 > > Nothing works. > > So who can tell me what to try next. I never build software like this. > Surprise! Isn't it? > > Thanks > > Fei Li > > > >
Help me to build a geronimo server form the source
Hi, I am creaming here for your help. I have been trying to build a Geronimo server from the SVN source for 1.5 weeks and no success. Donald Woods and Forrest Xia helped me to try many ways and all are failed. I tried many combination of the build environment: SVN Tags/2.1.4 SVN Trunk Maven 2.0.10 Maven 2.2.1 Java jsdk 1..5.0_22 Java jsdk 1.6.0_16 Nothing works. So who can tell me what to try next. I never build software like this. Surprise! Isn't it? Thanks Fei Li