Sorry about it. I had some problems with my subscription, so I didn't
receive any response.
I found them at the mail archive, but I'm still having the same problem.
=(


I put the tag Julio S.G. suggested in the pom.xml of my project's packaging
"pom" because it's multimodule

<project>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>


Then I tried to insert this tag Eric Redmond suggested too:

  <project>
      <build>
         <plugins>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <configuration>
               <source>1.5</source>
               <target>1.5</target>
               <verbose>true</verbose>
               <fork>true</fork>
               <executable>
               /usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/bin
               </executable>
               <compilerVersion>1.5</compilerVersion>
               </configuration>
            </plugin>
         </plugins>
      </build>
   </project>


Any other ideas? I'm kind of stuck on this.
Should I put this tags in the pom.xml with the packaging "jar" or it's
correct to be in the "pom"?

thanks in advance,
Allan Valeriano

On 11/13/06, Wayne Fay < [EMAIL PROTECTED]> wrote:

We already did. There were 5 responses to your original email sent on
Friday.

Wayne

On 11/13/06, Allan Valeriano <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
> I'm having problems setting up a new jre to run mvn install.
> My default java version is 1.4.2_11, but I need maven to use jre 5 for
it.
> I've read the FAQ, but I must say the example for it is not really
helpful.
> Could somebody give me a hand on this sending a complete example?
>
>
> thanks in advance
> Allan Valeriano
>
>

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


Reply via email to