Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
Used GitHub site plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-ivanov committed Apr 27, 2015
1 parent 22e8f7f commit 93ac330
Showing 1 changed file with 34 additions and 12 deletions.
46 changes: 34 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@

<distributionManagement>
<downloadUrl>https://bintray.com/sergei-ivanov/maven/maven-protoc-plugin/view</downloadUrl>
<site>
<id>maven-protoc-plugin-site</id>
<url>file:../maven-protoc-plugin-site</url>
</site>
<repository>
<id>sergei-ivanov-releases</id>
<name>Sergei Ivanov's Release Repository</name>
Expand Down Expand Up @@ -173,6 +169,12 @@
<version>3.4</version>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.11</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand Down Expand Up @@ -375,15 +377,35 @@
</execution>
</executions>
</plugin>
</plugins>

<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>2.2</version>
</extension>
</extensions>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<executions>
<execution>
<id>github-site</id>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
<configuration>
<message>Create website for ${project.artifactId}-${project.version}</message>
<merge>true</merge>
<noJekyll>true</noJekyll>
<server>github</server>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<reporting>
Expand Down

0 comments on commit 93ac330

Please sign in to comment.