Skip to content

Commit

Permalink
Cleaned up Maven poms
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrelle committed Oct 26, 2017
1 parent 1285880 commit d54c7a2
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 114 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Expand Up @@ -17,6 +17,26 @@
<module>spring-boot-mongo</module>
</modules>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<junit.version>4.12</junit.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
</build>

<organization>
<name>codecentric AG</name>
<url>http://www.codecentric.de</url>
Expand Down
15 changes: 7 additions & 8 deletions spring-boot-mongo/pom.xml
Expand Up @@ -3,21 +3,20 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>de.codecentric</groupId>
<artifactId>mongoboot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>SpringBoot MongoDB REST</name>
<description>Demo project for Spring Boot MongoDB</description>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.4.RELEASE</version>
<relativePath/>
</parent>

<groupId>de.codecentric</groupId>
<artifactId>mongoboot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>SpringBoot MongoDB REST</name>
<description>Demo project for Spring Boot MongoDB</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down
29 changes: 7 additions & 22 deletions springdata-jpa/pom.xml
Expand Up @@ -2,18 +2,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>de.codecentric</groupId>
<parent>
<groupId>de.codecentric</groupId>
<artifactId>springdata-examples</artifactId>
<version>1.0.0</version>
</parent>

<artifactId>springdata-jpa-examples</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>Spring Data JPA Examples</name>
<url>https://github.com/ttrelle/spring-data-examples/tree/master/springdata-jpa</url>

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

<dependencies>

<dependency>
Expand Down Expand Up @@ -44,7 +43,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -61,18 +60,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
38 changes: 7 additions & 31 deletions springdata-mongodb/pom.xml
Expand Up @@ -2,20 +2,21 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>de.codecentric</groupId>
<parent>
<groupId>de.codecentric</groupId>
<artifactId>springdata-examples</artifactId>
<version>1.0.0</version>
</parent>

<artifactId>springdata-mongodb-examples</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>Spring Data MongoDB Examples</name>
<url>https://github.com/ttrelle/spring-data-examples/tree/master/springdata-mongodb</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring.data.mongodb.version>1.9.6.RELEASE</spring.data.mongodb.version>
<mongo.driver.version>3.4.1</mongo.driver.version>
<mongo.driver.version>3.4.2</mongo.driver.version>
<spring.version>4.2.9.RELEASE</spring.version>
<junit.version>4.12</junit.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -56,33 +57,8 @@
<targetPath>test-classes</targetPath>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>


<organization>
<name>codecentric AG</name>
<url>http://www.codecentric.de</url>
</organization>

<developers>
<developer>
<name>Tobias Trelle</name>
<email>tobias.trelle@codecentric.de</email>
</developer>
</developers>

<repositories>
<repository>
<id>spring-snapshot</id>
Expand Down
26 changes: 7 additions & 19 deletions springdata-neo4j/pom.xml
Expand Up @@ -2,16 +2,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>de.codecentric</groupId>
<parent>
<groupId>de.codecentric</groupId>
<artifactId>springdata-examples</artifactId>
<version>1.0.0</version>
</parent>

<artifactId>springdata-neo4j-examples</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>Spring Data Neo4j Examples</name>
<url>http://maven.apache.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<neo4j.version>2.2.5</neo4j.version>
</properties>

Expand All @@ -27,7 +29,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -85,18 +87,4 @@

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
41 changes: 7 additions & 34 deletions springdata-redis/pom.xml
Expand Up @@ -2,18 +2,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>de.codecentric</groupId>
<parent>
<groupId>de.codecentric</groupId>
<artifactId>springdata-examples</artifactId>
<version>1.0.0</version>
</parent>

<artifactId>springdata-redis-examples</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>Spring Data Redis Examples</name>
<url>https://github.com/ttrelle/spring-data-examples/tree/master/springdata-redis</url>

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

<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
Expand All @@ -30,7 +29,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -70,30 +69,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

<organization>
<name>codecentric AG</name>
<url>http://www.codecentric.de</url>
</organization>

<developers>
<developer>
<name>Tobias Trelle</name>
<email>tobias.trelle@codecentric.de</email>
</developer>
</developers>

</project>

0 comments on commit d54c7a2

Please sign in to comment.