I am working in checkstyle,
I am using Jenkins, Maven 3.0.4. Checkstyle Jenkins plugin not installed.
I have 1 parent and 6 child projects.
I added checkstyle maven plugin to parentproject, childproject1, childproject6
in Parent:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
</configuration>
</plugin>
</plugins>
</reporting>
in Child projects:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<configLocation>../parentProject/checkstyle.xml</configLocation>
</configuration>
</plugin>
</plugins>
</reporting>
I run clean site command in my Eclipe,
It gave everything perfect what i expected. ie it giving checkstyle report for those 3 projects only.
Same code i copied to Jenkins workspace(job and workspace already) created.
it not working any thing it is creating for last project even not for checkstyle, creating for normal site plugin. I am not able to understand why maven behavior is different for different locations even same version of it.
The log is:
In Jenkins output:
tarted by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace /opt/cibuild/.jenkins/workspace/Daily-myporjectModulesBuild-StaticAnalysis_New
Updating http://mysvnurl/childProject2 at revision '2013-09-27T03:49:04.800 +0000'
At revision 5020
WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.
Updating http://mysvnurl/childProject3 at revision '2013-09-27T03:49:04.800 +0000'
At revision 5020
WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.
Updating http://mysvnurl/childProject4 at revision '2013-09-27T03:49:04.800 +0000'
At revision 5020
WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.
Updating http://mysvnurl/childProject7 at revision '2013-09-27T03:49:04.800 +0000'
At revision 5020
WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.
no change for http://mysvnurl/childProject2 since the previous build
no change for http://mysvnurl/childProject3 since the previous build
no change for http://mysvnurl/childProject4 since the previous build
no change for http://mysvnurl/childProject7 since the previous build
Parsing POMs
[childProject2] $ /mycompany/software/jdk1.7.0_07/bin/java -cp /opt/cibuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/mycompany/software/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /mycompany/software/apache-maven-3.0.4 /opt/cibuild/.jenkins/war/WEB-INF/lib/remoting-2.23.jar /opt/cibuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 39163
<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f /opt/cibuild/.jenkins/workspace/Daily-myporjectModulesBuild-StaticAnalysis_New/childProject2/pom.xml clean site
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject2 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject2 ---
[INFO] Deleting /opt/cibuild/.jenkins/workspace/Daily-myporjectModulesBuild-StaticAnalysis_New/childProject2/target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject2 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[WARNING] The repository url 'http://repo.maven.apache.org/maven2' is invalid - Repository 'central2' will be blacklisted.
[CHECKSTYLE] No report found for mojo site
[JENKINS] Archiving site from /opt/cibuild/.jenkins/workspace/Daily-myporjectModulesBuild-StaticAnalysis_New/childProject2/target/site to /opt/cibuild/.jenkins/jobs/Daily-myporjectModulesBuild-StaticAnalysis_New/site
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.188s
[INFO] Finished at: Fri Sep 27 03:49:45 GMT 2013
[INFO] Final Memory: 20M/59M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving /opt/cibuild/.jenkins/workspace/Daily-myporjectModulesBuild-StaticAnalysis_New/childProject2/pom.xml to /opt/cibuild/.jenkins/jobs/Daily-myporjectModulesBuild-StaticAnalysis_New/modules/com.mycompany.mypro.services$childProject2/builds/2013-09-27_03-49-13/archive/com.mycompany.mypro.services/childProject2/1.5.0.0/childProject2-1.5.0.0.pom
Waiting for Jenkins to finish collecting data
channel stopped
Finished: SUCCESS
================================================================================================================================================
In Eclipse, output:
--------------------
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] parentProject
[INFO] childProject1
[INFO] childProject2
[INFO] childProject3
[INFO] childProject4
[INFO] childProject5
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building parentProject 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # parentProject ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\parentProject\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # parentProject ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Checkstyle" report --- maven-checkstyle-plugin:2.10
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO]
[INFO] There are 243 checkstyle errors.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Modules" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject1 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject1 ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\childProject1\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject1 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Checkstyle" report --- maven-checkstyle-plugin:2.10
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO]
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject2 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject2 ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\childProject2\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject2 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject3 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject3 ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\childProject3\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject3 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[WARNING] The repository url 'http://repository.springsource.com/maven/bundles/external' is invalid - Repository 'com.springsource.repository.bundles.external' will be blacklisted.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject4 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject4 ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\childProject4\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject4 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Checkstyle" report --- maven-checkstyle-plugin:2.10
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO]
[INFO] There are 3 checkstyle errors.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[WARNING] The repository url 'http://repository.springsource.com/maven/bundles/external' is invalid - Repository 'com.springsource.repository.bundles.external' will be blacklisted.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building childProject5 1.5.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # childProject5 ---
[INFO] Deleting C:\workspaces\sitesMapTrunk\childProject5\target
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # childProject5 ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[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.7
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Modules" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[WARNING] The repository url 'http://repository.springsource.com/maven/bundles/external' is invalid - Repository 'com.springsource.repository.bundles.external' will be blacklisted.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parentProject ..................................... SUCCESS [22.917s]
[INFO] childProject1 ..................................... SUCCESS [11.073s]
[INFO] childProject2 ....................................... SUCCESS [14.076s]
[INFO] childProject3 .................................... SUCCESS [34.339s]
[INFO] childProject4 ...................................... SUCCESS [29.662s]
[INFO] childProject5 .................................... SUCCESS [28.539s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:20.837s
[INFO] Finished at: Fri Sep 27 16:47:10 IST 2013
[INFO] Final Memory: 36M/449M
[INFO] ------------------------------------------------------------------------
I configure my svn project locations in different order instead of parent-child order.
Related
Apache Maven 3.5.2 - the pom.xml doesn't declare the surefire plugin explicitly, but the effective pom.xml shows 2.18.1
When I run 'mvn test' - it ends successfully, it doesn't say that it can't find any test cases, but there is no trace of the test cases. This is all I see:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building SpreadSheetUploadWeb 1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.fasterxml.jackson.core:jackson-databind:jar:1.9.10 is missing, no dependency information available
[WARNING] The POM for com.fasterxml.jackson.core:jackson-annotations:jar:1.9.10 is missing, no dependency information available
[WARNING] The POM for com.fasterxml.jackson.core:jackson-core:jar:1.9.10 is missing, no dependency information available
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # SpreadSheetUploadWeb ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 22 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # SpreadSheetUploadWeb ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # SpreadSheetUploadWeb ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # SpreadSheetUploadWeb ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) # SpreadSheetUploadWeb ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
My pom.xml has jar specified, and my test case is in:
c:/SpreadSheetUploadWeb/src/test/java/com/ibm/cio/cloud/cost/spreadsheet/dao/UnitTestJdbcCostSpreadsheetDAO.java
It works perfectly when I run test explicitly like this:
mvn surefire:test -Dtest=UnitTestJdbcCostSpreadsheetDAO.java
Why won't it run when I just run: mvn test ?
By default surefire search for files following this patterns:
**/Test*.java
**/*Test.java
**/*Tests.java
**/*TestCase.java
http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html
I'm trying to test this project: https://github.com/deglans/jenktest
but maven say that:
$ mvn clean install
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jenktest
[INFO] hello
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jenktest 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # jenktest ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # jenktest ---
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/pom.xml to /home/deglans/.m2/repository/io/github/deglans/jenktest/0.0.1-SNAPSHOT/jenktest-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # hello ---
[INFO] Deleting /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # hello ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # hello ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # hello ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /documenti/deglans/Programs/IdeaProjects/jenktest/hello/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # hello ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # hello ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # hello ---
[INFO] Building jar: /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/hello-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # hello ---
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/hello-0.0.1-SNAPSHOT.jar to /home/deglans/.m2/repository/io/github/deglans/hello/0.0.1-SNAPSHOT/hello-0.0.1-SNAPSHOT.jar
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/hello/pom.xml to /home/deglans/.m2/repository/io/github/deglans/hello/0.0.1-SNAPSHOT/hello-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jenktest ........................................... SUCCESS [ 0.449 s]
[INFO] hello .............................................. SUCCESS [ 1.715 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.360 s
[INFO] Finished at: 2017-12-16T11:41:59+01:00
[INFO] Final Memory: 14M/48M
[INFO] ------------------------------------------------------------------------
What is the warning and why maven completely skip the test phase?
The final purpose of this work is to test email jenkins feature, but for now I'm blocked by this problem...
Thanks
Summary
You need to either rename GreetingTests.java to GreetingTest.java, or update your maven-surefire-plugin. Updating surefire plugin can provide better pattern for inclusions of tests. You can declare it in project's parent POM ./pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<!-- ... -->
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Detail
What is the warning and why maven completely skip the test phase?
Maven didn't skip the test phase. Maven unit tests are executed by maven-surefire-plugin, and it has been triggered correctly:
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # hello ---
You need to rename your test to GreetingTests.java to GreetingTest.java. Because the surefire-plugin:2.12.4 does not recognize pattern *Tests.java, as documented here:
By default, the plugin will automatically include all test classes with the following wildcard patterns:
"**/Test*.java" - includes all of its subdirectories and all java
filenames that start with "Test".
"**/*Test.java" - includes all of its subdirectories and all java
filenames that end with "Test".
"**/*TestCase.java" - includes all of its subdirectories and all java
filenames that end with "TestCase".
I'm trying to create the Findbugs HTML report for the site reports. I finally got Findbugs to actually run (before it would skip) because I had to include the goal findbugs in the <build> phase under the find bugs report. However, the findbugs.html report is not being generated even though I have findbugs defined in my <reporting> section.
Here's my configuration for Findbugs:
<build>
<plugins>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<xmlOutput>true</xmlOutput>
</configuration>
<executions>
<execution>
<goals>
<goal>findbugs</goal>
</goals>
</execution>
</executions>
</plugin>
....
<plugins>
</build>
....
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<xmlOutput>true</xmlOutput>
<failOnError>false</failOnError>
<xmlOutput>true</xmlOutput>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
<reporting>
My execution looks like this:
$ mvn clean site
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building project 2.0.4
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # crypto ---
[INFO] Deleting target
[INFO]
[INFO] --- maven-site-plugin:3.3:site (default-site) # crypto ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.7
[INFO] configuring report plugin org.codehaus.mojo:findbugs-maven-plugin:2.5.2
[INFO] configuring report plugin org.apache.maven.plugins:maven-pmd-plugin:3.0.1
[INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:2.9.1
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9.1:aggregate (report:aggregate) # crypto >>>
[INFO]
[INFO] --- axis2-wsdl2code-maven-plugin:1.5.6:wsdl2code (default) # crypto ---
Retrieving document at 'src/main/wsdl/Tokenizer.wsdl'.
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) # crypto ---
[INFO] Source directory: target/generated-sources added.
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9.1:aggregate (report:aggregate) # crypto <<<
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9.1:test-aggregate (report:test-aggregate) # crypto >>>
[INFO]
[INFO] --- axis2-wsdl2code-maven-plugin:1.5.6:wsdl2code (default) # crypto ---
Retrieving document at 'src/main/wsdl/SafeNetTokenizer.wsdl'.
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) # crypto ---
[INFO] Source directory: /Users/david/workspace/KeyManagment-trunk/target/generated-sources added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # crypto ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/david/workspace/KeyManagment-trunk/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) # crypto ---
[INFO] Compiling 13 source files to /Users/david/workspace/KeyManagment-trunk/target/classes
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (default) # crypto ---
[INFO] Fork Value is true
[java] The following classes needed for analysis were missing:
[java] com.ingrian.internal.ilc.IngrianLogger
[java] com.ingrian.security.nae.NAESession
[java] com.ingrian.internal.config.Config
[java] com.ingrian.security.nae.NAEKey
[java] com.ingrian.security.nae.HmacSHA256
[java] com.ingrian.internal.xml.XMLException
[java] com.ingrian.security.nae.NAEAESCipher
[java] com.ingrian.security.nae.IngrianProvider
[java] Warnings generated: 310
[java] Missing classes: 8
[INFO] Done FindBugs Analysis....
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) # crypto ---
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9.1:test-aggregate (report:test-aggregate) # crypto <<<
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9.1:javadoc (report:javadoc) # crypto >>>
[INFO]
[INFO] --- axis2-wsdl2code-maven-plugin:1.5.6:wsdl2code (default) # crypto ---
Retrieving document at 'src/main/wsdl/SafeNetTokenizer.wsdl'.
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) # crypto ---
[INFO] Source directory: /Users/david/workspace/KeyManagment-trunk/target/generated-sources added.
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9.1:javadoc (report:javadoc) # crypto <<<
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9.1:test-javadoc (report:test-javadoc) # crypto >>>
[INFO]
[INFO] --- axis2-wsdl2code-maven-plugin:1.5.6:wsdl2code (default) # crypto ---
Retrieving document at 'src/main/wsdl/SafeNetTokenizer.wsdl'.
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) # crypto ---
[INFO] Source directory: /Users/david/workspace/KeyManagment-trunk/target/generated-sources added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # crypto ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/david/workspace/KeyManagment-trunk/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) # crypto ---
[INFO] Compiling 2 source files to /Users/david/workspace/KeyManagment-trunk/target/classes
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (default) # crypto ---
[INFO] Fork Value is true
[java] The following classes needed for analysis were missing:
[java] com.ingrian.internal.ilc.IngrianLogger
[java] com.ingrian.security.nae.NAESession
[java] com.ingrian.internal.config.Config
[java] com.ingrian.security.nae.NAEKey
[java] com.ingrian.security.nae.HmacSHA256
[java] com.ingrian.internal.xml.XMLException
[java] com.ingrian.security.nae.NAEAESCipher
[java] com.ingrian.security.nae.IngrianProvider
[java] Warnings generated: 310
[java] Missing classes: 8
[INFO] Done FindBugs Analysis....
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) # crypto ---
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9.1:test-javadoc (report:test-javadoc) # crypto <<<
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Skipped "JavaDocs" report, file "apidocs/index.html" already exists for the English version.
[INFO] Skipped "Test JavaDocs" report, file "testapidocs/index.html" already exists for the English version.
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.7
...
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.7
[INFO] Generating "CPD Report" report --- maven-pmd-plugin:3.0.1
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "PMD Report" report --- maven-pmd-plugin:3.0.1
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "JavaDocs" report --- maven-javadoc-plugin:2.9.1
[INFO]
Loading source files for package com.ihotelier.crypto...
Loading source files for package com.safenet.tokenization.wsclient...
Constructing Javadoc information...
Standard Doclet version 1.7.0_13
Building tree for all the packages and classes...
Generating ...
4 warnings
[WARNING] Javadoc Warnings
[WARNING] ...
[INFO] Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in 1 files.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:30.831s
[INFO] Finished at: Tue Nov 05 14:02:04 EST 2013
[INFO] Final Memory: 40M/115M
[INFO] ------------------------------------------------------------------------
I see findbugs being configured in the beginning of my execution under the maven-site-plugin. I see Findbugs executing (twice!) after maven-compiler-plugin runs. (I may change the goal to process-classes to prevent this double execution. I see 8 errors, but we don't really use those classes. (I need to figure out how to skip over these classes).
Near the end of the build, I see the PMD and CPD Reports being generated (Generating "CPD Report" report), but not Findbugs.
When I look at the build results, I see target/findbugs.xml and target/findbugsXML.xml, but nothing under target/site.
Sorry for the excessive output. I want to make sure I wasn't skipping anything important.
Shows you what I know about Maven. Two things I discovered:
Running site does not execute package (although compile does run -- probably because it's needed for some of the reports).
Findbugs cannot produce a site report unless the package is done first.
I moved findbugs plugin to run in the package phase, so it doesn't run twice, and everything now seems fine.
I think it's similar to the surefire reports issues, so try adding the site plugin to the <pluginManagement> section:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
</plugin>
</plugins>
</pluginManagement>
I'm trying to build install hoop in ubuntu 12.04 following http://cloudera.github.com/hoop/docs/latest/ServerSetup.html, however, the problem came when the I was doing mvn clean package -Dmaven.test.skip=true site assembly:single, the default configuration of hoop is post bellow,
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.cloudera.hoop</groupId>
<artifactId>hoop-main</artifactId>
<version>0.1.0-SNAPSHOT</version>
<description>Hoop Main</description>
<name>Hoop Main</name>
<packaging>pom</packaging>
<url>http://github.com/cloudera/hoop</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<organization>
<name>Cloudera</name>
<url>http://www.cloudera.com</url>
</organization>
<scm>
<connection>scm:git:git#github.com:cloudera/hoop.git</connection>
<url>https://github.com/cloudera/hoop</url>
</scm>
<distributionManagement>
<repository>
<id>cdh.releases.repo</id>
<url>https://repository.cloudera.com/content/repositories/releases</url>
<name>CDH Releases Repository</name>
</repository>
<snapshotRepository>
<id>cdh.snapshots.repo</id>
<url>https://repository.cloudera.com/content/repositories/snapshots</url>
<name>CDH Snapshots Repository</name>
</snapshotRepository>
</distributionManagement>
<modules>
<module>hoop-project</module>
<module>hoop-testng</module>
<module>hoop-server</module>
<module>hoop-client</module>
<module>hoop-webapp</module>
<module>hoop-docs</module>
<module>hoop-distro</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.6</version>
</requireJavaVersion>
<requireOS>
<family>unix</family>
</requireOS>
</rules>
</configuration>
<executions>
<execution>
<id>clean</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>pre-clean</phase>
</execution>
<execution>
<id>default</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>validate</phase>
</execution>
<execution>
<id>site</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>pre-site</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>post-site</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>false</attach>
<descriptors>
<descriptor>maven/assembly-empty.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
and the output is paste bellow,
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hoop Project POM
[INFO] Hoop TestNG
[INFO] Hoop Server
[INFO] Hoop WebApp
[INFO] Hoop Client
[INFO] Hoop Docs
[INFO] Hoop Distro
[INFO] Hoop Main
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Project POM 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (clean) # hoop-project ---
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-project ---
[INFO] Deleting file set: /home/pc/hoop/hoop-project/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) # hoop-project ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (site) # hoop-project ---
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-project ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-project ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop TestNG 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-testng ---
[INFO] Deleting file set: /home/pc/hoop/hoop-testng/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-testng ---
[INFO] Compiling 4 source files to /home/pc/hoop/hoop-testng/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-testng/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-testng ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-testng ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-testng ---
[INFO] Building jar: /home/pc/hoop/hoop-testng/target/hoop-testng-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-testng ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-testng
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-testng ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Server 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-server ---
[INFO] Deleting file set: /home/pc/hoop/hoop-server/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-server ---
[INFO] Compiling 79 source files to /home/pc/hoop/hoop-server/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-server ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-server ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-server ---
[INFO] Building jar: /home/pc/hoop/hoop-server/target/hoop-server-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-server ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-server
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[WARNING] The repository url 'http://repository.codehaus.org/' is invalid - Repository 'Codehaus repository' will be blacklisted.
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] >>> maven-javadoc-plugin:2.7:javadoc (default) # hoop-server >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:2.7:javadoc (default) # hoop-server <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.7:javadoc (default) # hoop-server ---
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-testng:jar:0.1.0-SNAPSHOT'. Trying to invoke it...
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-docs:jar:0.1.0-SNAPSHOT'. Trying to invoke it...
[ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: /home/pc/hoop/hoop-server/target/invoker/maven-javadoc-plugin1321551293.txt
[ERROR] Error fetching link: /home/pc/hoop/hoop-webapp/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-docs/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-distro/target/site/apidocs/package-list. Ignored it.
[INFO]
5 warnings
[WARNING] Javadoc Warnings
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/server/Server.java:684: warning - #return tag has no arguments.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/server/Server.java:256: warning - Tag #link: can't find serverStatusChange(Status, Status) in com.cloudera.lib.server.Service
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/lang/RunnableCallable.java:68: warning - #return tag cannot be used in method with void return type.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/hoop/FsPathParam.java:41: warning - #returns is an unknown tag.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/hoop/Hoop.java:455: warning - #param argument "override," is not a parameter name.
[INFO]
[INFO] --- maven-project-info-reports-plugin:2.3.1:dependencies (default) # hoop-server ---
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-server ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop WebApp 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-webapp ---
[INFO] Deleting file set: /home/pc/hoop/hoop-webapp/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-webapp/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-webapp/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-webapp ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-webapp ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1:war (default-war) # hoop-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [hoop-webapp] in [/home/pc/hoop/hoop-webapp/target/hoop-webapp-0.1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/pc/hoop/hoop-webapp/src/main/webapp]
[INFO] Webapp assembled in [52 msecs]
[INFO] Building war: /home/pc/hoop/hoop-webapp/target/hoop-webapp-0.1.0-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-webapp ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-webapp
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[WARNING] The repository url 'http://www.datanucleus.org/downloads/maven2' is invalid - Repository 'datanucleus' will be blacklisted.
[WARNING] The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid - Repository 'java.net' will be blacklisted.
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-webapp ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Client 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-client ---
[INFO] Deleting file set: /home/pc/hoop/hoop-client/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-client/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-client ---
[INFO] Compiling 3 source files to /home/pc/hoop/hoop-client/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-client/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-client ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-client ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-client ---
[INFO] Building jar: /home/pc/hoop/hoop-client/target/hoop-client-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-client ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-client
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] >>> maven-javadoc-plugin:2.7:javadoc (default) # hoop-client >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:2.7:javadoc (default) # hoop-client <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.7:javadoc (default) # hoop-client ---
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-webapp:war:0.1.0-SNAPSHOT'. Trying to invoke it...
[ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: /home/pc/hoop/hoop-client/target/invoker/maven-javadoc-plugin395037384.txt
[ERROR] Error fetching link: /home/pc/hoop/hoop-webapp/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-docs/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-distro/target/site/apidocs/package-list. Ignored it.
[INFO]
[INFO] --- maven-project-info-reports-plugin:2.3.1:dependencies (default) # hoop-client ---
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-client ---
[INFO] Reading assembly descriptor: maven/assembly-hoop-client.xml
[INFO] Copying files to /home/pc/hoop/hoop-client/target/hoop-client-lib
[WARNING] Assembly file: /home/pc/hoop/hoop-client/target/hoop-client-lib is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Docs 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-docs ---
[INFO] Deleting file set: /home/pc/hoop/hoop-docs/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-docs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-docs/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-docs ---
[INFO] Compiling 1 source file to /home/pc/hoop/hoop-docs/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-docs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-docs/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-docs ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-docs ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-docs ---
[INFO] Building jar: /home/pc/hoop/hoop-docs/target/hoop-docs-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-docs ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-docs
[INFO] Rendering site with org.apache.maven.skins:maven-stylus-skin:jar:1.2 skin.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hoop Project POM .................................. SUCCESS [7.496s]
[INFO] Hoop TestNG ....................................... SUCCESS [3:19.250s]
[INFO] Hoop Server ....................................... SUCCESS [4:11.171s]
[INFO] Hoop WebApp ....................................... SUCCESS [1:52.368s]
[INFO] Hoop Client ....................................... SUCCESS [4:30.761s]
[INFO] Hoop Docs ......................................... FAILURE [0.509s]
[INFO] Hoop Distro ....................................... SKIPPED
[INFO] Hoop Main ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:02.178s
[INFO] Finished at: Tue Jun 05 17:45:37 CST 2012
[INFO] Final Memory: 53M/724M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project hoop-docs: Error during site generation: error in opening zip file -> [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 possib
Our project team would like to switch from ant to maven for our build and CI so I'm getting to grips with it by following the Sonatype "Maven By Example" book.
I'm using m2e, with the internal maven that m2e installs.
I've created a project using the maven-archetype-quickstart and have not modified it in any way. It builds just fine, however when I run as.. with goal "site" nothing is produced in my project's target folder, or anywhere else that I can find. Here's the output:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building quickstart 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:2.0.1:site (default-site) # quickstart ---
Downloading: http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default- skin/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml (370 B at 2.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.759s
[INFO] Finished at: Fri May 25 08:46:54 BST 2012
[INFO] Final Memory: 10M/110M
[INFO] ------------------------------------------------------------------------
Is this because I'm using the internal m2e maven? do I need to install maven separately?
First of all, from my experience, it is definitely good idea to use external Maven installation with m2e. I had some troubles (of other kind) with embedded Maven and I don't recommend using it.
Now about your problem: I don't know if it's m2e's embedded Maven or some kind of your mistake or misunderstanding, but I've just generated simple project using the same quickstart archetype and everything works ok. I have output like this:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building tester 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # tester ---
[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.4
[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] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.4
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.046s
[INFO] Finished at: Fri May 25 10:10:35 CEST 2012
[INFO] Final Memory: 9M/28M
[INFO] ------------------------------------------------------------------------
And - as expected - site is generated under target/site.