public static Artifact withGroupId ( String groupId ) { Artifact artifact = new Artifact ( ) ; artifact . groupId = new RegexParameterizedPatternParser ( groupId ) ; return artifact ; }
Start with specifying the groupId