Please see inline comments.

Donszelmann, Mark wrote:

Hi

I have 2 questions regarding the eclipse plugin (2.0-beta-3-SNAPSHOT from svn):

1. Does the eclipse plugin support source file excludes.
My pom contains:

     <plugin>
       <artifactId>maven-compiler-plugin</artifactId>
       <configuration>
         <excludes>
           <exclude>**/*Factory.java</exclude>
         </excludes>
       </configuration>
     </plugin>

for which I would expect in the .classpath:

 <classpathentry excluding="**/*Factory.java" output=".deployables/..." kind="src" 
path="src/main/java"/>

but I get:

 <classpathentry kind="src" path="src/main/java"/>

should I file a JIRA issue?

Please file a jira issue.

2. As far as I understand, the eclipse:eclipse "goal" runs as part of the 
generate-sources "phase".
I guess it thereby pick up paths created by other plugins as additions to the compileSourceRoot. One of my plugins filters sources and does this as part of the process-sources phase. It
adds a path to compileSourceRoot which is ignored by the eclipse plugin.

Should one not run the eclipse goal as part of the process-resources phase 
(just before compile),
when all paths are in order?

If so, shall I file a JIRA issue?
Probably a good idea.... so file the jira issue. ^_^

Regards
Mark Donszelmann


---------------------------------------------------------------------
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