Can't run mvn clean clover2:setup test clover2:aggregate clover2:clover

427 views
Skip to first unread message

leo8...@gmail.com

unread,
Jan 11, 2017, 10:17:45 AM1/11/17
to Saiku Dev
I have taken lates source code from github for saiku and executed

mvn clean install -DskipTests

successfully and I have added below entry in saiku-master's pom.xml


 
<plugin>
   
<groupId>com.atlassian.maven.plugins</groupId>
   
<artifactId>maven-clover2-plugin</artifactId>
   
<configuration>
     
<licenseLocation>/home/ist/saiku/saiku-master/license_ist-407.lic</licenseLocation>
   
</configuration>
   
<executions>
     
<execution>
       
<phase>pre-site</phase>
       
<goals>
         
<goal>instrument</goal>
 
             </goals>
     </execution>
   
</executions>
 
</plugin>



While executing  

mvn clean clover2:setup test clover2:aggregate clover2:clover

I am getting below error 

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Saiku Module Project
[INFO] saiku - core libraries
[INFO] saiku olap util
[INFO] saiku - services
[INFO] saiku - web
[INFO] saiku-ui
[INFO] saiku - webapp
[INFO] saiku-server
[INFO] saiku biserver plugin
[INFO] saiku biserver plugin
[INFO] saiku biserver plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Saiku Module Project 3.10
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ saiku ---
[INFO] 
[INFO] --- maven-clover2-plugin:4.0.6:setup (default-cli) @ saiku ---
[INFO] No Clover instrumentation done on source files in: [/home/ist/saiku/saiku-master/src/main/java] as no matching sources files found (JAVA_LANGUAGE)
[INFO] No Clover instrumentation done on source files in: [/home/ist/saiku/saiku-master/src/test/java] as no matching sources files found (JAVA_LANGUAGE)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building saiku - core libraries 3.10
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ saiku-core ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.4:clean (default) @ saiku-core ---
[INFO] 
[INFO] --- maven-clover2-plugin:4.0.6:setup (default-cli) @ saiku-core ---
[INFO] No Clover instrumentation done on source files in: [/home/ist/saiku/saiku-master/saiku-core/src/main/java] as no matching sources files found (JAVA_LANGUAGE)
[INFO] No Clover instrumentation done on source files in: [/home/ist/saiku/saiku-master/saiku-core/src/test/java] as no matching sources files found (JAVA_LANGUAGE)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building saiku olap util 3.10
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ saiku-olap-util ---
[INFO] Deleting /home/ist/saiku/saiku-master/saiku-core/saiku-olap-util/target
[INFO] 
[INFO] --- cobertura-maven-plugin:2.4:clean (default) @ saiku-olap-util ---
[INFO] 
[INFO] --- maven-clover2-plugin:4.0.6:setup (default-cli) @ saiku-olap-util ---
[INFO] Clover Version 4.0.6, built on September 18 2015 (build-964)
[INFO] Loaded from: /home/ist/m2Repo/com/atlassian/clover/clover/4.0.6/clover-4.0.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Saiku Module Project
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Saiku Module Project
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Saiku Module Project .............................. SUCCESS [3.221s]
[INFO] saiku - core libraries ............................ SUCCESS [0.473s]
[INFO] saiku olap util ................................... FAILURE [0.528s]
[INFO] saiku - services .................................. SKIPPED
[INFO] saiku - web ....................................... SKIPPED
[INFO] saiku-ui .......................................... SKIPPED
[INFO] saiku - webapp .................................... SKIPPED
[INFO] saiku-server ...................................... SKIPPED
[INFO] saiku biserver plugin ............................. SKIPPED
[INFO] saiku biserver plugin ............................. SKIPPED
[INFO] saiku biserver plugin ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.695s
[INFO] Finished at: Wed Jan 11 20:39:49 IST 2017
[INFO] Final Memory: 14M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-clover2-plugin:4.0.6:setup (default-cli) on project saiku-olap-util: Execution default-cli of goal com.atlassian.maven.plugins:maven-clover2-plugin:4.0.6:setup failed: Could NOT parse license type code: For input string: ",���Blw��B���ev�����‚���/�������57��-��B��������e�����񶨝s������tB�������������������1�����v��$6������‚��h ���‚1�q�6;�B����8w��B���h�킂 b�������‚�� �� �w‚wu�$�� �l��<hw � �B���‚g��¬6��D@" -> [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] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :saiku-olap-util



Please suggest what need to be corrected to complete saiku installation.
Reply all
Reply to author
Forward
0 new messages