Can't combine private and public projects in single organization with paid plan

We are on paid plan and scanning single private project. Now, we need to add another project, this time public one. Created it in “Projects Management” section and then followed instructions for maven build, i.e. added “-Dsonar.organization”, “-Dsonar.host.url”, “-Dsonar.login” parameters. After running the sonar:sonar goal we got another private project in sonarcloud with same name as newly created public.

Is there specific parameter for sonar:sonar goal to publish results to the public project or am I missed something in project config?

Thanks

1 Like

Hi,

Once you’re on a paid plan, your projects are private by default.
You can easily change the visibility of a project to public by going on Administration> Permissions and click on Public

You can find specific documentation on organization visibility here: https://sonarcloud.io/documentation/organizations/organization-visibility

1 Like

Thanks, works perfect now