Created a separate task; related to gh-221

This commit is contained in:
Marcin Grzejszczak
2023-05-04 17:12:35 +02:00
parent 661a4ccb61
commit 240995fa09

18
pom.xml
View File

@@ -1386,6 +1386,21 @@
</target>
</configuration>
</execution>
<execution>
<id>copy-missing-html-files</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<failOnError>false</failOnError>
<target>
<copy tofile="${project.build.directory}/generated-docs/reference/htmlsingle/index.html">
<fileset dir="${project.build.directory}/generated-docs/reference/htmlsingle" includes="${docs.main}.html" />
</copy>
</target>
</configuration>
</execution>
<execution>
<id>package-and-attach-docs-zip</id>
<phase>package</phase>
@@ -1394,9 +1409,6 @@
</goals>
<configuration>
<target>
<copy tofile="${project.build.directory}/generated-docs/reference/htmlsingle/index.html" failonerror="false">
<fileset dir="${project.build.directory}/generated-docs/reference/htmlsingle" includes="${docs.main}.html" />
</copy>
<zip
destfile="${project.build.directory}/${project.artifactId}-${revision}.zip">
<!--<zipfileset