Skip to content

Commit

Permalink
Merge pull request #34 from hboutemy/master
Browse files Browse the repository at this point in the history
prepare gh-pages publication with scm-publish plugin
  • Loading branch information
gnodet committed Apr 26, 2017
2 parents 4c430c6 + 81a35e1 commit 1cb6770
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 1cb6770

Please sign in to comment.