ah i see, got same problem when porting a WAS/RAD based project to maven
i tried too what you say, but it didnt preserved the directory structure

i turned out to write an ant task that does it... not nice i know......
below is the plugin if you need it

<plugin>
         <artifactId>maven-antrun-plugin</artifactId>

         <executions>
            <execution>
             <id>antTask</id>
             <phase>process-classes</phase>
             <goals>
             <goal>run</goal>
             </goals>
             <configuration>
              <tasks>
               <echo message="**** copying resources ******"/>
               <copy toDir="${project.build.outputDirectory}/resources">
                          <fileset dir="ejbModule/resources"/>
             </copy>


        </tasks>
             </configuration>
            </execution>
          </executions>

    </plugin>

hth
marco

Reply via email to