2008/10/24 Mark Struberg <[EMAIL PROTECTED]>:
> To give Kent an example:
>
> Consider a pom for building a WAR.
> If you set
>
> <finalName>mycontextpath</finalName>
>
> and use e.g. the jetty plugin to start your webserver in 1 go:
>
> $> mvn package jetty:run
>
> Then your finalName is being used for 'deployment' and you may access your 
> webapp via
>
> http://localhost:8080/mycontextpath/

BTW, the Jetty plugin uses the project's artifact id for its context path :)

> which may then automatically be regression tested via Canoo, etc without 
> having to type http://localhost:8080/mygroup_id.myartifact_id-2.5.3-SNAPSHOT/ 
> and change the version every time.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to