When I configure my Task and run, it says no goal has been specified, where do I specify the goal?
build 18-May-2015 11:35:48 [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]
From the documentation, it says the following, however I don't see this tick box described in the Sonar Maven 3 task.
sonar.maven-plugin. This will cause the Task to configure the
sonar:sonargoal instead of the
1.0for Maven 2.x and
2.0for Maven 3.x.
I think I have misunderstood what the plug-in does. I thought it was used to replace the Maven Task, so I didn't define the goals there (and was wondering where I should define it). In fact, it should be a task that added to existing plan, so the Sonar badge comes up on the build result page, is that right?
Could you please specify which documentation you are referring to?
Concerning the error: This error is yielded by Maven when no goals are specified. In the case of Sonar for Bamboo's Maven 3 Task, it should use "sonar:sonar" as the goal. Could you please attach a screenshot of your Sonar for Bamboo Maven task configuration? This would greatly help to resolve this issue.
Michael (author of the plug-in)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG