我正在尝试使用带有grails 2.4的“db-reverse-engineer:0.5”插件。
我在BuildConfig中为运行时添加了“:db-reverse-engineer:0.5”。以下是相关条目:
grails.project.dependency.resolver = "maven"
dependencies {
runtime ':db-reverse-engineer:0.5'
runtime 'mysql:mysql-connector-java:5.1.29'
}
但我得到错误:
java.lang.IllegalArgumentException: Bad artifact coordinates :db-reverse-engineer:0.5, expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
Error |
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:68)
Error |
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:51)
Error |