Skip to content

XML Extension - #293

Merged
fvgh merged 10 commits into
masterfrom
xml_integration
Sep 15, 2018
Merged

fvgh merged 10 commits into
masterfrom
xml_integration

Conversation

@fvgh

@fvgh fvgh commented Sep 4, 2018

Copy link
Copy Markdown
Member

Provided XML extension for Gradle and Maven.
Integrated Eclipse-WTP XML formatter step.
This PR implements #140 .
I took the liberty already to apply the formatter on Spotless itself. Hence the huge amount of changes.
Please follow the single commits for a better overview of the subjects addressed by the changes.

fvgh added 4 commits September 4, 2018 12:55
Integrated WTP XML formatter.
Fixed WTP formatter step naming (WtpEclipse -> EclipseWtp).
Naming convention for all Eclipse formatter is Eclipse<Kind>...
@fvgh fvgh changed the title Xml integration XML Extension Sep 4, 2018
@fvgh
fvgh requested review from lutovich and nedtwigg September 4, 2018 12:12
fvgh added a commit that referenced this pull request Sep 4, 2018
The Eclipse formatter is described in a dedicated sub-section.
The configFile example follows directly after the describing paragraph.
fvgh added a commit that referenced this pull request Sep 4, 2018

@nedtwigg nedtwigg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great except the default includes, but in the end I think they're sensible too. Having those defaults will probably help a few users get started, and won't hurt pro users anyway, so you won me over on them :)

@fvgh

fvgh commented Sep 4, 2018

Copy link
Copy Markdown
Member Author

@lutovich I would appreciate if you have a quick look on the Maven integration.


}

/** If the user hasn't specified the files yet, we'll assume he/she means all of the C/C++ files. */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XML files?

@thc202 thc202 mentioned this pull request Sep 4, 2018
Prefer to remove the description. Code is simple enough.
Comment thread plugin-maven/src/main/java/com/diffplug/spotless/maven/xml/Eclipse.java Outdated

@lutovich lutovich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good!

@JLLeitschuh

Copy link
Copy Markdown
Member

This is awesome!!!

@fvgh

fvgh commented Sep 8, 2018

Copy link
Copy Markdown
Member Author

@JLLeitschuh Just found some mistakes in the README.md. But before release I also want a problem with the Provisioner in the spotless-lib fixed. So please give me another week... But HTML and so on should then also work...

# Conflicts:
#	plugin-gradle/CHANGES.md
#	plugin-gradle/README.md
#	plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessExtension.java
#	plugin-maven/CHANGES.md
#	plugin-maven/src/main/java/com/diffplug/spotless/maven/AbstractSpotlessMojo.java
#	plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationTest.java
@fvgh
fvgh merged commit 8818804 into master Sep 15, 2018
@fvgh
fvgh deleted the xml_integration branch September 15, 2018 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants