You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Mohammad Nour El-Din <no...@gmail.com> on 2008/01/17 17:53:45 UTC

Re: [Build] OpenEJB: Failed for 612805

I searched on the inernet and found this
http://jira.codehaus.org/browse/MNGFAQ-117, but don't know how to look
further into that as I don't have access to anything on the build server.

On 17 Jan 2008 16:39:22 -0000, <pr...@apache.org> wrote:

> Building OpenEJB trunk at  612805
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
> 3K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
> 6K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> 3K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> 13K downloaded
> [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
> 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom
> 5K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.pom
> 14K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> 3K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
> 17K downloaded
> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/maven-surefire-plugin-2.4.pom
> 6K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4/surefire-2.4.pom
> 6K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom
> 20K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> 4K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/maven-surefire-plugin-2.4.jar
> 21K downloaded
> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
> updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom
> 8K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom
> 7K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
> 26K downloaded
> [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
> 15K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Thu Jan 17 16:39:20 GMT+00:00 2008
> [INFO] Final Memory: 4M/506M
> [INFO]
> ------------------------------------------------------------------------
>



-- 
Thanks
- Mohammad Nour

Re: [Build] OpenEJB: Failed for 612805

Posted by Jarek Gawor <jg...@gmail.com>.
I've noticed that this usually happens when the svn is misbehaving
(like today). What happens is that svn stops in the middle of checking
out the code (becuase of a timeout or whatever) and so a subset of the
code gets checked out. But the build continues on and sooner or later
fails in this way. A simple way to avoid this error is to update the
build script to check the error code of the svn command and abort the
build if svn checkout fails.

Jarek

On Jan 17, 2008 11:53 AM, Mohammad Nour El-Din <no...@gmail.com> wrote:
> I searched on the inernet and found this
> http://jira.codehaus.org/browse/MNGFAQ-117, but don't know how to look
> further into that as I don't have access to anything on the build server.
>
> On 17 Jan 2008 16:39:22 -0000, <pr...@apache.org> wrote:
>
> > Building OpenEJB trunk at  612805
> > [INFO] Scanning for projects...
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Maven Default Project
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
> > for updates from central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> > 1K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
> > 3K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
> > 6K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > 3K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> > 13K downloaded
> > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> > for updates from central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
> > 2K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom
> > 5K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.pom
> > 14K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> > 3K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
> > 17K downloaded
> > [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
> > for updates from central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/maven-surefire-plugin-2.4.pom
> > 6K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4/surefire-2.4.pom
> > 6K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom
> > 20K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> > 4K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/maven-surefire-plugin-2.4.jar
> > 21K downloaded
> > [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
> > updates from central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom
> > 8K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom
> > 7K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
> > 26K downloaded
> > [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
> > for updates from central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> > 2K downloaded
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
> > 15K downloaded
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Cannot execute mojo: resources. It requires a project with an
> > existing pom.xml, but the build is not using one.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 10 seconds
> > [INFO] Finished at: Thu Jan 17 16:39:20 GMT+00:00 2008
> > [INFO] Final Memory: 4M/506M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>
>
>
> --
> Thanks
> - Mohammad Nour
>