Skip to content

Commit 8aac45a

Browse files
authored
maintenance: Update Spacing of XML (iluwatar#1866)
PR Set 4 of 4
1 parent 2c93c81 commit 8aac45a

File tree

44 files changed

+955
-1081
lines changed

Some content is hidden

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

44 files changed

+955
-1081
lines changed

monitor/pom.xml

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -18,42 +18,40 @@
1818
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
THE SOFTWARE.
2020
-->
21-
<project xmlns="http://maven.apache.org/POM/4.0.0"
22-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24-
<modelVersion>4.0.0</modelVersion>
25-
<parent>
26-
<artifactId>java-design-patterns</artifactId>
27-
<groupId>com.iluwatar</groupId>
28-
<version>1.24.0-SNAPSHOT</version>
29-
</parent>
30-
<artifactId>monitor</artifactId>
31-
<dependencies>
32-
<dependency>
33-
<groupId>org.junit.jupiter</groupId>
34-
<artifactId>junit-jupiter-engine</artifactId>
35-
<scope>test</scope>
36-
</dependency>
37-
</dependencies>
38-
<build>
39-
<plugins>
40-
<!-- Maven assembly plugin is invoked with default setting which we have
21+
<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">
22+
<modelVersion>4.0.0</modelVersion>
23+
<parent>
24+
<artifactId>java-design-patterns</artifactId>
25+
<groupId>com.iluwatar</groupId>
26+
<version>1.24.0-SNAPSHOT</version>
27+
</parent>
28+
<artifactId>monitor</artifactId>
29+
<dependencies>
30+
<dependency>
31+
<groupId>org.junit.jupiter</groupId>
32+
<artifactId>junit-jupiter-engine</artifactId>
33+
<scope>test</scope>
34+
</dependency>
35+
</dependencies>
36+
<build>
37+
<plugins>
38+
<!-- Maven assembly plugin is invoked with default setting which we have
4139
in parent pom and specifying the class having main method -->
42-
<plugin>
43-
<groupId>org.apache.maven.plugins</groupId>
44-
<artifactId>maven-assembly-plugin</artifactId>
45-
<executions>
46-
<execution>
47-
<configuration>
48-
<archive>
49-
<manifest>
50-
<mainClass>com.iluwatar.abstractdocument.Main</mainClass>
51-
</manifest>
52-
</archive>
53-
</configuration>
54-
</execution>
55-
</executions>
56-
</plugin>
57-
</plugins>
58-
</build>
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-assembly-plugin</artifactId>
43+
<executions>
44+
<execution>
45+
<configuration>
46+
<archive>
47+
<manifest>
48+
<mainClass>com.iluwatar.abstractdocument.Main</mainClass>
49+
</manifest>
50+
</archive>
51+
</configuration>
52+
</execution>
53+
</executions>
54+
</plugin>
55+
</plugins>
56+
</build>
5957
</project>

reactor/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>

reader-writer-lock/pom.xml

Lines changed: 40 additions & 41 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,44 +23,43 @@
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"
27-
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
28-
<modelVersion>4.0.0</modelVersion>
29-
<parent>
30-
<groupId>com.iluwatar</groupId>
31-
<artifactId>java-design-patterns</artifactId>
32-
<version>1.25.0-SNAPSHOT</version>
33-
</parent>
34-
<artifactId>reader-writer-lock</artifactId>
35-
<dependencies>
36-
<dependency>
37-
<groupId>org.junit.jupiter</groupId>
38-
<artifactId>junit-jupiter-engine</artifactId>
39-
<scope>test</scope>
40-
</dependency>
41-
<dependency>
42-
<groupId>org.mockito</groupId>
43-
<artifactId>mockito-core</artifactId>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
47-
<build>
48-
<plugins>
49-
<plugin>
50-
<groupId>org.apache.maven.plugins</groupId>
51-
<artifactId>maven-assembly-plugin</artifactId>
52-
<executions>
53-
<execution>
54-
<configuration>
55-
<archive>
56-
<manifest>
57-
<mainClass>com.iluwatar.reader.writer.lock.App</mainClass>
58-
</manifest>
59-
</archive>
60-
</configuration>
61-
</execution>
62-
</executions>
63-
</plugin>
64-
</plugins>
65-
</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>reader-writer-lock</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+
<build>
47+
<plugins>
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.reader.writer.lock.App</mainClass>
57+
</manifest>
58+
</archive>
59+
</configuration>
60+
</execution>
61+
</executions>
62+
</plugin>
63+
</plugins>
64+
</build>
6665
</project>

registry/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,21 @@
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
<modelVersion>4.0.0</modelVersion>
30-
3128
<parent>
3229
<groupId>com.iluwatar</groupId>
3330
<artifactId>java-design-patterns</artifactId>
3431
<version>1.25.0-SNAPSHOT</version>
3532
</parent>
3633
<artifactId>registry</artifactId>
37-
3834
<dependencies>
3935
<dependency>
4036
<groupId>org.junit.jupiter</groupId>
4137
<artifactId>junit-jupiter-engine</artifactId>
4238
<scope>test</scope>
4339
</dependency>
4440
</dependencies>
45-
4641
<build>
4742
<plugins>
4843
<plugin>
@@ -62,5 +57,4 @@
6257
</plugin>
6358
</plugins>
6459
</build>
65-
6660
</project>

repository/pom.xml

Lines changed: 67 additions & 68 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,71 +23,70 @@
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"
27-
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
28-
<modelVersion>4.0.0</modelVersion>
29-
<parent>
30-
<groupId>com.iluwatar</groupId>
31-
<artifactId>java-design-patterns</artifactId>
32-
<version>1.25.0-SNAPSHOT</version>
33-
</parent>
34-
<artifactId>repository</artifactId>
35-
<dependencies>
36-
<dependency>
37-
<groupId>org.springframework.data</groupId>
38-
<artifactId>spring-data-jpa</artifactId>
39-
</dependency>
40-
<dependency>
41-
<groupId>org.hibernate</groupId>
42-
<artifactId>hibernate-core</artifactId>
43-
</dependency>
44-
<dependency>
45-
<groupId>commons-dbcp</groupId>
46-
<artifactId>commons-dbcp</artifactId>
47-
</dependency>
48-
<dependency>
49-
<groupId>com.h2database</groupId>
50-
<artifactId>h2</artifactId>
51-
</dependency>
52-
<dependency>
53-
<groupId>org.junit.jupiter</groupId>
54-
<artifactId>junit-jupiter-engine</artifactId>
55-
<scope>test</scope>
56-
</dependency>
57-
<dependency>
58-
<groupId>com.google.guava</groupId>
59-
<artifactId>guava</artifactId>
60-
</dependency>
61-
<dependency>
62-
<groupId>javax.xml.bind</groupId>
63-
<artifactId>jaxb-api</artifactId>
64-
</dependency>
65-
<dependency>
66-
<groupId>javax.annotation</groupId>
67-
<artifactId>javax.annotation-api</artifactId>
68-
</dependency>
69-
<dependency>
70-
<groupId>org.springframework.boot</groupId>
71-
<artifactId>spring-boot-starter-test</artifactId>
72-
</dependency>
73-
</dependencies>
74-
<build>
75-
<plugins>
76-
<plugin>
77-
<groupId>org.apache.maven.plugins</groupId>
78-
<artifactId>maven-assembly-plugin</artifactId>
79-
<executions>
80-
<execution>
81-
<configuration>
82-
<archive>
83-
<manifest>
84-
<mainClass>com.iluwatar.repository.App</mainClass>
85-
</manifest>
86-
</archive>
87-
</configuration>
88-
</execution>
89-
</executions>
90-
</plugin>
91-
</plugins>
92-
</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>repository</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.springframework.data</groupId>
37+
<artifactId>spring-data-jpa</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.hibernate</groupId>
41+
<artifactId>hibernate-core</artifactId>
42+
</dependency>
43+
<dependency>
44+
<groupId>commons-dbcp</groupId>
45+
<artifactId>commons-dbcp</artifactId>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.h2database</groupId>
49+
<artifactId>h2</artifactId>
50+
</dependency>
51+
<dependency>
52+
<groupId>org.junit.jupiter</groupId>
53+
<artifactId>junit-jupiter-engine</artifactId>
54+
<scope>test</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>com.google.guava</groupId>
58+
<artifactId>guava</artifactId>
59+
</dependency>
60+
<dependency>
61+
<groupId>javax.xml.bind</groupId>
62+
<artifactId>jaxb-api</artifactId>
63+
</dependency>
64+
<dependency>
65+
<groupId>javax.annotation</groupId>
66+
<artifactId>javax.annotation-api</artifactId>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.springframework.boot</groupId>
70+
<artifactId>spring-boot-starter-test</artifactId>
71+
</dependency>
72+
</dependencies>
73+
<build>
74+
<plugins>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-assembly-plugin</artifactId>
78+
<executions>
79+
<execution>
80+
<configuration>
81+
<archive>
82+
<manifest>
83+
<mainClass>com.iluwatar.repository.App</mainClass>
84+
</manifest>
85+
</archive>
86+
</configuration>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
</plugins>
91+
</build>
9392
</project>

repository/src/main/resources/META-INF/persistence.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<persistence version="1.0"
27-
xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
29-
26+
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
3027
<persistence-unit name="jpaData" />
31-
3228
</persistence>

0 commit comments

Comments
 (0)