File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,6 +204,31 @@ Go through this file line-by-line and replace the template values with your own.
204204 <artifactId >maven-site-plugin</artifactId >
205205 <version >3.9.1</version >
206206 </plugin >
207+ <plugin >
208+ <groupId >org.apache.maven.plugins</groupId >
209+ <artifactId >maven-scm-publish-plugin</artifactId >
210+ <version >3.1.0</version > <!-- or latest version -->
211+ <configuration >
212+ <pubScmUrl >${project.scm.developerConnection} </pubScmUrl >
213+ <scmBranch >gh-pages</scmBranch >
214+ </configuration >
215+ </plugin >
216+ <plugin >
217+ <groupId >com.github.github</groupId >
218+ <artifactId >site-maven-plugin</artifactId >
219+ <version >0.11</version >
220+ <configuration >
221+ <message >Creating site for ${project.version} </message >
222+ </configuration >
223+ <executions >
224+ <execution >
225+ <goals >
226+ <goal >site</goal >
227+ </goals >
228+ <phase >site</phase >
229+ </execution >
230+ </executions >
231+ </plugin >
207232 <plugin >
208233 <groupId >org.apache.maven.plugins</groupId >
209234 <artifactId >maven-compiler-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments