You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/06/26 13:59:30 UTC

Re: [jira] Commented: (CXF-744) Text improvements to error, usage messages for management console

OK, will do.

Glen

Am Montag, den 25.06.2007, 23:50 -0700 schrieb willem Jiang (JIRA):
> [ https://issues.apache.org/jira/browse/CXF-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508077 ] 
> 
> willem Jiang commented on CXF-744:
> ----------------------------------
> 
> Do not worry Glen,  I just applied the patch manually.
> Please just use "svn diff" to create patch next time.
> 
> The patch has been in revision  550713.
> 
> > Text improvements to error, usage messages for management console
> > -----------------------------------------------------------------
> >
> >                 Key: CXF-744
> >                 URL: https://issues.apache.org/jira/browse/CXF-744
> >             Project: CXF
> >          Issue Type: Improvement
> >          Components: Tooling
> >    Affects Versions: 2.0
> >            Reporter: Glen Mazza
> >            Priority: Minor
> >             Fix For: 2.0.1
> >
> >         Attachments: cxfmgmt.patch
> >
> >
> 
> 


Re: Directory to run "mvn install" from?

Posted by Willem Jiang <ni...@iona.com>.
Hi Glen,

If you check out the code with

svn co http://svn.apache.org/repos/asf/incubator/cxf/trunk

You can run 'mvn install' from the trunk directory.

Cheers,

Willem.

Glen Mazza wrote:
> Hello, on the CXF building page[1] it says:  
>
> "To build CXF simply execute: 
> $ mvn install"
>
> But from which directory of the source code download should I run that
> command from?  When I run it from the root download directory (i.e., the
> one that has "buildtools", "rt", "distribution", etc., as folders within
> it), I get this error, which might be indicating I'm running it from the
> wrong location:
>
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
>
>
> Thanks,
> Glen
>
> [1] http://cwiki.apache.org/confluence/display/CXF/Building
>
>
>   


Re: Directory to run "mvn install" from?

Posted by James Mao <ja...@iona.com>.
Try mvn -e install
which will give you more information/stacktrace

 From the output, it seems that you are in the wrong directory
try to see if you can find the pom.xml in the directory

If you do, then try
 > mvn -U install # to update the snapshots
and another command you can try is
 > mvn -cpu install # which will update all the plugins.

James


> Hello, on the CXF building page[1] it says:  
>
> "To build CXF simply execute: 
> $ mvn install"
>
> But from which directory of the source code download should I run that
> command from?  When I run it from the root download directory (i.e., the
> one that has "buildtools", "rt", "distribution", etc., as folders within
> it), I get this error, which might be indicating I'm running it from the
> wrong location:
>
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
>
>
> Thanks,
> Glen
>
> [1] http://cwiki.apache.org/confluence/display/CXF/Building
>
>   

Re: Directory to run "mvn install" from?

Posted by Glen Mazza <gl...@verizon.net>.
"mvn install" works for me now (using the latest 2.0.7 Maven).  

For some reason not all the files/folders in
http://svn.apache.org/repos/asf/incubator/cxf/trunk got checked out the
first time, which caused the pom file to be missing.  I did another svn
co which fixed the problem for me.

Thanks to all who replied.

Glen


Am Mittwoch, den 27.06.2007, 09:39 +0800 schrieb Freeman Fang:
> Hi Glen,
> 
> Yes, you run mvn install from right place.
> 
> It's weird you get such error, would you please check there is pom.xml 
> under this directory?
> 
> Btw, what's the version of your mvn?
> Thanks very much
> 
> Freeman
> 
> 
> 
> 
> Glen Mazza wrote:
> > Hello, on the CXF building page[1] it says:  
> >
> > "To build CXF simply execute: 
> > $ mvn install"
> >
> > But from which directory of the source code download should I run that
> > command from?  When I run it from the root download directory (i.e., the
> > one that has "buildtools", "rt", "distribution", etc., as folders within
> > it), I get this error, which might be indicating I'm running it from the
> > wrong location:
> >
> > [INFO] Cannot execute mojo: resources. It requires a project with an
> > existing pom.xml, but the build is not using one.
> >
> >
> > Thanks,
> > Glen
> >
> > [1] http://cwiki.apache.org/confluence/display/CXF/Building
> >
> >   


Re: Directory to run "mvn install" from?

Posted by Freeman Fang <fr...@iona.com>.
Hi Glen,

Yes, you run mvn install from right place.

It's weird you get such error, would you please check there is pom.xml 
under this directory?

Btw, what's the version of your mvn?
Thanks very much

Freeman




Glen Mazza wrote:
> Hello, on the CXF building page[1] it says:  
>
> "To build CXF simply execute: 
> $ mvn install"
>
> But from which directory of the source code download should I run that
> command from?  When I run it from the root download directory (i.e., the
> one that has "buildtools", "rt", "distribution", etc., as folders within
> it), I get this error, which might be indicating I'm running it from the
> wrong location:
>
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
>
>
> Thanks,
> Glen
>
> [1] http://cwiki.apache.org/confluence/display/CXF/Building
>
>   

Directory to run "mvn install" from?

Posted by Glen Mazza <gl...@verizon.net>.
Hello, on the CXF building page[1] it says:  

"To build CXF simply execute: 
$ mvn install"

But from which directory of the source code download should I run that
command from?  When I run it from the root download directory (i.e., the
one that has "buildtools", "rt", "distribution", etc., as folders within
it), I get this error, which might be indicating I'm running it from the
wrong location:

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.


Thanks,
Glen

[1] http://cwiki.apache.org/confluence/display/CXF/Building