Skip to content

Commit

Permalink
prepare gh-pages publication with scm-publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Mar 18, 2017
1 parent cd20329 commit 81a35e1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
11 changes: 8 additions & 3 deletions hawtjni-website/ext/Website.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ object Website {
val project_name= "HawtJNI"
val project_slogan= "Making JNI easy and fast."
val project_id= "hawtjni"
val project_jira_key= "HAWTJNI"
val project_issue_url= "https://github.com/fusesource/hawtjni/issues"
val project_forums_url= "http://groups.google.com/group/hawtjni"
val project_wiki_url= "https://github.com/fusesource/hawtjni/wiki"
val project_logo= "/images/project-logo.png"
val project_version= "1.8"
val project_snapshot_version= "1.9-SNAPSHOT"
val project_version= "1.14"
val project_snapshot_version= "1.15-SNAPSHOT"
val project_versions = List(
project_version,
"1.13",
"1.12",
"1.11",
"1.10",
"1.9",
"1.8",
"1.7",
"1.6",
"1.5",
Expand Down
32 changes: 23 additions & 9 deletions hawtjni-website/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
<netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
</properties>

<distributionManagement>
<site>
<id>hawtjni-gh-pages</id>
<url>scm:git:https://github.com/fusesource/hawtjni.git</url>
</site>
</distributionManagement>

<dependencies>

<dependency>
Expand Down Expand Up @@ -143,8 +150,6 @@

<configuration>
<webappDirectory>${basedir}/src</webappDirectory>
<remoteServerId>website.fusesource.org</remoteServerId>
<remoteServerUrl>dav:http://fusesource.com/forge/dav/${forge-project-id}/versions/${project.version}/website/</remoteServerUrl>
</configuration>

<executions>
Expand All @@ -155,17 +160,26 @@
</goals>
<phase>package</phase>
</execution>
<!--
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<content>${project.build.directory}/sitegen</content>
</configuration>
<executions>
<execution>
<id>deploy</id>
<id>gh-pages</id>
<goals>
<goal>deploy</goal>
<goal>publish-scm</goal>
</goals>
<phase>deploy</phase>
</execution>
-->
<phase>install</phase>
</execution>
</executions>

</plugin>

<plugin>
Expand Down

0 comments on commit 81a35e1

Please sign in to comment.