Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 24 Mar 2014 at 2:41

  • Added labels: Milestone-0.5

from formatter-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
On Mar 24, 2014 2:55 PM, "杨朔" <[email protected]> wrote:
Hi jecki

  I'm using this plugin to format my code, but sometimes I do not want the format plugin executing when I do mvn clean install.
  But currently there is no switch to turn this off.

  So I add an jvm parameter with name skipFormat to skip the formatting with value true.
  For example, when I execute the command mvn clean install -DskipFormat=true, then the format plugin will skip the format action.

 And I've attached the patch file with this mail, could you please check whether you can add it into your next release.

Original comment by [email protected] on 30 Mar 2014 at 2:34

from formatter-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Committed in r131 and r132

Original comment by [email protected] on 30 Mar 2014 at 2:37

from formatter-maven-plugin.

hazendaz avatar hazendaz commented on May 24, 2024

This can be closed. the skip logic was added. See message above regarding that. I searched code and it is there.

from formatter-maven-plugin.

ctubbsii avatar ctubbsii commented on May 24, 2024

Before this is closed, I'd suggest we use a standard property naming convention for the user property, like -Dformatter.skip=true rather than the current -DskipFormat=true. This follows other plugins, which have findbugs.skip, checkstyle.skip, rat.skip, etc.

A quick modification is to add the options: alias="skip", property="formatter.skip" to the @Parameter.

Any thoughts or objections?

from formatter-maven-plugin.

hazendaz avatar hazendaz commented on May 24, 2024

I'm good with that. I've never personally used the formatter skip but can see why it's important and should be consistent to other maven plugins.

--- Original Message ---

From: "Christopher Tubbs" [email protected]
Sent: May 13, 2015 1:59 PM
To: "revelc/formatter-maven-plugin" [email protected]
Cc: "Jeremy Landis" [email protected]
Subject: Re: [formatter-maven-plugin] Add an ability to skip the goal (#25)

Before this is closed, I'd suggest we use a standard property naming convention for the user property, like -Dformatter.skip=true rather than the current -DskipFormat=true. This follows other plugins, which have findbugs.skip, checkstyle.skip, rat.skip, etc.

A quick modification is to add the options: alias="skip", property="formatter.skip" to the @Parameter.

Any thoughts or objections?


Reply to this email directly or view it on GitHub:
#25 (comment)

from formatter-maven-plugin.

Related Issues (20)

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.