I removed what you said. I only found 1.5.0_07 and now I get this:


C:\pw-90>mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   prounlimited Core Artifact
[INFO] ----------------------------------------------------------------------------
[INFO] Building PrO Unlimited PW-90 Project
[INFO]    task-segment: [package]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] ----------------------------------------------------------------------------
[INFO] Building prounlimited Core Artifact
[INFO]    task-segment: [package]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 853 source files to C:\pw-90\core\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling

Embedded error: Error while executing the external compiler.
CreateProcess: CMD.EXE /X /C javac -d C:\pw-90\core\target\classes -classpath C:\pw-90\core\target\classes; C:\pw-90\core\src \main\java\com\prounlimited\dao\user\hibernate\PermissionHibernateDaoImpl.java C:\pw-90\core\src\main\java\com\prounlimited\d ao\billing\hibernate\InvoiceHibernateDaoImpl.java C:\pw-90\core\src\main\java\com\prounlimited\dao\requisition\RequisitionSou rcingBiddingEventDao.java C:\pw-90\core\src\main\java\com\prounlimited\WAND_PW\action\GetAllScreeningTypesAction.java C:\pw-9 0\core\src\main\java\com\prounlimited\dao\requisition\hibernate\RequisitionScheduleHibernateDaoImpl.java C:\pw-90\core\src\ma in\java\com\prounlimited\test\domain\client\ClientLocationTest.java C:\pw-90\core\src\main\java\com\prounlimited\WAND_PW\requ isition\Requisition.java C:\pw-90\core\src\main\java\com\prounlimited\test\domain\supplier\SupplierClientRFIAnswerTest.java C :\pw-90\core\src\main\java\com\prounlimited\service\caching\Cache.java C:\pw-90\core\src\main\java\com\prounlimited\test\doma
in\client\ClientTestCaseƶ
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306
)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:488) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
       ... 16 more
Caused by: org.codehaus.plexus.compiler.CompilerException: Error while executing the external compiler. at org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(JavacCompiler.java:330) at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:132) at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:483)
       ... 19 more
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:697) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:60) at org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(JavacCompiler.java:324)
       ... 21 more
Caused by: java.io.IOException: CreateProcess: CMD.EXE /X /C javac -d C:\pw-90\core\target\classes -classpath C:\pw-90\core\t arget\classes; C:\pw-90\core\src\main\java\com\prounlimited\dao\user\hibernate\PermissionHibernateDaoImpl.java C:\pw-90\core\ src\main\java\com\prounlimited\dao\billing\hibernate\InvoiceHibernateDaoImpl.java C:\pw-90\core\src\main\java\com\prounlimite d\dao\requisition\RequisitionSourcingBiddingEventDao.java C:\pw-90\core\src\main\java\com\prounlimited\WAND_PW\action\GetAllS creeningTypesAction.java C:\pw-90\core\src\main\java\com\prounlimited\dao\requisition\hibernate\RequisitionScheduleHibernateD aoImpl.java C:\pw-90\core\src\main\java\com\prounlimited\test\domain\client\ClientLocationTest.java C:\pw-90\core\src\main\ja va\com\prounlimited\WAND_PW\requisition\Requisition.java C:\pw-90\core\src\main\java\com\prounlimited\test\domain\supplier\Su pplierClientRFIAnswerTest.java C:\pw-90\core\src\main\java\com\prounlimited\service\caching\Cache.java C:\pw-90\core\src\main
\java\com\prounlimited\test\domain\client\ClientTestCaseƶ
       at java.lang.ProcessImpl.create(Native Method)
       at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
       at java.lang.ProcessImpl.start(ProcessImpl.java:30)
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
       at java.lang.Runtime.exec(Runtime.java:591)
at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:692)
       ... 24 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Jun 27 10:59:51 PDT 2006
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------

C:\pw-90>




---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---




From: "Allison, Bob" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <users@maven.apache.org>
To: "Maven Users List" <users@maven.apache.org>
Subject: RE: [m204] Error with compiler plugin with new project...
Date: Tue, 27 Jun 2006 10:20:12 -0500

[Snipped most of the message to shorten this reply...]

I am using Maven 2.0.4 with modules running Java 5.  I am not having any
problems.  One big difference I see between your POM and mine is that I
do not specify <compilerVersion> at all.  The one JDK on the machine is
1.5.0_05, so Maven is using it as well.

-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 17:14
To: users@maven.apache.org
Subject: Re: [m204] Error with compiler plugin with new project...


This issue is really PISSING me off now.
I have removed everything except a single <module> as I need touse
modules
with this. I have also tried:
<compilerVersion>1.5</compilerVersion>
                    <source>1.5</source>
                    <!--
                     - This should not be needed, but Maven throws an
exception
                     - if this is not specified when source=5:
                    -->
                    <target>1.5</target>


as well as


<compilerVersion>5</compilerVersion>
                    <source>5</source>
                    <!--
                     - This should not be needed, but Maven throws an
exception
                     - if this is not specified when source=5:
                    -->
                    <target>5</target>


Can someone please assist me on this.

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

---------------------------------------------------------------------
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