On Fri, 18 Apr 2014 10:10:35 +0000
<[email protected]> wrote:
> There's the TrueZip plugin, but quite frankly, it seems defective (it silently
> fails to do anything, and the documentation is no help at all).

Pro tip:

This will work:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>truezip-maven-plugin</artifactId>
        <version>1.2</version>
        <inherited>false</inherited>
        <executions>
          <execution>
            <id>copy-out-files</id>
            <goals>
              <goal>copy</goal>
            </goals>
            <phase>pre-site</phase>
            <configuration>
              <verbose>true</verbose>
              <fileset>
                <directory>src/main/data/file.zip/</directory>
                
<outputDirectory>${project.build.directory}/site/file</outputDirectory>
              </fileset>
            </configuration>
          </execution>
        </executions>
      </plugin>

This will silently fail:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>truezip-maven-plugin</artifactId>
        <version>1.2</version>
        <inherited>false</inherited>
        <executions>
          <execution>
            <id>copy-out-files</id>
            <goals>
              <goal>copy</goal>
            </goals>
            <phase>pre-site</phase>
            <configuration>
              <verbose>true</verbose>
              <fileset>
                <directory>src/main/data/file.zip/</directory>
              </fileset>
              
<outputDirectory>${project.build.directory}/site/file</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>

M

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to