Skip to content

Commit

Permalink
BZ-1169622: set default group id on new project creation.
Browse files Browse the repository at this point in the history
(cherry-picked from 91a51cd)
  • Loading branch information
jrenaat committed Jan 19, 2015
1 parent 3b45ac3 commit 30c9f90
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -106,6 +106,7 @@ public void setContent( final String projectName ) {
// hence package names, it is sanitized in the ProjectService.newProject() method.
pom = new POM();
pom.setName( projectName );
pom.getGav().setGroupId( context.getActiveOrganizationalUnit().getDefaultGroupId() );
pom.getGav().setArtifactId( sanitizeProjectName( projectName ) );
pom.getGav().setVersion( "1.0" );
gavWizardPage.setPom( pom );
Expand Down

0 comments on commit 30c9f90

Please sign in to comment.