Spring JPA: cleaning up POM files
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Wed, 20 Jul 2016 18:11:07 +0000 (20:11 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Wed, 20 Jul 2016 18:11:07 +0000 (20:11 +0200)
SpringJava/JPA/spring-jpa-persistence/pom.xml
SpringJava/JPA/spring-jpa-resources/pom.xml
SpringJava/JPA/spring-jpa-services/pom.xml

index ac9eeda..1051ef4 100644 (file)
        <url>https://gumartinm.name/</url>
        <description>JPA Spring Framework. Persistence.</description>
 
-
-
        <dependencies>
                        
-                                       <!-- Required JPA dependencies with hibernate -->
+               <!-- Required JPA dependencies with hibernate -->
                <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <dependency>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-envers</artifactId>
-               </dependency>   
-
-                       <!--
-                               Required by spring-context for using JSR-303. See LocalValidatorFactoryBean 
-                               in rest-config.xml
-                       -->
-                       <dependency>
-                               <groupId>javax.validation</groupId>
-                               <artifactId>validation-api</artifactId>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.hibernate</groupId>
-                               <artifactId>hibernate-validator</artifactId>
-                       </dependency>
-                       
-                       
-                                               <!--
-                               Jackson JSON Processor, required by spring-webmvc. See messageConverters 
-                               in rest-config.xml
-                       -->
-                       <dependency>
-                               <groupId>com.fasterxml.jackson.core</groupId>
-                               <artifactId>jackson-databind</artifactId>
-                       </dependency>
+               </dependency>
 
-                       <!-- Using Querydsl -->
-                       <dependency>
-                               <groupId>com.querydsl</groupId>
-                               <artifactId>querydsl-apt</artifactId>
-                       </dependency>
-                       <dependency>
-                               <groupId>com.querydsl</groupId>
-                               <artifactId>querydsl-jpa</artifactId>
-                       </dependency>
+               <!--
+                       Required by spring-context for using JSR-303. See LocalValidatorFactoryBean 
+                       in rest-config.xml
+               -->
+               <dependency>
+                       <groupId>javax.validation</groupId>
+                       <artifactId>validation-api</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.hibernate</groupId>
+                       <artifactId>hibernate-validator</artifactId>
+               </dependency>
+               
+               
+               <!--
+                       Jackson JSON Processor, required by spring-webmvc. See messageConverters 
+                       in rest-config.xml
+               -->
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-databind</artifactId>
+               </dependency>
 
-                       <!-- Loading data base in run time -->
-                       <dependency>
-                               <groupId>org.liquibase</groupId>
-                               <artifactId>liquibase-core</artifactId>
-                       </dependency>
+               <!-- Using Querydsl -->
+               <dependency>
+                       <groupId>com.querydsl</groupId>
+                       <artifactId>querydsl-apt</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>com.querydsl</groupId>
+                       <artifactId>querydsl-jpa</artifactId>
+               </dependency>
 
-                       <!-- Unitary and integration tests -->
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-test</artifactId>
-                               <scope>test</scope>
-                       </dependency>
-                       <dependency>
-               <groupId>com.h2database</groupId>
-               <artifactId>h2</artifactId>
-               <scope>test</scope>
-               </dependency>
+               <!-- Loading data base in run time -->
+               <dependency>
+                       <groupId>org.liquibase</groupId>
+                       <artifactId>liquibase-core</artifactId>
+               </dependency>
 
+               <!-- Unitary and integration tests -->
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+               <groupId>com.h2database</groupId>
+               <artifactId>h2</artifactId>
+               <scope>test</scope>
+               </dependency>
        </dependencies>
+       
        <build>
                <plugins>                       
                        <!-- Using Querydsl -->
index 0c3f84f..11c746d 100644 (file)
@@ -2,7 +2,6 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
 
-
        <parent>
         <groupId>de.spring.jpa</groupId>
         <artifactId>spring-jpa-bom</artifactId>
 
        <dependencies>
                <dependency>
-                               <groupId>de.spring.jpa</groupId>
-                               <artifactId>spring-jpa-services</artifactId>
-                               <version>1.0-SNAPSHOT</version>
+                       <groupId>de.spring.jpa</groupId>
+                       <artifactId>spring-jpa-services</artifactId>
+                       <version>1.0-SNAPSHOT</version>
                </dependency>
                
-                                       <!-- REST API -->
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-webmvc</artifactId>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-oxm</artifactId>
-                       </dependency>
+               <!-- REST API -->
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-webmvc</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-oxm</artifactId>
+               </dependency>
                        
-                                               <!-- Required by spring-webmvc -->
-                       <dependency>
-                               <groupId>javax.servlet</groupId>
-                               <artifactId>javax.servlet-api</artifactId>
-                               <scope>provided</scope>
-                       </dependency>
+               <!-- Required by spring-webmvc -->
+               <dependency>
+                       <groupId>javax.servlet</groupId>
+                       <artifactId>javax.servlet-api</artifactId>
+                       <scope>provided</scope>
+               </dependency>
 
 
                        
                        
-                                       <!--
+               <!--
                        Jackson JSON Processor, required by spring-webmvc. See messageConverters
                        in rest-config.xml
                
                <artifactId>jackson-datatype-jsr310</artifactId>
                </dependency>
 
-                                       <!-- Unitary and integration tests -->
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-test</artifactId>
-                               <scope>test</scope>
-                       </dependency>
+               <!-- Unitary and integration tests -->
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 
 </project>
index 18570a6..06bbfaa 100644 (file)
                                <artifactId>spring-jpa-persistence</artifactId>
                                <version>1.0-SNAPSHOT</version>
                </dependency>
-               
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-context</artifactId>
-                       </dependency>
-               
-                                       <!-- Unitary and integration tests -->
-                       <dependency>
-                               <groupId>org.springframework</groupId>
-                               <artifactId>spring-test</artifactId>
-                               <scope>test</scope>
-                       </dependency>
+       
+               <!-- Unitary and integration tests -->
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 </project>