Anyone could help me please, 
I've just begun with maven and get stuck.

----- Original Message ----
From: Tung Nguyen <[EMAIL PROTECTED]>
To: users@maven.apache.org
Sent: Thursday, July 13, 2006 10:33:51 AM
Subject: [maven 2] "duplicate class" compilation error

Hi all,
I have another problem with M2: the compilation.
I once used the exec plug-in to compile my project 'cause it needed to be 
compiled with java 1.2. Now I can build my project with java 1.4. But to my 
surprise, in compiling a package, m2 told me that there're errors meanwhile 
when I do the compilation by the CLI, java did it well.

Compiling 140 source files to D:\O\perso\temp\maven\otacs\hswe\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\O\perso\temp\maven\otacs\hswe\src\main\java\com\gemplus\hsweCustom\TelefonicaMexico\AbsSS7AccessPoint.java:[18,0]
 dup
licate class: com.gemplus.hsweCustom.AbsSS7AccessPoint

D:\O\perso\temp\maven\otacs\hswe\src\main\java\com\gemplus\hsweCustom\prefixes\snmpCustom.java:[14,13]
 duplicate class:
com.gemplus.hsweCustom.snmpCustom
.........................................................

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
5)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)

.........................................................

Anyone can please tell me where I was wrong ???

Best regards.

Tung Nguyen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to