Git Product home page Git Product logo

Comments (6)

velo avatar velo commented on May 23, 2024

Validate is meant for CI server.... so it will tell you it is broken.

If you change to format, CI will always tell you the code is fine, even if all classes are single liners =/

So, it should be validate only.

from formatter-maven-plugin.

hazendaz avatar hazendaz commented on May 23, 2024

maybe so but that prevents local builds. It would make more sense I think to have local as format and change it in travis ci so it validates there. Otherwise, how would I be expected to even run formatting locally?

from formatter-maven-plugin.

velo avatar velo commented on May 23, 2024

not really, if the format is correct it does build locally just fine....

if your local code is not formatted, you need either format on eclipse or use mvn formatter:format

from formatter-maven-plugin.

hazendaz avatar hazendaz commented on May 23, 2024

That's not the behavior I'm after. Enforce that on travis. Otherwise it's an unnecessary step fir developers.

Sent by Outlook for Android

On Tue, Sep 8, 2015 at 11:31 PM -0700, "Marvin Froeder" [email protected] wrote:
not really, if the format is correct it does build locally just fine....

if your local code is not formatted, you need either format on eclipse or use mvn formatter:format


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

from formatter-maven-plugin.

velo avatar velo commented on May 23, 2024

You could have a profile then

On Wed, 9 Sep 2015 22:55 Jeremy Landis [email protected] wrote:

That's not the behavior I'm after. Enforce that on travis. Otherwise it's
an unnecessary step fir developers.

Sent by Outlook for Android

On Tue, Sep 8, 2015 at 11:31 PM -0700, "Marvin Froeder" <
[email protected]> wrote:
not really, if the format is correct it does build locally just fine....

if your local code is not formatted, you need either format on eclipse or
use mvn formatter:format


Reply to this email directly or view it on GitHub:

#69 (comment)


Reply to this email directly or view it on GitHub
#69 (comment)
.

from formatter-maven-plugin.

hazendaz avatar hazendaz commented on May 23, 2024

This thread. I stand behind my points. This is why forcing at machine level makes no sense. You are suggesting using the IDE. All I did tonight, I didn't even have an IDE open. I did all changes using notepad. So formatting via eclipse was out of the question. Anyway, this is fixed on PR #80

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.