[BAEL-9018] - Fixed malformed POMs and remaining PMD problems

This commit is contained in:
amit2103 2018-09-29 23:22:40 +05:30
parent 258532c40f
commit aeb1711397
8 changed files with 23 additions and 21 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>apache-avro</artifactId> <artifactId>apache-avro</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>Apache Avro</version> <name>Apache Avro</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -13,7 +13,7 @@ import java.util.Objects;
import static org.junit.Assert.*; import static org.junit.Assert.*;
public class AvroSerealizerDeSerealizerTest { public class AvroSerealizerDeSerealizerUnitTest {
AvroSerealizer serealizer; AvroSerealizer serealizer;
AvroDeSerealizer deSerealizer; AvroDeSerealizer deSerealizer;

View File

@ -65,6 +65,7 @@
<properties> <properties>
<flyway-core.version>5.0.2</flyway-core.version> <flyway-core.version>5.0.2</flyway-core.version>
<flyway-maven-plugin.version>5.0.2</flyway-maven-plugin.version> <flyway-maven-plugin.version>5.0.2</flyway-maven-plugin.version>
<h2.version>1.4.195</h2.version>
</properties> </properties>
</project> </project>

View File

@ -16,7 +16,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@DirtiesContext(classMode = ClassMode.AFTER_EACH_TEST_METHOD) @DirtiesContext(classMode = ClassMode.AFTER_EACH_TEST_METHOD)
@ContextConfiguration(classes = FlywayCallbackTestConfig.class) @ContextConfiguration(classes = FlywayCallbackTestConfig.class)
public class FlywayApplicationTest { public class FlywayApplicationUnitTest {
private Log log = LogFactory.getLog(getClass()); private Log log = LogFactory.getLog(getClass());

View File

@ -12,7 +12,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M5</version> <version>2.0.0.RELEASE</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath /> <!-- lookup parent from repository -->
</parent> </parent>

View File

@ -11,7 +11,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M6</version> <version>2.0.0.RELEASE</version>
<relativePath /> <relativePath />
</parent> </parent>

32
pom.xml
View File

@ -611,11 +611,11 @@
<module>java-websocket</module> <module>java-websocket</module>
<module>activejdbc</module> <module>activejdbc</module>
<!-- <module>animal-sniffer-mvn-plugin</module> --><!-- PMD voilation --> <!-- <module>animal-sniffer-mvn-plugin</module> --><!-- PMD voilation -->
<!-- <module>apache-avro</module> --><!-- Malformed POM --> <module>apache-avro</module>
<module>apache-bval</module> <module>apache-bval</module>
<module>apache-shiro</module> <module>apache-shiro</module>
<module>apache-spark</module> <module>apache-spark</module>
<!-- <module>asciidoctor</module> --><!-- Malformed POM --> <module>asciidoctor</module>
<module>checker-plugin</module> <module>checker-plugin</module>
<!-- <module>core-java-10</module> --><!-- Not upgraded to java 10 --> <!-- <module>core-java-10</module> --><!-- Not upgraded to java 10 -->
<!-- <module>core-java-11</module> --><!-- Not upgraded to java 11 --> <!-- <module>core-java-11</module> --><!-- Not upgraded to java 11 -->
@ -624,7 +624,7 @@
<module>dagger</module> <module>dagger</module>
<module>data-structures</module> <module>data-structures</module>
<module>dubbo</module> <module>dubbo</module>
<!-- <module>flyway</module> --><!-- Malformed POM --> <module>flyway</module>
<!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure --> <!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure -->
<!-- <module>java-difference-date</module> --><!-- PMD voilation --> <!-- <module>java-difference-date</module> --><!-- PMD voilation -->
<!-- <module>JGit</module> --><!-- Unit test failure --> <!-- <module>JGit</module> --><!-- Unit test failure -->
@ -638,7 +638,7 @@
<module>spring-boot-autoconfiguration</module> <module>spring-boot-autoconfiguration</module>
<module>spring-boot-custom-starter</module> <module>spring-boot-custom-starter</module>
<module>spring-boot-jasypt</module> <module>spring-boot-jasypt</module>
<!-- <module>spring-custom-aop</module> --><!-- Malformed POM --> <module>spring-custom-aop</module>
<module>spring-data-rest-querydsl</module> <module>spring-data-rest-querydsl</module>
<!-- <module>spring-groovy</module> --><!-- PMD voilation --> <!-- <module>spring-groovy</module> --><!-- PMD voilation -->
<module>spring-mobile</module> <module>spring-mobile</module>
@ -667,8 +667,8 @@
<!-- <module>guest/memory-leaks</module> --><!-- guest post on different site --> <!-- <module>guest/memory-leaks</module> --><!-- guest post on different site -->
<!-- <module>guest/remote-debugging</module> --><!-- guest post on different site --> <!-- <module>guest/remote-debugging</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site --> <!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-mvc</module> --><!-- Malformed POM --> <!-- <module>guest/spring-mvc</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-security</module> --><!-- Malformed POM --> <!-- <module>guest/spring-security</module> --><!-- guest post on different site -->
<!-- <module>guest/thread-pools</module> --><!-- guest post on different site --> <!-- <module>guest/thread-pools</module> --><!-- guest post on different site -->
<!-- <module>guest/tomcat-app</module> --><!-- guest post on different site --> <!-- <module>guest/tomcat-app</module> --><!-- guest post on different site -->
<module>jenkins/hello-world</module> <module>jenkins/hello-world</module>
@ -1096,9 +1096,9 @@
<module>dagger</module> <module>dagger</module>
<module>data-structures</module> <module>data-structures</module>
<module>dubbo</module> <module>dubbo</module>
<!-- <module>flyway</module> --><!-- Malformed POM --> <module>flyway</module>
<!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure --> <!-- <module>grpc</module> --><!-- protobuf-maven-plugin filecopy failure -->
<!-- <module>java-difference-date</module> --><!-- PMD voilation --> <module>java-difference-date</module>
<!-- <module>JGit</module> --><!-- Unit test failure --> <!-- <module>JGit</module> --><!-- Unit test failure -->
<module>jni</module> <module>jni</module>
<module>jooby</module> <module>jooby</module>
@ -1106,13 +1106,13 @@
<!-- <module>microprofile</module> --><!-- Takes too much time : Downloads 93 MBs zip and .. --> <!-- <module>microprofile</module> --><!-- Takes too much time : Downloads 93 MBs zip and .. -->
<!-- <module>muleesb</module> --><!-- load main class org.mule.munit.remote.RemoteRunner --> <!-- <module>muleesb</module> --><!-- load main class org.mule.munit.remote.RemoteRunner -->
<module>ratpack</module> <module>ratpack</module>
<!-- <module>rest-with-spark-java</module> --><!-- PMD voilation --> <module>rest-with-spark-java</module>
<module>spring-boot-autoconfiguration</module> <module>spring-boot-autoconfiguration</module>
<module>spring-boot-custom-starter</module> <module>spring-boot-custom-starter</module>
<!-- <module>spring-boot-jasypt</module> --><!-- PMD voilation --> <module>spring-boot-jasypt</module>
<!-- <module>spring-custom-aop</module> --><!-- Malformed POM --> <module>spring-custom-aop</module>
<module>spring-data-rest-querydsl</module> <module>spring-data-rest-querydsl</module>
<!-- <module>spring-groovy</module> --><!-- PMD voilation --> <module>spring-groovy</module>
<module>spring-mobile</module> <module>spring-mobile</module>
<module>spring-mustache</module> <module>spring-mustache</module>
<module>spring-mvc-simple</module> <module>spring-mvc-simple</module>
@ -1123,7 +1123,7 @@
<module>spring-roo</module> <module>spring-roo</module>
<module>spring-security-stormpath</module> <module>spring-security-stormpath</module>
<module>sse-jaxrs</module> <module>sse-jaxrs</module>
<!-- <module>static-analysis</module> --><!-- PMD voilation --> <module>static-analysis</module>
<module>stripe</module> <module>stripe</module>
<!-- <module>structurizr</module> --><!-- Artiifact not found --> <!-- <module>structurizr</module> --><!-- Artiifact not found -->
<!-- <module>Twitter4J</module> --><!-- Test failure --> <!-- <module>Twitter4J</module> --><!-- Test failure -->
@ -1139,8 +1139,8 @@
<!-- <module>guest/memory-leaks</module> --><!-- guest post on different site --> <!-- <module>guest/memory-leaks</module> --><!-- guest post on different site -->
<!-- <module>guest/remote-debugging</module> --><!-- guest post on different site --> <!-- <module>guest/remote-debugging</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site --> <!-- <module>guest/spring-boot-app</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-mvc</module> --><!-- Malformed POM --> <!-- <module>guest/spring-mvc</module> --><!-- guest post on different site -->
<!-- <module>guest/spring-security</module> --><!-- Malformed POM --> <!-- <module>guest/spring-security</module> --><!-- guest post on different site -->
<!-- <module>guest/thread-pools</module> --><!-- guest post on different site --> <!-- <module>guest/thread-pools</module> --><!-- guest post on different site -->
<!-- <module>guest/tomcat-app</module> --><!-- guest post on different site --> <!-- <module>guest/tomcat-app</module> --><!-- guest post on different site -->
<module>jenkins/hello-world</module> <module>jenkins/hello-world</module>
@ -1151,7 +1151,7 @@
<module>spring-boot-h2/spring-boot-h2-database</module> <module>spring-boot-h2/spring-boot-h2-database</module>
<!--module>spring-boot-h2/spring-boot-h2-remote-app</module--> <!--module>spring-boot-h2/spring-boot-h2-remote-app</module-->
<!-- <module>guest\webservices\rest-client</module> --><!-- guest post on different site --> <!-- <module>guest\webservices\rest-client</module> --><!-- guest post on different site -->
<!-- <module>guest\webservices\rest-server</module> --><!-- PMD voilation --> <!-- <module>guest\webservices\rest-server</module> --><!-- guest post on different site -->
<!-- <module>guest\webservices\spring-rest-service</module> --><!-- guest post on different site --> <!-- <module>guest\webservices\spring-rest-service</module> --><!-- guest post on different site -->
</modules> </modules>

View File

@ -149,6 +149,7 @@
<subethasmtp.version>3.1.7</subethasmtp.version> <subethasmtp.version>3.1.7</subethasmtp.version>
<tomee-servlet-api.version>8.5.11</tomee-servlet-api.version> <tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
<guava.version>18.0</guava.version> <guava.version>18.0</guava.version>
<tomcat.version>8.0.43</tomcat.version>
</properties> </properties>
</project> </project>