Giter VIP home page Giter VIP logo

gmaven's Introduction

Building

Simply run Maven ;-)

mvn install

Integration Testing

To invoke integration tests using the invoker plugin you need to:

mvn -Dit install

Site Generation

You need to perform a full build first, before site generation will function correctly:

mvn install site

To generate the full site locally for review:

mvn install site-deploy -DstageDistributionUrl=file:`pwd`/dist

NOTE: Looks like something is whacky somewhere, and you will need to run the site goals with the install goal for the gmaven-examples site to generate correctly.

Notes

To create site docs:
    C:\work\gmaven>mvn clean install
    C:\work\gmaven>mvn site:site org.codehaus.gmaven.support:filter-plugin:1.1-SNAPSHOT:site site:deploy -Preports,local-site

Use profile 'reports' to generate the full set of reports.  This build takes considerably longer than without.

Use profile 'local-site' to build site docs to ${user.home}\.m2\gmaven\maven-generated\...  This builds the site docs to the
local file system, which is much faster than building to DAV.  Files will still need to be copied to DAV site using some other tool,
or you can run without this profile to deploy to DAV the old-fashioned way (slow but easy).

The filter-plugin performs standard Maven filtering on /target/site, which is a lot less cumbersome than trying to
work within the rules for filtering imposed by the maven-site-plugin.

NOTE:
You can upload the site docs for the GMaven-Plugin projects like this:
    C:\work\gmaven\gmaven-plugin>mvn clean site:site org.codehaus.gmaven.support:filter-plugin:1.1-SNAPSHOT:site site:deploy -Preports

This takes about 5 minutes, which is much faster than generating and uploading the documentation for all the projects.

Release Muck

NOTE: This does not really work ATM, not sure why... but release:prepare barfs while tagging, so have to finish up the rest of the details by hand. Hopefully for the next release I'll get this sorted out... or write my own damn plugin to deal with this crap.

First sanity check:

mvn -Drelease release:prepare -DdryRun | tee release-prepare-dry.log

If all looks happy, first clean up:

mvn release:clean
rm *.log

And then:

mvn -Drelease release:prepare | tee release-prepare.log
mvn -Drelease release:perform | tee release-perform.log

NOTE: It appears that release:prepare needs -Dusername=xxx and -Dpassword=xxx to work correctly... :-(

The generated website is not deployed as part of the release process ATM, so keep the release tree around and run site build from there.

gmaven's People

Contributors

jdillon avatar keeganwitt avatar wypoon avatar

Watchers

 avatar

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.