please post your entire POM; you don't have to tell the compiler much, but
this just reads like you might be missing dependency blocks


On Wed, May 26, 2010 at 1:46 PM, Meeusen, Christopher W. <
[email protected]> wrote:

> Yes, that did the trick, now new errors though.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project wsaxisM: Compilation failure: Compilation
> failure:
> C:\my_clearcase_views\m042872_view\MICS-Team\DIOS\Web
> Service\wsaxis2_m\src\main\java\com\gehc\ce\ws\GEHCUtils.java:[5,31] package
> org.apache.axis2.context does not exist
>
> C:\my_clearcase_views\m042872_view\MICS-Team\DIOS\Web
> Service\wsaxis2_m\src\main\java\com\gehc\ce\ws\GEHCUtils.java:[7,33] package
> com.idx.carecast.ca.common does not exist
>
> Getting a bunch of these.  Do I have to configure the compiler plugin and
> explicitly tell it to use the .jars referenced in my build path?
>
> Thanks,
> Chris
>
> -----Original Message-----
> From: 
> users-return-111617-meeusen.christopher=mayo....@maven.apache.org[mailto:
> users-return-111617-meeusen.christopher=mayo....@maven.apache.org] On
> Behalf Of fradj zayen
> Sent: Wednesday, May 26, 2010 12:37 PM
> To: Maven Users List
> Subject: Re: newbie question
>
> hi Chris,
> I think you didnt't properly configured the compiler plugin.
> below an extract pom.xml file
>
> <build>
> ...
> <plugins>
> ..
>  <plugin>
>        <artifactId>maven-compiler-plugin</artifactId>
>        <configuration>
>          <source>1.5</source>
>          <target>1.5</target>
>        </configuration>
>      </plugin>
>
> </plugins>
> </build>
>
> Regards
>
> 2010/5/26 Meeusen, Christopher W. <[email protected]>
>
> > Hi,
> >
> >
> >
> > I'm brand new to maven, read through a few books, and built a simple
> > maven project to produce a .jar.  I've installed the m2ecplipse pugin
> > and have got it to work properly on a few simple projects.  Now I'm
> > having an issue when I try to build a more complex project, which
> > requires at least java 1.5 (because it uses enums and other things).
> > When I build my project I get a clean build, however when I try to do
> > Run As > Maven package I get the following errors in the console:
> >
> >
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> > (default-compile) on project wsaxisM: Compilation failure: Compilation
> > failure:
> >
> > C:\my_clearcase_views\m042872_view\MICS-Team\DIOS\Web
> > Service\wsaxis2_m\src\main\java\edu\mayo\util\VTInfoType.java:[10,7]
> > enums are not supported in -source 1.3
> >
> > (use -source 5 or higher to enable enums)
> >
> > public enum VTInfoType
> >
> >
> >
> > I get similar errors for annotations and generics.  Anyone know what
> > might be going on?  Please help a maven newb!
> >
> >
> >
> > Thanks,
> >
> > Chris
> >
> >
>
>
> --
> Zayen Fradj
> Ingénieur Informaticien
> Sun Certified Programmer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to