Skip to content

Super simple maven plugin for uploading individual files to Google Sites

Notifications You must be signed in to change notification settings

allthecodes/gsites-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Super simple plugin for uploading individual files to Google Sites

Usage:

Add the below to your pom.xml

  <plugins>
      <plugin>
      <groupId>com.github.allthecodes</groupId>
      <artifactId>gsites-maven-plugin</artifactId>
      <version>0.2</version>
      <configuration>
          <markdownFile>src/main/resources/my-fancy-markdown-file.md</markdownFile>
          <sitesPublishLocation>/path/to/page</sitesPublishLocation>
          <sitesDomainName>site</sitesDomainName>
          <sitesSiteName>home</sitesSiteName>
          <pageName>my-super-page</pageName>
          <pageTitle>My Super Fancy Happy Page</pageTitle>
      </configuration>
      </plugin>
  </plugins>

And then mvn gsites:publish

Gotchas

  • This is very much a Proof of Concept...
  • You'll need a browser to authenticate with Google (just once).
  • This plugin won't create the path - you have to do that yourself
  • It currently only supports publishing one file
  • If there's a page already there - it will update it

About

Super simple maven plugin for uploading individual files to Google Sites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages