载行

A Student

maven3+hudson遇到的一则失败

实验作业要求的是maven+svn+hudson

我在Ubuntu上安装了maven3+hudson后,设置新工作的maven目录找不到,进而一直构建失败

换maven2是不可能的…

后来还是解决了。要点是新建工作时选择类型的时候,不选择内置的 Maven 2/3 project (Legacy)

This feature has numerous issues with the use of different Maven versions, and it is especially problematic when building a project with Maven 3

而是free-style型,再进行后续配置。

具体步骤参见

http://www.eclipse.org/hudson/the-hudson-book/book-hudson.chunked/ch06.html

http://www.eclipse.org/hudson/the-hudson-book/book-hudson.chunked/ch07.html

彩蛋

最后写报告的时候,我发现这是又一个陷阱,因为后面配置的部分,老师给的示范截图其实就free-style类型的界面;不过新建时选择类型那一步故意没有截图和告诉我们选择什么类型

另外

自用还是Jenkins吧,Hudson搜到的中文博文几乎都是2015前的

Next Post

Previous Post

Leave a Reply

© 2024 载行

Theme by Anders Norén