maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1403569 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
Date Mon, 29 Oct 2012 22:42:37 GMT
Author: olamy
Date: Mon Oct 29 22:42:37 2012
New Revision: 1403569

URL: http://svn.apache.org/viewvc?rev=1403569&view=rev
Log:
[MSITE-662] jetty listens on port 0.

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java?rev=1403569&r1=1403568&r2=1403569&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
Mon Oct 29 22:42:37 2012
@@ -69,8 +69,8 @@ public class SiteRunMojo
     /**
      * The port to execute the HTTP server on.
      *
-     * @parameter expression="${port}" default-value="8080"
      */
+    @Parameter(property = "port", defaultValue = "8080")
     private int port;
 
     private static final int MAX_IDLE_TIME = 30000;



Mime
View raw message