Issue Type: Bug Bug
Affects Versions: 2.1
Assignee: Simon Brandhof
Created: 22/Oct/13 8:06 AM
Description:

Sonar plugin fails if there're spaces in "sonar.branch":

[12:49:54]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] — sonar-maven-plugin:2.1:sonar (default-cli) @ parent —
[12:49:55]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] SonarQube version: 3.7.3
[12:49:56]: [com.xxxxxxxx.tcc.tcw:parent] Downloading: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven3-plugin/3.7.3/sonar-maven3-plugin-3.7.3.pom
[12:49:56]: [com.xxxxxxxx.tcc.tcw:parent] Downloaded: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven3-plugin/3.7.3/sonar-maven3-plugin-3.7.3.pom (814 B at 2.4 KB/sec)
[12:49:56]: [com.xxxxxxxx.tcc.tcw:parent] Downloading: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar/3.7.3/sonar-3.7.3.pom
[12:49:57]: [com.xxxxxxxx.tcc.tcw:parent] Downloaded: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar/3.7.3/sonar-3.7.3.pom (48 KB at 231.8 KB/sec)
[12:49:57]: [com.xxxxxxxx.tcc.tcw:parent] Downloading: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven-plugin/3.7.3/sonar-maven-plugin-3.7.3.pom
[12:49:57]: [com.xxxxxxxx.tcc.tcw:parent] Downloaded: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven-plugin/3.7.3/sonar-maven-plugin-3.7.3.pom (2 KB at 10.9 KB/sec)
[12:49:57]: [com.xxxxxxxx.tcc.tcw:parent] Downloading: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven-plugin/3.7.3/sonar-maven-plugin-3.7.3.jar
[12:49:57]: [com.xxxxxxxx.tcc.tcw:parent] Downloaded: http://tcw-repo/archiva/repository/all/org/codehaus/sonar/sonar-maven-plugin/3.7.3/sonar-maven-plugin-3.7.3.jar (8 KB at 14.3 KB/sec)
[12:50:01]: [com.xxxxxxxx.tcc.tcw:parent] INFO: Default locale: "en_GB", source code encoding: "Cp1252"
[12:50:01]: [com.xxxxxxxx.tcc.tcw:parent] INFO: Work directory: D:\TeamCity\Agent1\work\8d35dadae6aac510\target\sonar
[12:50:01]: [com.xxxxxxxx.tcc.tcw:parent] INFO: SonarQube Server 3.7.3
[12:50:10]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:10.859] Load batch settings
[12:50:11]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:11.031] User cache: C:\Documents and Settings\sysfiptcwdev\.sonar\cache
[12:50:11]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:11.047] Install plugins
[12:50:13]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:13.031] Download sonar-l10n-en-plugin-3.7.3.jar
[12:50:13]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:13.125] Download sonar-maven-batch-plugin-3.7.3.jar
[12:50:14]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:14.188] Download sonar-cpd-plugin-3.7.3.jar
[12:50:15]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:15.219] Download sonar-core-plugin-3.7.3.jar
[12:50:15]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:15.359] Download sonar-dbcleaner-plugin-3.7.3.jar
[12:50:15]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:15.781] Download sonar-design-plugin-3.7.3.jar
[12:50:16]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:16.141] Download sonar-email-notifications-plugin-3.7.3.jar
[12:50:16]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:16.797] Install JDBC driver
[12:50:16]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:16.813] Create JDBC datasource for jdbc:jtds:sqlserver://xxxxx
[12:50:21]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:21.344] Initializing Hibernate
[12:50:30]: [com.xxxxxxxx.tcc.tcw:parent] [INFO] [12:50:30.500] Load project settings
[12:50:30]: [com.xxxxxxxx.tcc.tcw:parent] [ERROR]
[12:50:30]: [com.xxxxxxxx.tcc.tcw:parent] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project parent: Can not execute SonarQube analysis
[12:50:31]: [Step 3/3] [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project parent: Can not execute SonarQube analysis: MojoExecutionException: IllegalArgumentException: Illegal character in query at index 90: http://tcw-build:9000/batch_bootstrap/properties?project=com.xxxxxxxx.tcc.tcw:parent:Cross Stream&dryRun=false -> [Help 1]

Project: Mojo's Sonar Maven Plugin
Priority: Major Major
Reporter: Alexey Yudichev
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to