Hi everyone,

Following the installation instructions for Maven, I set my JAVA_HOME
environment variable to point to my Java 5 directory.

Why is it then that in order to have maven compile my project for 1.5
I need to use the following?

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

Thanks,
Elliot

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to