public ModuleDependency(String groupId, String artifactId, String version, String scope, String type, String classifier, boolean plugin) { this.groupId = intern(groupId); this.artifactId = intern(artifactId); if(version==null) this.version = UNKNOWN; else this.version = intern(version); this.plugin = plugin; this.type = intern(type); this.scope = intern(scope); this.classifier = intern(classifier); }