Re: mvn jetty home?

2009-02-16 Thread Deron Eriksson

There is a configuration guide here that can probably answer your questions:
http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin


You should be able to use the plugin by adding it to the
build->plugins->plugin section of your project's pom.xml, like:

   org.mortbay.jetty
   jetty-maven-plugin
   7.0.0.pre5


Versions of the plugin before 7 apparently use maven-jetty-plugin as the
artifact rather than jetty-maven-plugin:

   org.mortbay.jetty
   maven-jetty-plugin
   6.1.14


The configuration guide describes configuration/execution of the various
goals.

Good luck,
Deron Eriksson
Code Strategies

-- 
View this message in context: 
http://www.nabble.com/Maven-using-old-snapshot-poms--tp21977241p22048668.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: mvn jetty home?

2009-02-16 Thread Lee Meador
Try http://jetty.mortbay.com/jetty/maven-plugin/

-- Lee

On Fri, Feb 13, 2009 at 7:51 AM, Lee Goddard  wrote:

> Could someone please point me to the Maven Jetty home and/or help me
> istall it?
>
> http://mojo.codehaus.org/jetty-maven-plugin/index.html says little, but
> when I follow those few instructions, I get the below error.
>
> Also,it refers to the deprecated "m2" command - is Jetty alive and well
> or should I be using something else?
>
> Thanks in anticipation
> Lee
>
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'jetty'.
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.codehaus.mojo:jetty-maven-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: Fri Feb 13 13:49:27 GMT 2009
> [INFO] Final Memory: 4M/254M
> [INFO]
> 
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


mvn jetty home?

2009-02-13 Thread Lee Goddard
Could someone please point me to the Maven Jetty home and/or help me
istall it?

http://mojo.codehaus.org/jetty-maven-plugin/index.html says little, but
when I follow those few instructions, I get the below error.

Also,it refers to the deprecated "m2" command - is Jetty alive and well
or should I be using something else?

Thanks in anticipation
Lee


[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.codehaus.mojo:jetty-maven-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: Fri Feb 13 13:49:27 GMT 2009
[INFO] Final Memory: 4M/254M
[INFO]


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


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