Skip to content

Commit 2c93c81

Browse files
authored
maintenance: Update Spacing of XML (iluwatar#1865)
PR Set 3 of 4
1 parent 656b441 commit 2c93c81

File tree

47 files changed

+2312
-2510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2312
-2510
lines changed

leader-followers/pom.xml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,24 +23,24 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27-
<modelVersion>4.0.0</modelVersion>
28-
<parent>
29-
<groupId>com.iluwatar</groupId>
30-
<artifactId>java-design-patterns</artifactId>
31-
<version>1.25.0-SNAPSHOT</version>
32-
</parent>
33-
<artifactId>leader-followers</artifactId>
34-
<dependencies>
35-
<dependency>
36-
<groupId>org.junit.jupiter</groupId>
37-
<artifactId>junit-jupiter-engine</artifactId>
38-
<scope>test</scope>
39-
</dependency>
40-
<dependency>
41-
<groupId>org.mockito</groupId>
42-
<artifactId>mockito-core</artifactId>
43-
<scope>test</scope>
44-
</dependency>
45-
</dependencies>
46-
</project>
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27+
<modelVersion>4.0.0</modelVersion>
28+
<parent>
29+
<groupId>com.iluwatar</groupId>
30+
<artifactId>java-design-patterns</artifactId>
31+
<version>1.25.0-SNAPSHOT</version>
32+
</parent>
33+
<artifactId>leader-followers</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.junit.jupiter</groupId>
37+
<artifactId>junit-jupiter-engine</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
<dependency>
41+
<groupId>org.mockito</groupId>
42+
<artifactId>mockito-core</artifactId>
43+
<scope>test</scope>
44+
</dependency>
45+
</dependencies>
46+
</project>

license-plugin-header-style.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="ISO-8859-1"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -28,14 +28,15 @@
2828
but it adds an empty line after the last line, so the package name can be "separated from the previous statement",
2929
according to Google's Checkstyle format -->
3030
<additionalHeaders>
31-
<slashstar_custom_style>
32-
<firstLine>/*</firstLine>
33-
<beforeEachLine> * </beforeEachLine>
34-
<endLine> */EOL</endLine><!-- Added EOL here -->
35-
<firstLineDetectionPattern>(\\s|\\t)*/\\*.*$</firstLineDetectionPattern>
36-
<lastLineDetectionPattern>.*\\*/(\\s|\\t)*$</lastLineDetectionPattern>
37-
<allowBlankLines>false</allowBlankLines>
38-
<isMultiline>true</isMultiline>
39-
<padLines>false</padLines>
40-
</slashstar_custom_style>
31+
<slashstar_custom_style>
32+
<firstLine>/*</firstLine>
33+
<beforeEachLine>*</beforeEachLine>
34+
<endLine>*/EOL</endLine>
35+
<!-- Added EOL here -->
36+
<firstLineDetectionPattern>(\\s|\\t)*/\\*.*$</firstLineDetectionPattern>
37+
<lastLineDetectionPattern>.*\\*/(\\s|\\t)*$</lastLineDetectionPattern>
38+
<allowBlankLines>false</allowBlankLines>
39+
<isMultiline>true</isMultiline>
40+
<padLines>false</padLines>
41+
</slashstar_custom_style>
4142
</additionalHeaders>

lockable-object/pom.xml

Lines changed: 37 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,43 +23,40 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project
27-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
28-
xmlns="http://maven.apache.org/POM/4.0.0"
29-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
30-
<modelVersion>4.0.0</modelVersion>
31-
<parent>
32-
<groupId>com.iluwatar</groupId>
33-
<artifactId>java-design-patterns</artifactId>
34-
<version>1.25.0-SNAPSHOT</version>
35-
</parent>
36-
<artifactId>lockable-object</artifactId>
37-
<dependencies>
38-
<dependency>
39-
<groupId>org.junit.jupiter</groupId>
40-
<artifactId>junit-jupiter-engine</artifactId>
41-
<scope>test</scope>
42-
</dependency>
43-
</dependencies>
44-
<build>
45-
<plugins>
46-
<!-- Maven assembly plugin is invoked with default setting which we have
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27+
<modelVersion>4.0.0</modelVersion>
28+
<parent>
29+
<groupId>com.iluwatar</groupId>
30+
<artifactId>java-design-patterns</artifactId>
31+
<version>1.25.0-SNAPSHOT</version>
32+
</parent>
33+
<artifactId>lockable-object</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.junit.jupiter</groupId>
37+
<artifactId>junit-jupiter-engine</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
</dependencies>
41+
<build>
42+
<plugins>
43+
<!-- Maven assembly plugin is invoked with default setting which we have
4744
in parent pom and specifying the class having main method -->
48-
<plugin>
49-
<groupId>org.apache.maven.plugins</groupId>
50-
<artifactId>maven-assembly-plugin</artifactId>
51-
<executions>
52-
<execution>
53-
<configuration>
54-
<archive>
55-
<manifest>
56-
<mainClass>com.iluwatar.lockableobject.App</mainClass>
57-
</manifest>
58-
</archive>
59-
</configuration>
60-
</execution>
61-
</executions>
62-
</plugin>
63-
</plugins>
64-
</build>
65-
</project>
45+
<plugin>
46+
<groupId>org.apache.maven.plugins</groupId>
47+
<artifactId>maven-assembly-plugin</artifactId>
48+
<executions>
49+
<execution>
50+
<configuration>
51+
<archive>
52+
<manifest>
53+
<mainClass>com.iluwatar.lockableobject.App</mainClass>
54+
</manifest>
55+
</archive>
56+
</configuration>
57+
</execution>
58+
</executions>
59+
</plugin>
60+
</plugins>
61+
</build>
62+
</project>

marker/pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,13 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2927
<parent>
3028
<artifactId>java-design-patterns</artifactId>
3129
<groupId>com.iluwatar</groupId>
3230
<version>1.25.0-SNAPSHOT</version>
3331
</parent>
3432
<modelVersion>4.0.0</modelVersion>
35-
3633
<artifactId>marker</artifactId>
3734
<dependencies>
3835
<dependency>

master-worker-pattern/pom.xml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<!--
23
34
The MIT License
@@ -22,39 +23,38 @@
2223
THE SOFTWARE.
2324
2425
-->
25-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27-
<modelVersion>4.0.0</modelVersion>
28-
<parent>
29-
<groupId>com.iluwatar</groupId>
30-
<artifactId>java-design-patterns</artifactId>
31-
<version>1.25.0-SNAPSHOT</version>
32-
</parent>
33-
<artifactId>master-worker-pattern</artifactId>
34-
<dependencies>
35-
<dependency>
36-
<groupId>org.junit.jupiter</groupId>
37-
<artifactId>junit-jupiter-engine</artifactId>
38-
<scope>test</scope>
39-
</dependency>
40-
</dependencies>
41-
<build>
42-
<plugins>
43-
<plugin>
44-
<groupId>org.apache.maven.plugins</groupId>
45-
<artifactId>maven-assembly-plugin</artifactId>
46-
<executions>
47-
<execution>
48-
<configuration>
49-
<archive>
50-
<manifest>
51-
<mainClass>com.iluwatar.masterworker.App</mainClass>
52-
</manifest>
53-
</archive>
54-
</configuration>
55-
</execution>
56-
</executions>
57-
</plugin>
58-
</plugins>
59-
</build>
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27+
<modelVersion>4.0.0</modelVersion>
28+
<parent>
29+
<groupId>com.iluwatar</groupId>
30+
<artifactId>java-design-patterns</artifactId>
31+
<version>1.25.0-SNAPSHOT</version>
32+
</parent>
33+
<artifactId>master-worker-pattern</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.junit.jupiter</groupId>
37+
<artifactId>junit-jupiter-engine</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
</dependencies>
41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-assembly-plugin</artifactId>
46+
<executions>
47+
<execution>
48+
<configuration>
49+
<archive>
50+
<manifest>
51+
<mainClass>com.iluwatar.masterworker.App</mainClass>
52+
</manifest>
53+
</archive>
54+
</configuration>
55+
</execution>
56+
</executions>
57+
</plugin>
58+
</plugins>
59+
</build>
6060
</project>

mediator/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

memento/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

model-view-controller/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

model-view-presenter/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>
@@ -41,9 +40,9 @@
4140
<scope>test</scope>
4241
</dependency>
4342
<dependency>
44-
<groupId>net.java.dev.swing-layout</groupId>
45-
<artifactId>swing-layout</artifactId>
46-
<version>1.0.2</version>
43+
<groupId>net.java.dev.swing-layout</groupId>
44+
<artifactId>swing-layout</artifactId>
45+
<version>1.0.2</version>
4746
</dependency>
4847
</dependencies>
4948
<build>

0 commit comments

Comments
 (0)