Patrick Crocker created MSITE-674:
-------------------------------------

             Summary: Port configuration not honored by maven-site-plugin 3.2
                 Key: MSITE-674
                 URL: https://jira.codehaus.org/browse/MSITE-674
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: site:run
    Affects Versions: 3.2
         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 01:44:56-0700)
Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.0.4
Java version: 1.6.0_38, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_38\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Patrick Crocker


maven-site-plugin 3.2 does not honor custom port number configuration either 
through pom.xml configuration or command-line:

{code:xml}
<project>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.2</version>
        <configuration>
          <port>9001</port>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
{code}

{noformat}
C:\myproject> mvn site:run -Dport=9001
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-site-plugin:3.2:run (default-cli) @ site ---
2012-12-31 14:36:10.618:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
[WARNING] Report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.6
[WARNING] Report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.6
[INFO] Relativizing decoration links with respect to project URL: 
http://maven.apache.org/
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 
skin.
[INFO] Skipped "About" report, file "index.html" already exists for the English 
version.
[INFO] Relativizing decoration links with respect to project URL: 
http://maven.apache.org/
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 
skin.
[INFO] Starting Jetty on http://localhost:0/
2012-12-31 14:36:11.546:INFO::jetty-6.1.25
2012-12-31 14:36:11.661:INFO::NO JSP Support for /, did not find 
org.apache.jasper.servlet.JspServlet
2012-12-31 14:36:11.954:INFO::Started SelectChannelConnector@0.0.0.0:54336
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to