Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Made groupId validation consistent with maven specification (related …
Browse files Browse the repository at this point in the history
…to BZ-1169622).
  • Loading branch information
jrenaat committed Jan 19, 2015
1 parent 07dd3b3 commit 3f2eb92
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -272,7 +272,7 @@ public boolean isValidGroupId( String groupId ) {
if ( groupId == null || "".equals( groupId.trim() ) ) return false;
final String[] groupIdComponents = groupId.split( "\\.", -1 );
for ( String s : groupIdComponents ) {
if ( !ValidationUtils.isJavaIdentifier( s ) ) return false;
if ( !ValidationUtils.isArtifactIdentifier( s ) ) return false;
}
return true;
}
Expand Down

0 comments on commit 3f2eb92

Please sign in to comment.