我有大量的项目,在他们的pom.xml中有相同的URL:
https://github.com/malkusch/${project.artifactId} scm:git:git://github.com/malkusch/${project.artifactId}.git scm:git:git@github.com:malkusch/${project.artifactId}.git https://github.com/malkusch/${project.artifactId} github https://github.com/malkusch/${project.artifactId}/issues
所以我认为把它放到父pom.xml中是一个好主意.但有效的pom会产生奇怪的$ {project.artifactId}:
de.malkusch.parent oss-parent 1.1-SNAPSHOT de.malkusch.localized localized https://github.com/malkusch/localized/localized scm:git:git://github.com/malkusch/localized.git/localized scm:git:git@github.com:malkusch/localized.git/localized https://github.com/malkusch/localized/localized github https://github.com/malkusch/localized/issues
您注意到只有issueManagement.url已正确解析.其他的都很奇怪,特别是$ {project.artifactId} .git - > localized.git/localized.我正在使用Maven 3.0.4.我使用了一些未定义的功能吗?这是一个错误吗?