我用原型
建立了一个木兰项目mvn archetype:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/
构建之后我尝试在Spring Tool Suit中导入它时导入我在the pom.xml
中遇到以下错误:
Project build er:ror: Non-parseable POM /home/ruby/.m2/repository/info/magnolia/magnolia-parent-pom-ce/28/magnolia-parent-pom-ce-28.pom: end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8)
Project build error: Non-parseable POM /home/ruby/.m2/repository/info/magnolia/magnolia-parent-pom-ce/28/magnolia-parent-pom-ce-28.pom: end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8)**
虽然通过tomcat运行它也无法启动Magnolia,但是资源不可用。
答案 0 :(得分:0)
Magnolia的maven存储库仅在https上可用,但您将http指定为协议,因此301重定向和错误。