Fri, 13 Sep 2024 10:46:17 +0530, /Debraj Manna/:

The report that is being generated suits my needs for now. I was checking
if I could specify an alternate path for cache-report.<id>.xml so that I
can place the report outside the target/ that is being done now.

I guess you could use an extra copy-resources execution:

- https://maven.apache.org/plugins/maven-resources-plugin/examples/copy-resources.html

          <execution>
            <id>copy-cache-report</id>
            <phase>package</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory> ... </outputDirectory>
              <resources>
                <resource>
                  <directory>target/maven-incremental</directory>
                  <includes>
                    <include>cache-report*.xml</include>
                  </includes>
                </resource>
              </resources>
            </configuration>
          </execution>

Not sure which phase it should be bound to.

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to