Skip to content

Commit

Permalink
Update profiles for generating the site.
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <jperkins@redhat.com>
  • Loading branch information
jamezp committed Jul 17, 2023
1 parent f2f810d commit 65d64ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 41 deletions.
46 changes: 6 additions & 40 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
<url>${wildfly.scm.url}</url>
</scm>

<properties>
</properties>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -209,10 +212,10 @@

<profiles>
<profile>
<id>release</id>
<id>generate-site</id>
<activation>
<property>
<name>release</name>
<name>generate.site</name>
</property>
</activation>
<build>
Expand All @@ -234,44 +237,7 @@
<executions>
<execution>
<id>copy-site</id>
<phase>verify</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}/../docs/</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/site</directory>
<excludes>
<exclude>**/checkstyle.html</exclude>
<exclude>**/checkstyle.rss</exclude>
<exclude>**/apidocs/**</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>copy-site</id>
<activation>
<property>
<name>copy.site</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-site</id>
<phase>verify</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
<executions>
<execution>
<id>generate-javadoc</id>
<phase>package</phase>
<phase>prepare-package</phase>
<goals>
<goal>javadoc</goal>
</goals>
Expand Down

0 comments on commit 65d64ef

Please sign in to comment.