フォーラム

ホーム » Liferay Portal » English » 6. Portal Framework

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Laurent C
Liferay, Junit and Maven.
2013/02/25 10:18
答え

Laurent C

ランク: New Member

投稿: 6

参加年月日: 2012/10/17

最近の投稿

Hi everybody,

I try to make unit tests on my portlet. I work on 6.1.1-GA2 with the maven plugin.
I can't use InitUtil.iniWithSpring() to run my tests.

Is it somebody that already write test with maven?

thanks for help.
David H Nebinger
RE: Liferay, Junit and Maven.
2013/02/25 10:57
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 11511

参加年月日: 2006/09/01

最近の投稿

Maven support is still not official.

If you are doing anything with maven, you are a maven support tester. In this role, you would be testing the code, finding bugs, and reporting those bugs to Jira.

If you are not in this role, you should not be using maven until it is officially supported.
Laurent C
RE: Liferay, Junit and Maven.
2013/02/25 13:08
答え

Laurent C

ランク: New Member

投稿: 6

参加年月日: 2012/10/17

最近の投稿

Hi, dear David.

In my post I ask for help, not this kind of answer.

So thanks David for your helpless.
David H Nebinger
RE: Liferay, Junit and Maven.
2013/02/25 14:00
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 11511

参加年月日: 2006/09/01

最近の投稿

It wasn't meant to be helpless, it was meant to point out that maven support is not yet ready for prime time.

Lots of folks have been posting about liferay and maven, and I consistently point out to them that it is not ready.

Not trying to be mean or anything, but until maven is officially supported any answer you get (if there is one) would be unofficial at best and likely to change when maven is officially supported.

I too am looking forward to using maven to build plugins, but until it's officially supported I'm sticking w/ the tried and true ant process.
Laurent C
RE: Liferay, Junit and Maven.
2013/02/26 2:46
答え

Laurent C

ランク: New Member

投稿: 6

参加年月日: 2012/10/17

最近の投稿

Dear David,

it does not matter if the answer I get is not official or is likely to change later. I am looking for help on this topic and your answer leads me not.
The use of ant is certainly honed, but we do not use it, we use maven.

I did not ask if maven was supported, so I do not think your answer is very appropriate.

Thank you.