maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikram_Ku...@condenast.com
Subject RE: J2EE project : EAR/WAR/JAR - web site generation
Date Mon, 11 Aug 2003 13:57:33 GMT

They exist in the local repository and here's what they contain.

EJB JAR
C:\everest\applications\registration>jar -tvf c:\tools\maven-1.0-beta-9\reposito
ry\everest\ejbs\everest-module-registration-1.0.jar
     0 Thu Aug 07 16:17:50 EDT 2003 META-INF/
   444 Thu Aug 07 16:17:50 EDT 2003 META-INF/MANIFEST.MF
   798 Wed Jun 18 08:30:10 EDT 2003 META-INF/ejb-jar.xml
     0 Thu Aug 07 16:17:50 EDT 2003 com/
     0 Thu Aug 07 16:17:50 EDT 2003 com/acme/
     0 Thu Aug 07 16:17:50 EDT 2003 com/acme/everest/
     0 Thu Aug 07 16:17:50 EDT 2003 com/acme/everest/registration/
   920 Thu Aug 07 16:17:50 EDT 2003 com/acme/everest/registration/ExampleEJBBean
.class
   320 Thu Aug 07 16:17:50 EDT 2003 com/acme/everest/registration/ExampleEJBHome
.class
   253 Thu Aug 07 16:17:50 EDT 2003 com/acme/everest/registration/ExampleEJBRemo
te.class

JAR
C:\everest\applications\registration>jar -tvf c:\tools\maven-1.0-beta-9\reposito
ry\everest\jars\everest-module-bedrock-1.0.jar
     0 Thu Aug 07 15:43:06 EDT 2003 META-INF/
   598 Thu Aug 07 15:43:06 EDT 2003 META-INF/MANIFEST.MF
     0 Thu Aug 07 15:43:06 EDT 2003 com/
     0 Thu Aug 07 15:43:06 EDT 2003 com/acme/
     0 Thu Aug 07 15:43:06 EDT 2003 com/acme/everest/
     0 Thu Aug 07 15:43:06 EDT 2003 com/acme/everest/bedrock/
   537 Thu Aug 07 15:43:06 EDT 2003 com/acme/everest/bedrock/Simple.class
  2709 Fri Jan 03 16:04:04 EST 2003 META-INF/LICENSE.txt
   116 Thu Aug 07 15:43:06 EDT 2003 META-INF/INDEX.LIST

WAR
C:\everest\applications\registration>jar -tvf c:\tools\maven-1.0-beta-9\reposito
ry\everest\wars\everest-module-csrweb.war
     0 Thu Aug 07 15:43:36 EDT 2003 META-INF/
   311 Thu Aug 07 15:43:36 EDT 2003 META-INF/MANIFEST.MF
     0 Thu Aug 07 14:43:48 EDT 2003 WEB-INF/
     0 Thu Aug 07 15:43:36 EDT 2003 WEB-INF/classes/
     0 Thu Aug 07 15:43:34 EDT 2003 WEB-INF/classes/com/
     0 Thu Aug 07 15:43:34 EDT 2003 WEB-INF/classes/com/acme/
     0 Thu Aug 07 15:43:34 EDT 2003 WEB-INF/classes/com/acme/everest/
     0 Thu Aug 07 15:43:34 EDT 2003 WEB-INF/classes/com/acme/everest/csrweb/
   535 Thu Aug 07 15:43:34 EDT 2003 WEB-INF/classes/com/acme/everest/csrweb/Simp
le.class
   208 Mon Jun 16 16:00:42 EDT 2003 WEB-INF/web.xml




|--------+------------------------>
|        |          vmassol@pivoli|
|        |          s.com         |
|        |                        |
|        |          08/08/2003    |
|        |          02:02 PM      |
|        |          Please respond|
|        |          to users      |
|        |                        |
|--------+------------------------>
  >----------------------------------------------------------------|
  |                                                                |
  |      To:     users@maven.apache.org                            |
  |      cc:     (bcc: Vikram Kumar/IS&T/CNP)                      |
  |      Subject:     RE: J2EE project : EAR/WAR/JAR - web site    |
  |       generation                                               |
  >----------------------------------------------------------------|




Because for some reasons Maven has not found them in your local
repository. This should normally not happen as they are supposed to be
built before the "Everest Registration Application" is built.

Can you check that they are available in your local repo and that they
are valid jars?

Thanks
-Vincent

> -----Original Message-----
> From: Vikram_Kumar@condenast.com [mailto:Vikram_Kumar@condenast.com]
> Sent: 08 August 2003 19:52
> To: users@maven.apache.org
> Subject: RE: J2EE project : EAR/WAR/JAR - web site generation
>
>
> 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>
>
>
>
>
> |--------+------------------------>
> |        |          vmassol@pivoli|
> |        |          s.com         |
> |        |                        |
> |        |          08/07/2003    |
> |        |          04:07 PM      |
> |        |          Please respond|
> |        |          to users      |
> |        |                        |
> |--------+------------------------>
>   >----------------------------------------------------------------|
>   |                                                                |
>   |      To:     users@maven.apache.org                            |
>   |      cc:     Vikram Kumar/IS&T/CNP@CNP                         |
>   |      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: Vikram_Kumar@condenast.com [mailto:Vikram_Kumar@condenast.com]
> > Sent: 07 August 2003 21:59
> > To: users@maven.apache.org
> > 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>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > |--------+------------------------>
> > |        |          vmassol@pivoli|
> > |        |          s.com         |
> > |        |                        |
> > |        |          07/15/2003    |
> > |        |          03:31 AM      |
> > |        |          Please respond|
> > |        |          to users      |
> > |        |                        |
> > |--------+------------------------>
> >
>
>-----------------------------------------------------------------------
> > -----|
> >   |
> > |
> >   |      To:     users@maven.apache.org
> > |
> >   |      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:andy@ajsoft.net]
> > > 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message