[ http://jira.codehaus.org/browse/MSITE-175?page=all ]

Dennis Lundberg closed MSITE-175.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Patch applied. Thanks!

> Log message shows wrong port number for site:run
> ------------------------------------------------
>
>                 Key: MSITE-175
>                 URL: http://jira.codehaus.org/browse/MSITE-175
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Wendy Smoak
>         Assigned To: Dennis Lundberg
>            Priority: Trivial
>             Fix For: 2.0
>
>
> mvn site:run -Dport=8123 works correctly, but the log message still says that 
> Jetty was started on 8080.
> The port number is hard coded in the log message on line 86 of SiteRunMojo:
> Index: src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
> ===================================================================
> --- src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java      
> (revision 428603)
> +++ src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java      
> (working copy)
> @@ -83,7 +83,7 @@
>          handlers[1] = notFoundHandler;
>          server.setHandlers( handlers );
>  
> -        getLog().info( "Starting Jetty on http://localhost:8080/"; );
> +        getLog().info( "Starting Jetty on http://localhost:"; + port + "/" );
>          try
>          {
>              server.start();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to