Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (30 loc) · 2.46 KB

README.md

File metadata and controls

46 lines (30 loc) · 2.46 KB

YUICompressor-maven-plugin

Build Status

Overview

Maven's plugin to compress (minify/obfuscate/aggregate) JavaScript and CSS files using YUI Compressor

Documentation

Full documentation is available under following link: http://davidb.github.com/yuicompressor-maven-plugin/

Summary of the project history can be found in CHANGELOG

Build

  • ./mvnw package : generate jar
  • ./mvnw site : generate the plugin website
  • ./mvnw integration-test : ./mvnw package + run all integration test
  • ./mvnw integration-test -Dinvoker.test=demo01 : run integration test 'demo01' (against all configuration) useful for tuning/debug
  • ./mvnw install : ./mvnw integration-test + publish on local maven repository
  • ./mvnw install -Dmaven.test.skip=true : ./mvnw install` without run of unit test and run of integration test
  • release :
    • gpg --use-agent --armor --detach-sign --output $(mktemp) pom.xml to avoid issue on macosx with gpg signature see [MGPG-59] GPG Plugin: "gpg: signing failed: Inap propriate ioctl for device" - ASF JIRA
    • ./mvnw release:clean && ./mvnw release:prepare && ./mvnw release:perform : to publish on staging repository via plugin
    • ./mvnw release:clean && ./mvnw release:prepare -Darguments="-DskipTests -Dmaven.test.skip=true" && ./mvnw release:perform -Darguments="-DskipTests -Dmaven.test.skip=true" to publish without tests
    • ./mvnw site package source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate -Dmaven.test.skip=true -DperformRelease=true : man ual
    • connect to http://oss.sonatype.org/ close and release the request(about yuicompressor-maven-plugin) in staging repositories
    • browse the updated mvnsite (check version into samples, ...)

Issues

Found a bug? Have an idea? Report it to the issue tracker

Developers

License

This project is available under the Creative Commons GNU LGPL, Version 2.1.