All dependencies are downloaded if they can't be found locally.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] wrote on 09/08/2003 03:51:43 AM:

> 
> I'm wondering why maven is attempting to download the war and the ejb 
jar from
> the external repository.
> 
> C:\everest>maven
>  __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT
> 
> 
> Starting the reactor...
> Our processing order:
> Everest Bedrock Framework
> Everest CSRWeb
> Everest Registration
> Everest Registration Application
> Everest JBoss container Packager
> Everest Host Node
> +----------------------------------------
> | Building Everest Bedrock Framework
> | Memory: 2M/4M
> +----------------------------------------
> everest:dist-all:
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Since fork is true, ignoring compiler setting.
> 
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
> 
> test:test:
>     [junit] dir attribute ignored if running in the same VM
>     [junit] Running com.acme.everest.bedrock.TestSimple
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 
sec
> 
> jar:jar:
> 
> jar:install:
>     [echo]
>     id = 'everest-module-bedrock'
>     groupId = 'everest'
>     artifactDirectory = 'everest'
> 
>     [copy] Copying 1 file to 
C:\Tools\maven-1.0-beta-9\repository\everest\jars
> +----------------------------------------
> | Building Everest CSRWeb
> | Memory: 5M/6M
> +----------------------------------------
> 
> everest:dist:
> 
> war:init:
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Since fork is true, ignoring compiler setting.
> 
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Since fork is true, ignoring compiler setting.
> 
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
> 
> test:test:
>     [junit] dir attribute ignored if running in the same VM
>     [junit] Running com.acme.everest.csrweb.TestSimple
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016 
sec
> 
> 
> war:war:
>     [echo] Building WAR everest-module-csrweb
> +----------------------------------------
> | Building Everest Registration
> | Memory: 7M/9M
> +----------------------------------------
> 
> war:install:
> 
> everest:dist:
> 
> ejb:init:
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Since fork is true, ignoring compiler setting.
> 
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Since fork is true, ignoring compiler setting.
> 
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
>     [echo] No test source files to compile.
> 
> test:test:
>     [echo] No tests to run.
> 
> 
> ejb:ejb:
>     [echo] Building ejb everest-module-registration-1.0
> +----------------------------------------
> | Building Everest Registration Application
> | Memory: 10M/15M
> +----------------------------------------
> Attempting to download everest-module-csrweb-1.0.war.
> Error retrieving artifact from [http://www.ibiblio.
> org/maven/everest/wars/everes
> t-module-csrweb-1.0.war]: java.lang.Exception: Can't get everest-
> module-csrweb-1
> .0.war.incomplete to C:\Tools\maven-1.0-
> beta-9\repository\everest\wars\everest-m
> odule-csrweb-1.0.war.incomplete
> WARNING: Failed to download everest-module-csrweb-1.0.war.
> Attempting to download everest-module-registration-1.0.ejb.
> Error retrieving artifact from [http://www.ibiblio.
> org/maven/everest/ejbs/everes
> t-module-registration-1.0.ejb]: java.lang.Exception: Can't get 
> everest-module-re
> gistration-1.0.ejb.incomplete to C:\Tools\maven-1.0-
> beta-9\repository\everest\ej
> bs\everest-module-registration-1.0.ejb.incomplete
> WARNING: Failed to download everest-module-registration-1.0.ejb.
> 
> BUILD FAILED
> The build cannot continue because of the following unsatisfied 
dependencies:
> 
> everest-module-csrweb-1.0.war
> everest-module-registration-1.0.ejb
> 
> Total time:  8 seconds
> 
> C:\everest>
> 
> 
> 
> 
> |--------+------------------------>
> |        |          [EMAIL PROTECTED]|
> |        |          s.com         |
> |        |                        |
> |        |          08/07/2003    |
> |        |          04:07 PM      |
> |        |          Please respond|
> |        |          to users      |
> |        |                        |
> |--------+------------------------>
>   >----------------------------------------------------------------|
>   |                                                                |
>   |      To:     [EMAIL PROTECTED]                            |
>   |      cc:     Vikram Kumar/IS&T/[EMAIL PROTECTED]                         |
>   |      Subject:     RE: J2EE project : EAR/WAR/JAR - web site    |
>   |       generation                                               |
>   >----------------------------------------------------------------|
> 
> 
> 
> 
> Vikram,
> 
> The J2EE jar is *not* on the global Maven remote repository on ibiblio.
> You have to download it manually and put it in your local repository.
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: 07 August 2003 21:59
> > To: [EMAIL PROTECTED]
> > Subject: RE: J2EE project : EAR/WAR/JAR - web site generation
> >
> >
> > Is anyone else having a problem retrieving j2ee-1.3.jar ?
> >
> > C:\everest>maven
> >  __  __
> > |  \/  |__ Jakarta _ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT
> >
> >
> > Starting the reactor...
> > Our processing order:
> > Everest Bedrock Framework
> > Everest CSRWeb
> > Everest Registration
> > Everest Registration Application
> > Everest JBoss container Packager
> > Everest Host Node
> > +----------------------------------------
> > | Building Everest Bedrock Framework
> > | Memory: 2M/4M
> > +----------------------------------------
> > everest:dist-all:
> > java:prepare-filesystem:
> >
> > java:compile:
> >     [javac] Since fork is true, ignoring compiler setting.
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> >
> > test:test:
> >     [junit] dir attribute ignored if running in the same VM
> >     [junit] Running com.acme.everest.bedrock.TestSimple
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125
> sec
> >
> > jar:jar:
> >
> > jar:install:
> >     [echo]
> >     id = 'everest-module-bedrock'
> >     groupId = 'everest'
> >     artifactDirectory = 'everest'
> >
> >     [copy] Copying 1 file to C:\Tools\maven-1.0-beta-
> > 9\repository\everest\jars
> > +----------------------------------------
> > | Building Everest CSRWeb
> > | Memory: 5M/6M
> > +----------------------------------------
> >
> > everest:dist:
> >
> > war:init:
> > java:prepare-filesystem:
> >
> > java:compile:
> >     [javac] Since fork is true, ignoring compiler setting.
> >
> > java:prepare-filesystem:
> >
> > java:compile:
> >     [javac] Since fork is true, ignoring compiler setting.
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> >
> > test:test:
> >     [junit] dir attribute ignored if running in the same VM
> >     [junit] Running com.acme.everest.csrweb.TestSimple
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016
> sec
> >
> >
> > war:war:
> >     [echo] Building WAR everest-module-csrweb
> > +----------------------------------------
> > | Building Everest Registration
> > | Memory: 8M/9M
> > +----------------------------------------
> > Attempting to download j2ee-1.3.jar.
> > Error retrieving artifact from
> > [http://www.ibiblio.org/maven/j2ee/jars/j2ee-1.3.
> > jar]: java.lang.Exception: Can't get j2ee-1.3.jar.incomplete to
> > C:\Tools\maven-1
> > .0-beta-9\repository\j2ee\jars\j2ee-1.3.jar.incomplete
> > WARNING: Failed to download j2ee-1.3.jar.
> >
> > BUILD FAILED
> > The build cannot continue because of the following unsatisfied
> dependency:
> >
> > j2ee-1.3.jar
> >
> > Total time:  6 seconds
> >
> > C:\everest>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > |--------+------------------------>
> > |        |          [EMAIL PROTECTED]|
> > |        |          s.com         |
> > |        |                        |
> > |        |          07/15/2003    |
> > |        |          03:31 AM      |
> > |        |          Please respond|
> > |        |          to users      |
> > |        |                        |
> > |--------+------------------------>
> >
> >-----------------------------------------------------------------------
> > -----|
> >   |
> > |
> >   |      To:     [EMAIL PROTECTED]
> > |
> >   |      cc:     (bcc: Vikram Kumar/IS&T/CNP)
> > |
> >   |      Subject:     RE: J2EE project : EAR/WAR/JAR - web site
> generation
> > |
> >
> >-----------------------------------------------------------------------
> > -----|
> >
> >
> >
> >
> > Hi Andy,
> >
> > My slides are a bit difficult to understand without the explanations
> but
> > you can also download the sample everest project (on my blog). Using
> the
> > reactor to build the whole project is also explained in my slides and
> > you can see it work in practice in the everest project.
> >
> > WRT your second question, this is the goal of the multiproject plugin
> > (new in Maven b10).
> >
> > Hope it helps,
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Andy Jefferson [mailto:[EMAIL PROTECTED]
> > > Sent: 15 July 2003 08:34
> > > To: Maven Users List
> > > Subject: Re: J2EE project : EAR/WAR/JAR - web site generation
> > >
> > > On Mon, 2003-07-14 at 23:17, Ben Walding wrote:
> > > > Try taking a look at Vincent's blog:
> > > >
> > > > Item 3 at
> > > > http://wiki.codehaus.org/maven/OtherMavenArticles
> > >
> > > Thanks Ben. I've been looking at Vincents slides and other articles
> on
> > > how to do it. I've no real problem in adopting the Maven 'standard'
> of
> > > sub-projects for JAR, WAR, EAR - it makes a lot of sense.
> > >
> > > Having adopted this standard, the problem areas are how to
> > > a). build projects with sub-projects etc.
> > > b). generate suitable documentation for the overall project.
> > >
> > > On the first issue, with Ant you can obviously do hierarchies of
> > > projects, yet with Maven I've seen no reference to a similar
> facility.
> > I
> > > can clearly go into each sub-project and build that part (or even
> > write
> > > preGoal and postGoal for each sub-project to build other bits
> maybe),
> > > but what about streamlining the whole thing ? Maybe if there was a
> > space
> > > in the project.xml to identify the locations of sub-projects, and so
> > if
> > > I typed 'maven build' or 'maven install' at the top level it would
> go
> > > through the sub-projects and build/install them. Maven is early in
> its
> > > lifecycle and so I can see why this maybe isn't there yet.
> > >
> > > On the second issue, it would be nice to have the overall project
> docs
> > > show the fact that there are sub-projects and have (in the
> navigation
> > > bar) sections for each sub-project (Javadocs, checkstyle, etc). That
> > way
> > > the docs for the whole project would be integrated.
> > >
> > > Make sense ?
> > >
> > >
> > >
> > > --
> > > Andy
> > >
> > >
> ---------------------------------------------------------------------
> > > 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]
> 
> 
> 
> ---------------------------------------------------------------------
> 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