Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-674

Port configuration not honored by maven-site-plugin 3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.2
    • None
    • site:run
    • None

    Description

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

      <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>
      
      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patrick.crocker@gmail.com Patrick Crocker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: