Henri,

I do not think maven builder is involved in this scenario, but it is worth creating a JIRA report so we can look at the problem closer and suggest a solution. Please make sure to provide sample project and steps to reproduce the problem.

--
Regards,
Igor Fedorenko

Henri Gomez wrote:
Question.

In one of our webapp we skip the jar to be included in WEB-INF/lib (due to a company requirement) :

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
              <webResources>
                <webResource>
                  <directory>${basedir}/target</directory>
                  <includes>
                    <include>jspweb.xml</include>
                  </includes>
                  <targetPath>WEB-INF</targetPath>
                   <filtering>true</filtering>
                </webResource>
              </webResources>
<!-- Java code is compiled under classes since we'll drop all jars in WEB-INF/lib -->
              <archiveClasses>false</archiveClasses>
              <webXml>${basedir}/target/jspweb.xml</webXml>
<!-- Drop all jars in WEB-INF/lib to avoid grabbing all dependencies, including canopees -->
              <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
            </configuration>
          </plugin>


But WTP is still deploying the jars.

Did the m2builder could pilot the WTP dependencies to handle such situation ?

Regards

2008/9/16 Eugene Kuleshov <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>

    Barry,

     Maven builder monitors resource changes and invoke Maven goals that
    could be used to generate derived resources or sources, as well as
    filter resources. It also hooks to Eclipse's "Project / Clean..." in
    order to handle full rebuild (similar to maven clean package from
    the command line).
     Goals to be executed on resource changes and on project clean can
    be configured in project preferences.

     regards,
     Eugene



    Barry Kaplan wrote:

        For example, when I do a Project->Clean.. it seems that maven is
        doing the
        build. But is it doing /all/ of the build, or just some
        post-processing?
        What role does the builder have when saving a java file?


    ---------------------------------------------------------------------
    To unsubscribe from this list, please visit:

      http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to