Skip to content

Commit

Permalink
[Parvathy, Rahul] | Refactor. Dependency Clean Up
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh committed Oct 26, 2023
1 parent e6911d5 commit 5293d9d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 56 deletions.
55 changes: 15 additions & 40 deletions openerp-atomfeed-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,28 @@
<version>0.94-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>org.bahmni.openerp</groupId>
<artifactId>openerp-atomfeed-service</artifactId>
<version>0.94-SNAPSHOT</version>
<packaging>war</packaging>

<name>openerp-atomfeed-service</name>
<url>http://maven.apache.org</url>

<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>${httpcore.version}</version>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<!-- Spring core & mvc -->
<dependency>
<groupId>org.ict4h</groupId>
<artifactId>atomfeed-client</artifactId>
<version>${atomfeed.version}</version>
</dependency>
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>web-clients</artifactId>
<version>${web-clients.version}</version>
</dependency>
<dependency>
<groupId>org.ict4h</groupId>
<artifactId>atomfeed-spring-server</artifactId>
Expand All @@ -57,7 +47,6 @@
<artifactId>atomfeed-server</artifactId>
<version>${atomfeed.version}</version>
<type>test-jar</type>

</dependency>
<dependency>
<groupId>org.postgresql</groupId>
Expand All @@ -68,24 +57,13 @@
<artifactId>aspectjweaver</artifactId>
<version>1.7.1</version>
</dependency>
<!--
Make all spring dependencies provided
-->

<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz.version}</version>
</dependency>
<!-- CGLib for @Configuration -->
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>${cglib.version}</version>
<scope>runtime</scope>
</dependency>


<!-- Servlet Spec -->
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -125,6 +103,21 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.version}</version>
</dependency>
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>web-clients</artifactId>
<version>${web-clients.version}</version>
</dependency>
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>mail-appender</artifactId>
Expand All @@ -137,23 +130,7 @@
<version>0.94-SNAPSHOT</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
<version>3.1.5</version>
</dependency>
</dependencies>

<build>
<finalName>openerp-atomfeed-service</finalName>
<plugins>
Expand Down Expand Up @@ -192,8 +169,6 @@
</plugin>
</plugins>
</build>


<profiles>
<profile>
<id>Windows</id>
Expand Down
32 changes: 16 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,30 @@
<properties>
<java.version>17</java.version>
<cglib.version>2.2.2</cglib.version>
<quartz.version>2.3.2</quartz.version>
<atomfeed.version>1.10.1</atomfeed.version>
<psql.version>42.2.23</psql.version>
<!--<db.server>10.4.33.112</db.server>-->
<db.server>localhost</db.server>
<db.name>odoo</db.name>
<db.port>5432</db.port>
<db.user>postgres</db.user>
<db.password>postgres</db.password>
<db.schema>public</db.schema>
<jackson.version>2.13.1</jackson.version>
<httpcore.version>4.4.5</httpcore.version>
<httpClient.version>4.5.2</httpClient.version>
<httpClient.version>4.5.2</httpClient.version>
<servlet-api.version>3.0.1</servlet-api.version>
<log4j.version>2.17.1</log4j.version>
<web-clients.version>0.94.3</web-clients.version>
<javax.version>1.3.2</javax.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
Expand All @@ -47,7 +53,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand All @@ -56,24 +66,14 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.6.0</version>
<version>${psql.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
<version>3.1.5</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
Expand Down

0 comments on commit 5293d9d

Please sign in to comment.