The first warning that is being generated is because you haven't specified a
version for maven-compiler-plugin so Maven is only guessing which one to
use. This is undesirable because once a new version is released Maven might
(will?) choose that one and it may be incompatible with the version you used
before.

Are you configuring the plugin like this:

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
?

Or are you configuring it at all?

I had seen the second error message before when I used a local repository,
that had been created by Maven 2, with Maven 3. What happens if you delete
the artifacts in question (the entire folder) and re-download them?

Lenni

On Wed, Jun 8, 2011 at 10:20 PM, Refr Bruhl <[email protected]> wrote:

> I will try this
>
> Thank you!
>
>  --Refr inn gra
>
>
> "Wars are to be won with swords and spears,
> not with rice and salt." -- Uesugi Kenshin
>
>
>
> ----- Original Message ----
> From: Wendy Smoak <[email protected]>
> To: Maven Users List <[email protected]>
> Sent: Wed, June 8, 2011 1:30:10 PM
> Subject: Re: Question on poms
>
> On Wed, Jun 8, 2011 at 2:25 PM, Refr Bruhl <[email protected]> wrote:
> > I used the instructions at
> > http://maven.apache.org/guides/MavenQuickReferenceCard.pdf for adding
> 3rd
> party
> > libraries to my repository.
>
> Interesting... haven't seen that before!
>
> So you used mvn install:install-file?
>
> Odd..
> http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
> says generatePom defaults to true.
>
> Try re-doing mvn install:install-file and adding -DgeneratePom=true .
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> 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