Martin,

Thank you for the input.

They do have one module configured that way with a ../ navigation for traditional (not web) <resource> tags. It seems to choke mvn eclipse:eclipse which hoses the paths. I will be having them move to m2eclipse later this year, but am looking for solutions that carry us through 'till then.

Do you use mvn eclipse:eclipse?

I will also gave them experiment with Wayne's suggestion of a resource jar.



On Feb 8, 2010, at 10:47 AM, Martin Schayna <[email protected]> wrote:

Hi Matthew,

we have also multi-module project with shared resources located in one module. Webapp folder is linked from other projects in pom.xml:

<build>
  <plugins>
    <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
        <warName>app-portal</warName>
        <webResources>
          <resource>
            <directory>../lib-web/src/main/webapp</directory>
          </resource>
        </webResources>
      </configuration>
    </plugin>
  </plugins>
</build>

Martin Schayna


Matthew McCullough wrote:
For resources used in multiple projects on a multi-module build, I'm trying to figure out possible/best practice approaches.

My client wants the files to be stored only once in VCS. So, right now they are doing maven-ant or maven-exec commands to copy the resources in.

I'm considering suggesting a resource jar that stands alone as an option.

Suggestions are appreciated.


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