You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff Mutonho <ej...@gmail.com> on 2006/06/13 10:49:26 UTC
Book examples
Ho can I get these examples in chapter 4 to work?I saw there's an
errata for for the missing webservice jar
"[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.geronimo.samples.daytrader -
DartifactId=daytrader-wsappclient \
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0
2) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0"
I want these examples to work.
Jeff
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Book examples
Posted by Jeff Mutonho <ej...@gmail.com>.
I dont think the book says anything about building the wsappclient
project first , hence the erratas.The POM does have the dependency
clearly defined.For the purpose of making the book clearer , its worth
mentioning
On 6/13/06, Vincent Massol <vm...@pivolis.com> wrote:
> Hi Jeff,
>
> > -----Original Message-----
> > From: Jeff Mutonho [mailto:ejbengine@gmail.com]
> > Sent: mardi 13 juin 2006 10:49
> > To: Maven Users List
> > Subject: Book examples
> >
> > Ho can I get these examples in chapter 4 to work?I saw there's an
> > errata for for the missing webservice jar
> >
> > "[INFO] ------------------------------------------------------------------
> > ------
> > [ERROR] BUILD ERROR
> > [INFO] -------------------------------------------------------------------
> > -----
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -
> > DgroupId=org.apache.geronimo.samples.daytrader -
> > DartifactId=daytrader-wsappclient \
> > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
> >
> > Path to dependency:
> > 1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0
> > 2) org.apache.geronimo.samples.daytrader:daytrader-
> > wsappclient:jar:1.0"
> >
> >
> >
> > I want these examples to work.
>
> I'm not sure if anything is missing. AFAIK Maven is simply telling you that
> you haven't the wsappclient jar in your local repo. You need to build that
> project to get it in your local repo. Thus cd to the wsappclient project and
> build it (btw I think I recall that I mentioned this in the book somewhere).
> Another option is that you simply type "mvn install" at the top level (i.e.
> in the daytarder/ dir as it'll build the projects in the right order for
> you).
>
> Hope it helps,
> -Vincent
>
>
>
>
>
>
> ___________________________________________________________________________
> Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel.
> Rendez-vous sur http://fr.yahoo.com/set
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Book examples
Posted by Vincent Massol <vm...@pivolis.com>.
Hi Jeff,
> -----Original Message-----
> From: Jeff Mutonho [mailto:ejbengine@gmail.com]
> Sent: mardi 13 juin 2006 10:49
> To: Maven Users List
> Subject: Book examples
>
> Ho can I get these examples in chapter 4 to work?I saw there's an
> errata for for the missing webservice jar
>
> "[INFO] ------------------------------------------------------------------
> ------
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------
> -----
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -
> DgroupId=org.apache.geronimo.samples.daytrader -
> DartifactId=daytrader-wsappclient \
> -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0
> 2) org.apache.geronimo.samples.daytrader:daytrader-
> wsappclient:jar:1.0"
>
>
>
> I want these examples to work.
I'm not sure if anything is missing. AFAIK Maven is simply telling you that
you haven't the wsappclient jar in your local repo. You need to build that
project to get it in your local repo. Thus cd to the wsappclient project and
build it (btw I think I recall that I mentioned this in the book somewhere).
Another option is that you simply type "mvn install" at the top level (i.e.
in the daytarder/ dir as it'll build the projects in the right order for
you).
Hope it helps,
-Vincent
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services pr�f�r�s : v�rifiez vos nouveaux mails, lancez vos recherches et suivez l'actualit� en temps r�el.
Rendez-vous sur http://fr.yahoo.com/set
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org