GithubHelp home page GithubHelp logo

kevinsawicki / github-maven-example Goto Github PK

View Code? Open in Web Editor NEW
137.0 6.0 937.0 141 KB

Example project using GitHub Maven Plugins

Home Page: http://kevinsawicki.github.com/github-maven-example

Java 100.00%
java

github-maven-example's Introduction

This is an example project that uses the GitHub Maven Plugins.

See the POM file for how the downloads plugin and site plugin are configured.

Getting started

  • Fork this project
  • Update the pom.xml file <url> element to be the address of your fork
  • Optionally update <scm> and <developers> section as well to have the information for your fork
  • Add the following to your Maven settings.xml file updated with your GitHub login name and password:
<servers>
  <server>
    <id>github</id>
    <username>user</username>
    <password>password</password>
  </server>  
</servers>

Using the downloads plugin

$ cd github-maven-example/example
$ mvn clean install

The compiled, source, and Javadoc JAR files will be uploaded as downloads here.

Using the site plugin

$ cd github-maven-example/example
$ mvn site

The generated site will be committed to the gh-pages branch and visible here.

github-maven-example's People

Contributors

kevinsawicki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

github-maven-example's Issues

Failed to execute goal com.github.github:downloads-maven-plugin:0.6:upload

I got a Error where i dont find the reason.

--- downloads-maven-plugin:0.6:upload (default) @ FrogPw ---
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 7.687s
Finished at: Tue Apr 15 16:44:36 CEST 2014
Final Memory: 21M/102M
------------------------------------------------------------------------
Failed to execute goal com.github.github:downloads-maven-plugin:0.6:upload (default) on project FrogPw: Listing downloads failed: Parse exception converting JSON to object: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 20 -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

here is the pom.xml https://github.com/Serverfrog/FrogPw/blob/master/pom.xml

License

Please add a license to the repo. I want to use the project for testing purposes

Failed to execute goal com.github.github:downloads-maven-plugin:0.1 :upload

I am using Maven 3.0.3 and my github credentials seems to be valid. Why does it fail to upload?

[ERROR] Failed to execute goal com.github.github:downloads-maven-plugin:0.1
:upload (default) on project github-maven-example: Deleting existing downlo
ad github-maven-example-0.1-SNAPSHOT.jar failed: Not Found (404) -> [Help 1
]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, pleas
e read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecu
tionException

Copy request

Hi, I have copied your code into my test data repo, please notice that.

If you have any decline and disagreement with this action, please message me and I will remove it immediately. Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.