maven jetty plugin

29 views
Skip to first unread message

fshahy

unread,
Nov 14, 2009, 10:58:39 AM11/14/09
to cometd-users
hi
I have checked out the cometd source and tried to build it.
I followed the instructions from http://cometd.org/documentation/primer

but when I try the command
$ mvn install jetty:run

I get the following error:

Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Nov 14 16:53:46 CET 2009
[INFO] Final Memory: 2M/504M
[INFO]
------------------------------------------------------------------------

I have set JAVA_HOME but it gives warning about it.
I tried to download the maven-jetty-plugin but could not find it.
can you tell me what the problem is?

best regards
Farid Shahy

Simone Bordet

unread,
Nov 14, 2009, 11:08:59 AM11/14/09
to cometd...@googlegroups.com
Hi,
From which directory you issue the command ?

Simon
--
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless. Victoria Livschitz

fshahy

unread,
Nov 14, 2009, 11:17:49 AM11/14/09
to cometd-users
hi Simon

thank you for quick response.
I am in /tmp/cometd/tags/cometd-1.0.0rc0, logged as root running on
Ubuntu 9.10
apache-mavaen-2.1.0 and jetty-highitde-7.0.0.v20091005
I hope it helps.


On Nov 14, 5:08 pm, Simone Bordet <simone.bor...@gmail.com> wrote:
> Hi,
>
>
>
> On Sat, Nov 14, 2009 at 16:58, fshahy <fsh...@gmail.com> wrote:
> > hi
> > I have checked out the cometd source and tried to build it.
> > I followed the instructions  fromhttp://cometd.org/documentation/primer
> --http://bordet.blogspot.com

Simone Bordet

unread,
Nov 14, 2009, 5:39:10 PM11/14/09
to cometd...@googlegroups.com
Hi,

On Sat, Nov 14, 2009 at 17:17, fshahy <fsh...@gmail.com> wrote:
> hi Simon
>
> thank you for quick response.
> I am in /tmp/cometd/tags/cometd-1.0.0rc0, logged as root running on
> Ubuntu 9.10
> apache-mavaen-2.1.0 and jetty-highitde-7.0.0.v20091005
> I hope it helps.

The primer shows you how to create a project from Maven archetypes.

You are trying to build from the sources.

Read http://cometd.org/documentation/building to build the sources.

Simon
--
Reply all
Reply to author
Forward
0 new messages