Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
185 stars 113 forks source link

Java 11 Maven All In One project pom.xml format has many blank lines #597

Closed mtwallach closed 3 years ago

mtwallach commented 4 years ago

I'm submitting a ... (check one with "x")

[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Expected Behavior

Properly formatted pom.xml

Current Behavior

pom.xml contains many blank lines making it difficult, unpleasant to read

Possible Solution

Steps to Reproduce (for bugs)

  1. Set your JAVA_HOME to use Java 11
  2. Using Maven 3.6.1 generate an all in one Alfresco archetype project.
  3. Edit pom.xml file, you will see the properties are all spread out by 5 blank lines. (I have attached mine for review to the case.)
  4. Set your JAVA_HOME to use Java 8
  5. Repeat steps to generate all in one project.
  6. Edit pom.xml and notice the file is formatted correctly.

Can attach pom if needed.

Context

Your Environment

Additional information

CharlesCZ commented 4 years ago

You can do workaround, by simple removing blank spaces like image Then press CTRL+ALT+L