You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by am...@gmail.com on 2009/03/03 09:35:36 UTC

Compilation problem with maven

Hi there,

I get a error while compilation with maven, I am using maven version 2.0.10

here is the maven compiler config I have

<plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                    </configuration>
  </plugin>

during compile error I get it is

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/foodlab/remote/ikan/shoppingcart/package-info.java:[1,49]
package annotations should be in file package-info.java

d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/webservices/foodlab/client/package-info.java:[1,49]
package annotations should be in file package-info.java

I dint get much of help browsing internet, can someone help me fix this.

thanks in advance
-- 
Amar Sannaik | Senior Engineer

RE: Compilation problem with maven

Posted by Jon Georg Berentsen <Jo...@Objectware.no>.
That's not a maven error.
It's the java compiler telling you there is a compilation error in your
code.

Jon

-----Original Message-----
From: amar.sannaik@gmail.com [mailto:amar.sannaik@gmail.com] 
Sent: 3. mars 2009 09:36
To: users@maven.apache.org
Subject: Compilation problem with maven

Hi there,

I get a error while compilation with maven, I am using maven version
2.0.10

here is the maven compiler config I have

<plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                    </configuration>
  </plugin>

during compile error I get it is

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/foodlab/r
emote/ikan/shoppingcart/package-info.java:[1,49]
package annotations should be in file package-info.java

d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/webservic
es/foodlab/client/package-info.java:[1,49]
package annotations should be in file package-info.java

I dint get much of help browsing internet, can someone help me fix this.

thanks in advance
-- 
Amar Sannaik | Senior Engineer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Compilation problem with maven

Posted by am...@gmail.com.
Yep, ya got it..... Thanks a lot..


On Tue, Mar 3, 2009 at 4:30 PM, Jörg Schaible <jo...@gmx.de> wrote:

> amar.sannaik@gmail.com wrote at Dienstag, 3. März 2009 09:35:
>
> > Hi there,
> >
> > I get a error while compilation with maven, I am using maven version
> > 2.0.10
> >
> > here is the maven compiler config I have
> >
> > <plugin>
> >                     <groupId>org.apache.maven.plugins</groupId>
> >                     <artifactId>maven-compiler-plugin</artifactId>
> >                     <configuration>
> >                         <source>1.5</source>
> >                         <target>1.5</target>
> >                     </configuration>
> >   </plugin>
> >
> > during compile error I get it is
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
>
> d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/foodlab/remote/ikan/shoppingcart/package-info.java
> [1,49]
> > package annotations should be in file package-info.java
> >
> >
>
> d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/webservices/foodlab/client/package-info.java
> [1,49]
> > package annotations should be in file package-info.java
> >
> > I dint get much of help browsing internet, can someone help me fix this.
>
> This is a compiler error
> (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6198196). Upgrade your
> JDK to the last service level.
>
> - Jörg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Amar Sannaik | Senior Engineer

Re: Compilation problem with maven

Posted by Jörg Schaible <jo...@gmx.de>.
amar.sannaik@gmail.com wrote at Dienstag, 3. März 2009 09:35:

> Hi there,
> 
> I get a error while compilation with maven, I am using maven version
> 2.0.10
> 
> here is the maven compiler config I have
> 
> <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-compiler-plugin</artifactId>
>                     <configuration>
>                         <source>1.5</source>
>                         <target>1.5</target>
>                     </configuration>
>   </plugin>
> 
> during compile error I get it is
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
>
d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/foodlab/remote/ikan/shoppingcart/package-info.java
[1,49]
> package annotations should be in file package-info.java
> 
>
d:/foodlab_feb09/mealbox/meijer/trunk/src/main/java/com/meijer/webservices/foodlab/client/package-info.java
[1,49]
> package annotations should be in file package-info.java
> 
> I dint get much of help browsing internet, can someone help me fix this.

This is a compiler error
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6198196). Upgrade your
JDK to the last service level.

- Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org