Skip to content

Commit aeb1711

Browse files
committed
[BAEL-9018] - Fixed malformed POMs and remaining PMD problems
1 parent 258532c commit aeb1711

8 files changed

Lines changed: 23 additions & 21 deletions

File tree

‎apache-avro/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.baeldung</groupId>
77
<artifactId>apache-avro</artifactId>
88
<version>0.0.1-SNAPSHOT</version>
9-
<name>Apache Avro</version>
9+
<name>Apache Avro</name>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

apache-avro/src/test/java/com/baeldung/avro/util/serealization/AvroSerealizerDeSerealizerTest.java renamed to apache-avro/src/test/java/com/baeldung/avro/util/serealization/AvroSerealizerDeSerealizerUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import static org.junit.Assert.*;
1515

16-
public class AvroSerealizerDeSerealizerTest {
16+
public class AvroSerealizerDeSerealizerUnitTest {
1717

1818
AvroSerealizer serealizer;
1919
AvroDeSerealizer deSerealizer;

‎flyway/pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<properties>
6666
<flyway-core.version>5.0.2</flyway-core.version>
6767
<flyway-maven-plugin.version>5.0.2</flyway-maven-plugin.version>
68+
<h2.version>1.4.195</h2.version>
6869
</properties>
6970

7071
</project>

flyway/src/test/java/com/baeldung/flywaycallbacks/FlywayApplicationTest.java renamed to flyway/src/test/java/com/baeldung/flywaycallbacks/FlywayApplicationUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@RunWith(SpringRunner.class)
1717
@DirtiesContext(classMode = ClassMode.AFTER_EACH_TEST_METHOD)
1818
@ContextConfiguration(classes = FlywayCallbackTestConfig.class)
19-
public class FlywayApplicationTest {
19+
public class FlywayApplicationUnitTest {
2020

2121
private Log log = LogFactory.getLog(getClass());
2222

‎guest/spring-mvc/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>2.0.0.M5</version>
15+
<version>2.0.0.RELEASE</version>
1616
<relativePath /> <!-- lookup parent from repository -->
1717
</parent>
1818

‎guest/spring-security/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.0.M6</version>
14+
<version>2.0.0.RELEASE</version>
1515
<relativePath />
1616
</parent>
1717

‎pom.xml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,11 @@
611611
<module>java-websocket</module>
612612
<module>activejdbc</module>
613613
<!-- <module>animal-sniffer-mvn-plugin</module> --><!-- PMD voilation -->
614-
<!-- <module>apache-avro</module> --><!-- Malformed POM -->
614+
<module>apache-avro</module>
615615
<module>apache-bval</module>
616616
<module>apache-shiro</module>
617617
<module>apache-spark</module>
618-
<!-- <module>asciidoctor</module> --><!-- Malformed POM -->
618+
<module>asciidoctor</module>
619619
<module>checker-plugin</module>
620620
<!-- <module>core-java-10</module> --><!-- Not upgraded to java 10 -->
621621
<!-- <module>core-java-11</module> --><!-- Not upgraded to java 11 -->
@@ -624,7 +624,7 @@
624624
<module>dagger</module>
625625
<module>data-structures</module>
626626
<module>dubbo</module>
627-
<!-- <module>flyway</module> --><!-- Malformed POM -->
627+
<module>flyway</module>
628628
<!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure -->
629629
<!-- <module>java-difference-date</module> --><!-- PMD voilation -->
630630
<!-- <module>JGit</module> --><!-- Unit test failure -->
@@ -638,7 +638,7 @@
638638
<module>spring-boot-autoconfiguration</module>
639639
<module>spring-boot-custom-starter</module>
640640
<module>spring-boot-jasypt</module>
641-
<!-- <module>spring-custom-aop</module> --><!-- Malformed POM -->
641+
<module>spring-custom-aop</module>
642642
<module>spring-data-rest-querydsl</module>
643643
<!-- <module>spring-groovy</module> --><!-- PMD voilation -->
644644
<module>spring-mobile</module>
@@ -667,8 +667,8 @@
667667
<!-- <module>guest/memory-leaks</module> --><!-- guest post on different site -->
668668
<!-- <module>guest/remote-debugging</module> --><!-- guest post on different site -->
669669
<!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site -->
670-
<!-- <module>guest/spring-mvc</module> --><!-- Malformed POM -->
671-
<!-- <module>guest/spring-security</module> --><!-- Malformed POM -->
670+
<!-- <module>guest/spring-mvc</module> --><!-- guest post on different site -->
671+
<!-- <module>guest/spring-security</module> --><!-- guest post on different site -->
672672
<!-- <module>guest/thread-pools</module> --><!-- guest post on different site -->
673673
<!-- <module>guest/tomcat-app</module> --><!-- guest post on different site -->
674674
<module>jenkins/hello-world</module>
@@ -1096,23 +1096,23 @@
10961096
<module>dagger</module>
10971097
<module>data-structures</module>
10981098
<module>dubbo</module>
1099-
<!-- <module>flyway</module> --><!-- Malformed POM -->
1099+
<module>flyway</module>
11001100
<!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure -->
1101-
<!-- <module>java-difference-date</module> --><!-- PMD voilation -->
1101+
<module>java-difference-date</module>
11021102
<!-- <module>JGit</module> --><!-- Unit test failure -->
11031103
<module>jni</module>
11041104
<module>jooby</module>
11051105
<!-- <module>micronaut</module> --><!-- Not upgraded to java 9 -->
11061106
<!-- <module>microprofile</module> --><!-- Takes too much time : Downloads 93 MBs zip and .. -->
11071107
<!-- <module>muleesb</module> --><!-- load main class org.mule.munit.remote.RemoteRunner -->
11081108
<module>ratpack</module>
1109-
<!-- <module>rest-with-spark-java</module> --><!-- PMD voilation -->
1109+
<module>rest-with-spark-java</module>
11101110
<module>spring-boot-autoconfiguration</module>
11111111
<module>spring-boot-custom-starter</module>
1112-
<!-- <module>spring-boot-jasypt</module> --><!-- PMD voilation -->
1113-
<!-- <module>spring-custom-aop</module> --><!-- Malformed POM -->
1112+
<module>spring-boot-jasypt</module>
1113+
<module>spring-custom-aop</module>
11141114
<module>spring-data-rest-querydsl</module>
1115-
<!-- <module>spring-groovy</module> --><!-- PMD voilation -->
1115+
<module>spring-groovy</module>
11161116
<module>spring-mobile</module>
11171117
<module>spring-mustache</module>
11181118
<module>spring-mvc-simple</module>
@@ -1123,7 +1123,7 @@
11231123
<module>spring-roo</module>
11241124
<module>spring-security-stormpath</module>
11251125
<module>sse-jaxrs</module>
1126-
<!-- <module>static-analysis</module> --><!-- PMD voilation -->
1126+
<module>static-analysis</module>
11271127
<module>stripe</module>
11281128
<!-- <module>structurizr</module> --><!-- Artiifact not found -->
11291129
<!-- <module>Twitter4J</module> --><!-- Test failure -->
@@ -1139,8 +1139,8 @@
11391139
<!-- <module>guest/memory-leaks</module> --><!-- guest post on different site -->
11401140
<!-- <module>guest/remote-debugging</module> --><!-- guest post on different site -->
11411141
<!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site -->
1142-
<!-- <module>guest/spring-mvc</module> --><!-- Malformed POM -->
1143-
<!-- <module>guest/spring-security</module> --><!-- Malformed POM -->
1142+
<!-- <module>guest/spring-mvc</module> --><!-- guest post on different site -->
1143+
<!-- <module>guest/spring-security</module> --><!-- guest post on different site -->
11441144
<!-- <module>guest/thread-pools</module> --><!-- guest post on different site -->
11451145
<!-- <module>guest/tomcat-app</module> --><!-- guest post on different site -->
11461146
<module>jenkins/hello-world</module>
@@ -1151,7 +1151,7 @@
11511151
<module>spring-boot-h2/spring-boot-h2-database</module>
11521152
<!--module>spring-boot-h2/spring-boot-h2-remote-app</module-->
11531153
<!-- <module>guest\webservices\rest-client</module> --><!-- guest post on different site -->
1154-
<!-- <module>guest\webservices\rest-server</module> --><!-- PMD voilation -->
1154+
<!-- <module>guest\webservices\rest-server</module> --><!-- guest post on different site -->
11551155
<!-- <module>guest\webservices\spring-rest-service</module> --><!-- guest post on different site -->
11561156
</modules>
11571157

‎spring-custom-aop/pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
<subethasmtp.version>3.1.7</subethasmtp.version>
150150
<tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
151151
<guava.version>18.0</guava.version>
152+
<tomcat.version>8.0.43</tomcat.version>
152153
</properties>
153154

154155
</project>

0 commit comments

Comments
 (0)