I've been meaning to add something similar for the IDEA plugin. So +1 from me to add this. The question is: in which pom do we put it?

Mark Hobson wrote:
Hi there,

I'd like to add the following to the Maven POM plugin management block:

 <plugin>
   <artifactId>maven-compiler-plugin</artifactId>
   <configuration>
     <source>1.4</source>
     <target>1.4</target>
   </configuration>
 </plugin>
 <plugin>
   <artifactId>maven-eclipse-plugin</artifactId>
   <configuration>
     <downloadSources>true</downloadSources>
   </configuration>
 </plugin>

The first is to force the eclipse plugin to add 1.4 compiler settings
to the project files, otherwise we get 1.5 raw type warnings
everywhere when running eclipse under 1.5.  The second is to saving
typing to get source jars attached in eclipse.

Has anyone got any objections to these changes in 2.0.x and trunk?  I
assume the Maven POM, components/pom.xml, is the best place to add it
to.

Cheers,

Mark

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



--
Dennis Lundberg

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

Reply via email to