You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Michael Gaffney <mi...@gmail.com> on 2004/08/27 02:04:30 UTC
I'm trying to build maven from CVS but running into problems
I'm trying to build maven from the CVS HEAD and I'm running into
problems. This is my first time building maven so if I'm doing
something really stupid, please forgive me.
I followed the instructions on the web site for build maven and when
the build gets to the "BUILDING MAVEN WITH ITSELF..." part it fails.
It appears to me that the test:test goal is failing but I'm not sure
why. The last part of the build output that I get is below. Could
someone please point me in the right direction? Thanks.
Mike Gaffney
[delete] Deleting 71 files from C:\javalib\maven-cvs\build\maven-dist\plugins
[delete] Deleted 37 directories from
C:\javalib\maven-cvs\build\maven-dist\plugins
[delete] Deleting directory
C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
[copy] Copying 46 files to
C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
[echo]
[echo] |
[echo] | BUILDING MAVEN WITH ITSELF...
[echo] |
[echo]
[exec] __ __
[exec] | \/ |__ _Apache__ ___
[exec] | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
[exec] |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
[exec] plugin license is cached (dynatag dep) but no longer present
[exec] Cache invalidated due to out of date plugins
[exec] com.werken.werkz.NoSuchGoalException: No goal [test:test]
[exec] at
org.apache.maven.plugin.GoalToJellyScriptHousingMapper.resolveJellyScriptHousings(GoalToJellyScriptHousingMapper.java:258)
[exec] at
org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:693)
[exec] at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:637)
[exec] at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
[exec] at org.apache.maven.cli.App.doMain(App.java:486)
[exec] at org.apache.maven.cli.App.main(App.java:1215)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:324)
[exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
[exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
[exec] You have encountered an unknown error running Maven.
Please help us to correct
[exec] this problem by following these simple steps:
[exec] - read the Maven FAQ at http://maven.apache.org/faq.html
[exec] - run the same command again with the '-e' parameter, eg
maven -e jar
[exec] - search the maven-user archives for the error at
[exec] http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
[exec] - post the output of maven -e to JIRA at
[exec] http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you
must sign up first)
[exec] - run 'maven --info' and post the output as the
environment to the bug above
[exec] Total time: 8 seconds
[exec] Finished at: Thu Aug 26 19:50:04 EDT 2004
clean-maven-home:
[delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\bin
[mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\bin
[delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\lib
[mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\lib
[delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\plugins
[mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\plugins
[delete] Deleting directory C:\javalib\maven-cvs\build\maven-home-local\cache
BUILD FAILED
file:C:/javalib/maven-cvs/maven/build-bootstrap.xml:319: Warning:
Could not find file C:\javalib\maven-cvs\maven\target\maven.jar to
copy.
Total time: 3 minutes 40 seconds
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: I'm trying to build maven from CVS but running into problems
Posted by Mark Church <mc...@www.IN.gov>.
Had this problem this weekend. Adding the following to my
build.properties solved it :
maven.jar.override = on
maven.jar.javadoc=/usr/java/j2sdk1.4.2_05/lib/tools.jar
Mark Church
Michael Gaffney wrote:
>Thanks for the info, Brett.
>
>It looks like the JellyDoc Plug-in failed to build on my machine. The
>error was "Failed to download javadoc-1.3.jar". I'll look into it
>some more, but thanks again for the info.
>
>Mike
>
>On Fri, 27 Aug 2004 09:49:09 +091800, Brett Porter <br...@apache.org> wrote:
>
>
>>You need to look earlier in the log. Due to a bug in the bootstrap, if a plugin
>>fails, the bootstrap continues. So what has happenned is a plugin build failed,
>>hence the test plugin was never built and installed.
>>
>>- Brett
>>
>>
>>
>>Quoting Michael Gaffney <mi...@gmail.com>:
>>
>>
>>
>>>I'm trying to build maven from the CVS HEAD and I'm running into
>>>problems. This is my first time building maven so if I'm doing
>>>something really stupid, please forgive me.
>>>
>>>I followed the instructions on the web site for build maven and when
>>>the build gets to the "BUILDING MAVEN WITH ITSELF..." part it fails.
>>>It appears to me that the test:test goal is failing but I'm not sure
>>>why. The last part of the build output that I get is below. Could
>>>someone please point me in the right direction? Thanks.
>>>
>>>Mike Gaffney
>>>
>>>
>>> [delete] Deleting 71 files from
>>>C:\javalib\maven-cvs\build\maven-dist\plugins
>>> [delete] Deleted 37 directories from
>>>C:\javalib\maven-cvs\build\maven-dist\plugins
>>> [delete] Deleting directory
>>>C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
>>> [copy] Copying 46 files to
>>>C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
>>> [echo]
>>> [echo] |
>>> [echo] | BUILDING MAVEN WITH ITSELF...
>>> [echo] |
>>> [echo]
>>> [exec] __ __
>>> [exec] | \/ |__ _Apache__ ___
>>> [exec] | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>>> [exec] |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
>>>
>>> [exec] plugin license is cached (dynatag dep) but no longer present
>>> [exec] Cache invalidated due to out of date plugins
>>> [exec] com.werken.werkz.NoSuchGoalException: No goal [test:test]
>>> [exec] at
>>>
>>>
>>>
>>org.apache.maven.plugin.GoalToJellyScriptHousingMapper.resolveJellyScriptHousings(GoalToJellyScriptHousingMapper.java:258)
>>
>>
>>> [exec] at
>>>org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:693)
>>> [exec] at
>>>org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:637)
>>> [exec] at
>>>org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
>>> [exec] at org.apache.maven.cli.App.doMain(App.java:486)
>>> [exec] at org.apache.maven.cli.App.main(App.java:1215)
>>> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>Method)
>>> [exec] at
>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>> [exec] at
>>>
>>>
>>>
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>>
>>> [exec] at java.lang.reflect.Method.invoke(Method.java:324)
>>> [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
>>> [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
>>> [exec] You have encountered an unknown error running Maven.
>>>Please help us to correct
>>> [exec] this problem by following these simple steps:
>>> [exec] - read the Maven FAQ at http://maven.apache.org/faq.html
>>> [exec] - run the same command again with the '-e' parameter, eg
>>>maven -e jar
>>> [exec] - search the maven-user archives for the error at
>>> [exec]
>>>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
>>> [exec] - post the output of maven -e to JIRA at
>>> [exec] http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you
>>>must sign up first)
>>> [exec] - run 'maven --info' and post the output as the
>>>environment to the bug above
>>>
>>>
>>> [exec] Total time: 8 seconds
>>> [exec] Finished at: Thu Aug 26 19:50:04 EDT 2004
>>>
>>>
>>>clean-maven-home:
>>> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\bin
>>> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\bin
>>> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\lib
>>> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\lib
>>> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\plugins
>>> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\plugins
>>> [delete] Deleting directory
>>>C:\javalib\maven-cvs\build\maven-home-local\cache
>>>
>>>BUILD FAILED
>>>file:C:/javalib/maven-cvs/maven/build-bootstrap.xml:319: Warning:
>>>Could not find file C:\javalib\maven-cvs\maven\target\maven.jar to
>>>copy.
>>>
>>>Total time: 3 minutes 40 seconds
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
--
**********************************************************************
CONFIDENTIALITY NOTICE:
This E-mail and any attachments are confidential. If you are not the
intended recipient, you do not have permission to disclose, copy,
distribute, or open any attachments. If you have received this E-mail
in error, please notify us immediately by returning it to the sender
and delete this copy from your system.
Thank you.
accessIndiana, MyLocal.IN.gov, CivicNet
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: I'm trying to build maven from CVS but running into problems
Posted by Michael Gaffney <mi...@gmail.com>.
Thanks for the info, Brett.
It looks like the JellyDoc Plug-in failed to build on my machine. The
error was "Failed to download javadoc-1.3.jar". I'll look into it
some more, but thanks again for the info.
Mike
On Fri, 27 Aug 2004 09:49:09 +091800, Brett Porter <br...@apache.org> wrote:
> You need to look earlier in the log. Due to a bug in the bootstrap, if a plugin
> fails, the bootstrap continues. So what has happenned is a plugin build failed,
> hence the test plugin was never built and installed.
>
> - Brett
>
>
>
> Quoting Michael Gaffney <mi...@gmail.com>:
>
> > I'm trying to build maven from the CVS HEAD and I'm running into
> > problems. This is my first time building maven so if I'm doing
> > something really stupid, please forgive me.
> >
> > I followed the instructions on the web site for build maven and when
> > the build gets to the "BUILDING MAVEN WITH ITSELF..." part it fails.
> > It appears to me that the test:test goal is failing but I'm not sure
> > why. The last part of the build output that I get is below. Could
> > someone please point me in the right direction? Thanks.
> >
> > Mike Gaffney
> >
> >
> > [delete] Deleting 71 files from
> > C:\javalib\maven-cvs\build\maven-dist\plugins
> > [delete] Deleted 37 directories from
> > C:\javalib\maven-cvs\build\maven-dist\plugins
> > [delete] Deleting directory
> > C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
> > [copy] Copying 46 files to
> > C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
> > [echo]
> > [echo] |
> > [echo] | BUILDING MAVEN WITH ITSELF...
> > [echo] |
> > [echo]
> > [exec] __ __
> > [exec] | \/ |__ _Apache__ ___
> > [exec] | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > [exec] |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
> >
> > [exec] plugin license is cached (dynatag dep) but no longer present
> > [exec] Cache invalidated due to out of date plugins
> > [exec] com.werken.werkz.NoSuchGoalException: No goal [test:test]
> > [exec] at
> >
> org.apache.maven.plugin.GoalToJellyScriptHousingMapper.resolveJellyScriptHousings(GoalToJellyScriptHousingMapper.java:258)
> > [exec] at
> > org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:693)
> > [exec] at
> > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:637)
> > [exec] at
> > org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> > [exec] at org.apache.maven.cli.App.doMain(App.java:486)
> > [exec] at org.apache.maven.cli.App.main(App.java:1215)
> > [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > [exec] at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > [exec] at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > [exec] at java.lang.reflect.Method.invoke(Method.java:324)
> > [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
> > [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
> > [exec] You have encountered an unknown error running Maven.
> > Please help us to correct
> > [exec] this problem by following these simple steps:
> > [exec] - read the Maven FAQ at http://maven.apache.org/faq.html
> > [exec] - run the same command again with the '-e' parameter, eg
> > maven -e jar
> > [exec] - search the maven-user archives for the error at
> > [exec]
> > http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
> > [exec] - post the output of maven -e to JIRA at
> > [exec] http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you
> > must sign up first)
> > [exec] - run 'maven --info' and post the output as the
> > environment to the bug above
> >
> >
> > [exec] Total time: 8 seconds
> > [exec] Finished at: Thu Aug 26 19:50:04 EDT 2004
> >
> >
> > clean-maven-home:
> > [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\bin
> > [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\bin
> > [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\lib
> > [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\lib
> > [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\plugins
> > [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\plugins
> > [delete] Deleting directory
> > C:\javalib\maven-cvs\build\maven-home-local\cache
> >
> > BUILD FAILED
> > file:C:/javalib/maven-cvs/maven/build-bootstrap.xml:319: Warning:
> > Could not find file C:\javalib\maven-cvs\maven\target\maven.jar to
> > copy.
> >
> > Total time: 3 minutes 40 seconds
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: I'm trying to build maven from CVS but running into problems
Posted by Brett Porter <br...@apache.org>.
You need to look earlier in the log. Due to a bug in the bootstrap, if a plugin
fails, the bootstrap continues. So what has happenned is a plugin build failed,
hence the test plugin was never built and installed.
- Brett
Quoting Michael Gaffney <mi...@gmail.com>:
> I'm trying to build maven from the CVS HEAD and I'm running into
> problems. This is my first time building maven so if I'm doing
> something really stupid, please forgive me.
>
> I followed the instructions on the web site for build maven and when
> the build gets to the "BUILDING MAVEN WITH ITSELF..." part it fails.
> It appears to me that the test:test goal is failing but I'm not sure
> why. The last part of the build output that I get is below. Could
> someone please point me in the right direction? Thanks.
>
> Mike Gaffney
>
>
> [delete] Deleting 71 files from
> C:\javalib\maven-cvs\build\maven-dist\plugins
> [delete] Deleted 37 directories from
> C:\javalib\maven-cvs\build\maven-dist\plugins
> [delete] Deleting directory
> C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
> [copy] Copying 46 files to
> C:\javalib\maven-cvs\maven\bootstrap\install-phase1\plugins
> [echo]
> [echo] |
> [echo] | BUILDING MAVEN WITH ITSELF...
> [echo] |
> [echo]
> [exec] __ __
> [exec] | \/ |__ _Apache__ ___
> [exec] | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> [exec] |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
>
> [exec] plugin license is cached (dynatag dep) but no longer present
> [exec] Cache invalidated due to out of date plugins
> [exec] com.werken.werkz.NoSuchGoalException: No goal [test:test]
> [exec] at
>
org.apache.maven.plugin.GoalToJellyScriptHousingMapper.resolveJellyScriptHousings(GoalToJellyScriptHousingMapper.java:258)
> [exec] at
> org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:693)
> [exec] at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:637)
> [exec] at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> [exec] at org.apache.maven.cli.App.doMain(App.java:486)
> [exec] at org.apache.maven.cli.App.main(App.java:1215)
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [exec] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [exec] at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [exec] at java.lang.reflect.Method.invoke(Method.java:324)
> [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
> [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
> [exec] You have encountered an unknown error running Maven.
> Please help us to correct
> [exec] this problem by following these simple steps:
> [exec] - read the Maven FAQ at http://maven.apache.org/faq.html
> [exec] - run the same command again with the '-e' parameter, eg
> maven -e jar
> [exec] - search the maven-user archives for the error at
> [exec]
> http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
> [exec] - post the output of maven -e to JIRA at
> [exec] http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you
> must sign up first)
> [exec] - run 'maven --info' and post the output as the
> environment to the bug above
>
>
> [exec] Total time: 8 seconds
> [exec] Finished at: Thu Aug 26 19:50:04 EDT 2004
>
>
> clean-maven-home:
> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\bin
> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\bin
> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\lib
> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\lib
> [delete] Deleting directory C:\javalib\maven-cvs\build\maven-dist\plugins
> [mkdir] Created dir: C:\javalib\maven-cvs\build\maven-dist\plugins
> [delete] Deleting directory
> C:\javalib\maven-cvs\build\maven-home-local\cache
>
> BUILD FAILED
> file:C:/javalib/maven-cvs/maven/build-bootstrap.xml:319: Warning:
> Could not find file C:\javalib\maven-cvs\maven\target\maven.jar to
> copy.
>
> Total time: 3 minutes 40 seconds
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org