Open everflux opened 3 years ago
@everflux - I am happy to consider a pull request for this, since I am not up to date with the Maven site plugin. Would you be able to provide a PR?
I hope it is no big disappointment, but I am afraid it is not my area of expertise to help out on this.
@everflux - I will take a look, but no promises.
@everflux - I assumed you tried using '<outputDirectory>'. Please confirm that you tried that.
Thank you for mentioning this, I indeed forgot to point that out. I tried the following configuration:
<pluginManagement>
<plugins>
<plugin>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-maven-plugin</artifactId>
<version>16.15.1.2</version>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>guru.nidi</groupId>
<artifactId>graphviz-java</artifactId>
<version>0.18.1</version>
</dependency>
</dependencies>
<configuration>
<outputDirectory>/tmp/foo</outputDirectory>
</configuration>
</plugin>
...
</plugins>
</pluginManagement>
Build:
ls -l /tmp/foo; ./mvnw clean verify site > /dev/null; ls -l /tmp/foo
ls: cannot access '/tmp/foo': No such file or directory
2021-07-09T12:22:55.227+02:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
ls: cannot access '/tmp/foo': No such file or directory
If I do not oversee anything I believe the setting has not the desired effect.
@everflux - I have marked this issue as "help wanted".
Currently the output is always placed in the 'site' directory. I would be great, if that could be customized.