Comments (6)
Original comment by [email protected]
on 24 Mar 2014 at 2:41
- Added labels: Milestone-0.5
from formatter-maven-plugin.
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.
Committed in r131 and r132
Original comment by [email protected]
on 30 Mar 2014 at 2:37
from formatter-maven-plugin.
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.
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.
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)
- Add possibility to exclude sub-modules from validation and formatting HOT 1
- Transitive dependency issue breaks formatter plugin HOT 4
- Whitespace in Javadoc reported HOT 4
- Release for Eclipse 2022-06 Support HOT 1
- Plugin does not know what to do when records have overridden getters HOT 2
- Cannot invoke IExtensionRegistry.getExtensionPoint because Platform.getExtensionRegistry()" is null HOT 2
- Allow resources to be included when formatting
- On the fly hash before and after to replace current caching system files. HOT 1
- Add support for xml-formatter 'deleteBlankLines' HOT 2
- Drop dependabot in favor of Renovate HOT 3
- Mockito WHEN Bug in Eclipse formatting jdt core 3.32.0 and 3.33.0 HOT 3
- Large whitespace in debug output HOT 9
- Bad format of sealed interfaces extending other interfaces HOT 9
- Option to fail to process invalid setting id HOT 2
- New Configuration hashing into file hash breaks existing caching - only confirmed with XML at the moment HOT 2
- NOTICE: Eclipse 2023-06 Requires jdk 17 for many parts HOT 7
- Eclipse Formatter Attribute Ignored: Parameter After Annotation HOT 1
- Sealed interfaces are not correctly formatted HOT 3
- Not able to run validate due to ExtensionRegistry return null value HOT 4
- False configuration used for line Indentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formatter-maven-plugin.