Building a non-Java project breaks
----------------------------------

                 Key: MPIR-213
                 URL: http://jira.codehaus.org/browse/MPIR-213
             Project: Maven 2.x Project Info Reports Plugin
          Issue Type: Bug
          Components: summary
    Affects Versions: 2.3
         Environment: Max OSX 10.6.5, Maven 3.0.1 (maven-site-plugin:3.0-beta-3)
            Reporter: Martin Ahrer
         Attachments: pom.xml

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


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