Hello,

I'm looking for a way to set compiler options for all of my modules.
My application structure looks something like this.


root/pom.xml
root/app1/pom.xml
root/app2/pom.xml
root/app3/pom.xml

I currently have the following text pasted in the pom files in each
app directory.
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <debug>false</debug>
                </configuration>
            </plugin>


Is there a way to set the <source>, <target>, and <debug> parameters
in a single place so they are not copied in all 3 pom files?  Is it
possible to define these parameters in the root/pom.xml?

Thank you.
Kevin

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

Reply via email to