Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] two m2e problem: "unicode output" and "new project from archetype".

Can you please open separate bug reports at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=m2e?

On Thu, Nov 22, 2012 at 4:44 PM, Kai <parahexen@xxxxxxxxx> wrote:


Hi guys,

I met two trouble here:

Environment:
OS X 10.8.2
Windows XP SP3
Eclipse classic 4.2.1
m2e  1.2.0.20120903-1050 / 1.3.0.20121023-1108

1. the "m2e maven console" cannot output unicode characters correctly when involving "Maven test" command.

"mvn test" - directly "Maven test" - m2e exec:java mainClass - m2e
(system console)  (eclipse console) (skipping testClass)
windows OK OK OK
os x OK FAIL OK

the only fail is when running test from m2e, then the m2e maven console outputs ??? instead of real unicode chars, and I've confirmed this is not concerned with font settings, and it only appears under os x.

ERROR:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.chimai.maven.helloworld.AppTest
23:30:31.336 [main] INFO  org.chimai.maven.helloworld.App - hello, world
23:30:31.341 [main] INFO  org.chimai.maven.helloworld.App - ?? | ??? | English
?? | ??? | English

SHOULD BE:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.chimai.maven.helloworld.AppTest
23:31:30.511 [main] INFO  org.chimai.maven.helloworld.App - hello, world
23:31:30.515 [main] INFO  org.chimai.maven.helloworld.App - 中文 | 日本語 | English
中文 | 日本語 | English

2. this is the most annoy one - "The defined artifact is not an archetype".
I think it's an old problem but still exists even in m2e 1.3.0-snapshot.

mvn archetype:generate new project
(system console) (eclipse m2e)
windows OK FAIL
os x OK FAIL

I did a little research, it maybe concern with "maven-archetype" especially its child "archetype-common".
its version is always 2.0-alpha-4 even in m2e 1.3.0-snapshot, meanwhile the newest version is 2.2.
and I cannot even reconstructive the 2.0-alpha-4 project from the svn, its source code is different from:
archetype-common-2.0-alpha-4-sources.jar

ATTACHMENT:
it included sample projects to reproduce above 2 problems, easy and clear.

Hope solve it soon.

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top