Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

CopyMojo

Andreas Schmitz edited this page Jan 7, 2013 · 1 revision

Copy Mojo

The copy mojo can be used to copy files around within the project. The <file> tag can be repeated. The default phase is generate-resources.

<plugin>
  <groupId>org.deegree</groupId>
  <artifactId>deegree-maven-plugin</artifactId>
  <executions>
    <execution>
      <goals>
        <goal>copy</goal>
      </goals>
      <configuration>
        <files>
          <file>
            <from>src/main/tomcat/tomcat-users.xml</from>
            <to>target/deegree-tomcat/conf/tomcat-users.xml</to>
          </file>
        </files>
      </configuration>
    </execution>
  </executions>
</plugin>
Clone this wiki locally