Why? If a user want to test or modify maven with an empty repository, he
must download manually all jars.
I think that it's a bad solution.
In the bootstrap, for build plugins, we use Maven, and maven can
automatically download jars from repo. So why the bootstrap doesn't use this
functionality?

Emmanuel

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Maven Developers List" <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 2:29 PM
Subject: Re: Bootstrapping 1.0-branch


In the 1.0 branch, the bootstrap is run offline.

All necessary jars must be downloaded before running bootstrap.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



Jörg Schaible <[EMAIL PROTECTED]> wrote on 08/12/2003
11:33:56 PM:

> Hello,
>
> unfortunately I have still troubles building Maven from
MAVEN-1_0-BRANCH:
>
> 1) Checkout maven with MAVEN-1_0-BRANCH tag
> 2) Checkout maven-plugins from HEAD (the decision was made not to branch
the
> plugins - right?)
> 3) Bootstrapping in maven
>
> Following observations during the boostrapping:
>
> ======= snip ===========
>      [echo]
+------------------------------------------------------------------+
>      [echo] |       |
>      [echo] | B U I L D I N G  T H E  P L U G I N S       |
>      [echo] |       |
>      [echo]
+------------------------------------------------------------------+
>      [echo]
>      [exec]  __  __
>      [exec] |  \/  |__ _Apache__ ___
>      [exec] | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>      [exec] |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT
>
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec] Starting the reactor...
> ======= snap ===========
>
> It seems that the boostrap does not include necessary Jelly taglibs.
Furtheron I get:
>
> ======= snip ===========
>      [exec] +----------------------------------------
>      [exec] | Building Maven Ashkelon Plug-in
>      [exec] | Memory: 15M/15M
>      [exec] +----------------------------------------
>
>      [exec] BUILD FAILED
>      [exec] org.apache.maven.verifier.UnsatisfiedDependencyException:
The
> build cannot continue because of the following unsatisfied dependencies:
>
>      [exec] ashkelon-20030312.120000.jar (no download url specified)
>      [exec] castor-0.9.4.3.jar (no download url specified)
>      [exec] commons-dbcp-1.0-dev.jar (no download url specified)
>      [exec] j2h-1.2.jar (no download url specified)
>      [exec] mm.mysql-2.0.13-bin.jar (no download url specified)
>
>      [exec]     at org.apache.maven.verifier.DependencyVerifier.
> satisfyDependencies(DependencyVerifier.java:219)
>      [exec]     at org.apache.maven.verifier.DependencyVerifier.
> verify(DependencyVerifier.java:135)
>      [exec]     at org.apache.maven.project.Project.
> verifyDependencies(Project.java:1368)
>      [exec]     at org.apache.maven.plugin.PluginManager.
> attainGoals(PluginManager.java:535)
>      [exec]     at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:275)
>      [exec]     at org.apache.maven.jelly.tags.maven.ReactorTag.
> doTag(ReactorTag.java:312)
>      [exec]     at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
>      [exec]     at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>      [exec]     at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
>      [exec]     at
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
>      [exec]     at com.werken.werkz.Goal.fire(Goal.java:639)
>      [exec]     at com.werken.werkz.Goal.attain(Goal.java:575)
>      [exec]     at org.apache.maven.plugin.PluginManager.
> attainGoals(PluginManager.java:659)
>      [exec]     at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:275)
>      [exec]     at org.apache.maven.cli.App.doMain(App.java:545)
>      [exec]     at org.apache.maven.cli.App.main(App.java:1118)
>      [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] Total time: 15 seconds
>      [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] Finished at: Mon Dec 08 13:06:39 CET 2003
>
>      [exec] The build cannot continue because of the following
unsatisfied
> dependencies:
>
>      [exec] ashkelon-20030312.120000.jar (no download url specified)
>      [exec] castor-0.9.4.3.jar (no download url specified)
>      [exec] commons-dbcp-1.0-dev.jar (no download url specified)
>      [exec] j2h-1.2.jar (no download url specified)
>      [exec] mm.mysql-2.0.13-bin.jar (no download url specified)
> ======= snap ===========
>
> At this point the bootstrap stops building the remaining plugins.  The
build
> itself continues with the installation of the plugins and building Maven
with itself:
>
> ======= snip ===========
>      [echo]
+------------------------------------------------------------------+
>      [echo] |       |
>      [echo] | B U I L D I N G  M A V E N  W I T H  I T S E L F       |
>      [echo] |       |
>      [echo]
+------------------------------------------------------------------+
>      [echo]
>      [exec]  __  __
>      [exec] |  \/  |__ _Apache__ ___
>      [exec] | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>      [exec] |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT
>
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec]     [delete] Deleting directory
C:\Work\Apps\Maven\maven\target
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'doc'
>      [exec] Tag library requested that is not present: 'deploy'
>      [exec]     [mkdir] Created dir:
C:\Work\Apps\Maven\maven\target\classes
>      [exec]     [echo] Compiling to
C:\Work\Apps\Maven\maven/target/classes
>      [exec]     [javac] Compiling 96 source files to C:
> \Work\Apps\Maven\maven\target\classes
>      [exec] Note: Some input files use or override a deprecated API.
>      [exec] Note: Recompile with -deprecation for details.
>      [exec] Copying 4 files to C:\Work\Apps\Maven\maven\target\classes
>      [exec] Copying 10 files to C:
> \Work\Apps\Maven\maven\target\classes\org\apache\maven\messages
>      [exec]     [mkdir] Created dir:
C:\Work\Apps\Maven\maven\target\test-classes
>      [exec]     [mkdir] Created dir:
C:\Work\Apps\Maven\maven\target\test-reports
>      [exec]     [javac] Compiling 39 source files to C:
> \Work\Apps\Maven\maven\target\test-classes
>      [exec]     [junit] dir attribute ignored if running in the same VM
>      [exec]     [junit] Running org.apache.maven.ant.MavenTaskTest
>      [exec]     [junit] Tests run: 7, Failures: 0, Errors: 0, Time
elapsed: 0,04 sec
> ======= snap ===========
>
> continuing with a lot of tests and lastly
>
> ======= snip ===========
>      [exec]     [echo] maven.mode.online = false
>      [exec]     [jar] Building jar:
C:\Work\Apps\Maven\maven\target\maven.jar
>      [exec] BUILD SUCCESSFUL
>      [exec] Total time: 24 seconds
>      [exec] Finished at: Mon Dec 08 13:07:06 CET 2003
>
>
> clean-maven-home:
>    [delete] Deleting directory C:\Programme\Apache Software
Foundation\Maven
> 1.0-SNAPSHOT\bin
>     [mkdir] Created dir: C:\Programme\Apache Software Foundation\Maven
1.0-
> SNAPSHOT\bin
>    [delete] Deleting directory C:\Programme\Apache Software
Foundation\Maven
> 1.0-SNAPSHOT\lib
>     [mkdir] Created dir: C:\Programme\Apache Software Foundation\Maven
1.0-
> SNAPSHOT\lib
>    [delete] Deleting directory C:\Programme\Apache Software
Foundation\Maven
> 1.0-SNAPSHOT\plugins
>     [mkdir] Created dir: C:\Programme\Apache Software Foundation\Maven
1.0-
> SNAPSHOT\plugins
>      [copy] Copying 1 file to C:\Dokumente und Einstellungen\jos\.
> maven\repository\maven\jars
>      [copy] Copying 1 file to
C:\Work\Apps\Maven\maven\bootstrap\install-phase1\lib
>      [copy] Copying 1 file to
C:\Work\Apps\Maven\maven\bootstrap\install-phase1
>      [copy] Copying 1 file to
C:\Work\Apps\Maven\maven\bootstrap\install-phase1
>      [copy] Copying 40 files to C:\Programme\Apache Software
> Foundation\Maven 1.0-SNAPSHOT
>
> BUILD SUCCESSFUL
> Total time: 57 seconds
> ======= snap ===========
>
> the overall build is claimed successful. That's the output of the list
of
> available goals:
>
> ======= snip ===========
> $ maven -g
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT
>
>
> Available [Plugins] / Goals
> ```````````````````````````
> [announcement] : Generate release announcement
>   generate ................... Generate release announcement
>   text ....................... Generate release announcement
>
> [ant] : Generate an Ant build file
>   generate-build ............. Generate an Ant build file
>
> [antlr] ( NO DEFAULT GOAL )
>   generate ................... Generate source from antlr grammars
>   prepare-filesystem ......... Make any necessary directories for antlr
>                                processing
>
> [appserver] ( NO DEFAULT GOAL )
>   clean ...................... Safely delete an installed appserver
instance
>   cycle ...................... Forced install and start of a appserver
instance
>   init ....................... Initialize resources needed for the
plugin
>   install .................... Install a appserver instance
>   reinstall .................. Reinstall a appserver instance
>   restart .................... Restart a appserver instance
>   start ...................... Start a appserver instance
>   stop ....................... Stop a appserver instance
>
> [artifact] ( NO DEFAULT GOAL )
>   load .......................  ( NO DESCRIPTION )
> ======= snap ===========
>
> So the build is obviously not complete.
>
> Any hints how to build a complete Maven from the 1.0 branch?
>
> Regards,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to