Skip to content

Commit

Permalink
for #153 refactor dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 8, 2016
1 parent 501b3d8 commit 6c16d96
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 24 deletions.
8 changes: 8 additions & 0 deletions elastic-job-cloud/elastic-job-cloud-executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down
23 changes: 13 additions & 10 deletions elastic-job-cloud/elastic-job-cloud-scheduler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,7 @@
<artifactId>elastic-job-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.dangdang</groupId>
<artifactId>elastic-job-cloud-executor</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand All @@ -41,6 +32,18 @@
<groupId>com.netflix.fenzo</groupId>
<artifactId>fenzo-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
9 changes: 5 additions & 4 deletions elastic-job-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down Expand Up @@ -99,6 +95,11 @@
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions elastic-job-example/elastic-job-example-lite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies>
</project>
22 changes: 12 additions & 10 deletions elastic-job-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,12 @@
<springframework.version>4.1.1.RELEASE</springframework.version>
<slf4j.version>1.7.7</slf4j.version>
<logback.version>1.1.2</logback.version>
<commons-dbcp.version>1.4</commons-dbcp.version>
<h2.version>1.4.184</h2.version>
<mysql.version>5.1.30</mysql.version>
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
</properties>

<!--
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.30</version>
</dependency>
</dependencies>
-->

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -81,11 +73,21 @@
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons-dbcp.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit 6c16d96

Please sign in to comment.