Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-213

Building a non-Java project breaks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3
    • None
    • summary
    • None
    • Max OSX 10.6.5, Maven 3.0.1 (maven-site-plugin:3.0-beta-3)

    Description

      Building a non-Java project causes a build to fail with .../src/main/java does not exist.
      Eventually this is related to MPIR-212. Here Maven3 is used!!!

      -----------
      tahiti:TEST martin$ mvn3 clean site
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TEST 1.0
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-clean-plugin:2.4.1:clean (default-clean) @ TEST —
      [INFO] Deleting /Volumes/Data/Development/eclipse-3.6-workspace/TEST/target
      [INFO]
      [INFO] — maven-site-plugin:3.0-beta-3:site (default-site) @ TEST —
      [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3
      [WARNING] No URL defined for the project - decoration links will not be resolved
      [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
      [INFO] Generating "Project Summary" report — maven-project-info-reports-plugin:2.3
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.371s
      [INFO] Finished at: Tue Dec 14 21:17:04 CET 2010
      [INFO] Final Memory: 13M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project TEST: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site failed: basedir /Volumes/Data/Development/eclipse-3.6-workspace/TEST/src/main/java does not exist -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

      Attachments

        1. pom.xml
          1 kB
          Martin Ahrer

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              martinahrer Martin Ahrer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: