Convert Gradle project to Maven

  • Status: Closed
  • Prize: $60
  • Entries Received: 3
  • Winner: sarismail

Contest Brief

Make these two Java Spring Boot projects build with Maven, instead of Gradle.
First project:
https://github.com/networkinss/gemini
Second project:
https://github.com/networkinss/gemini-psql-starter

Requirements: Gradle, Maven, Docker, Docker-compose, Postgresql, Java 10.

Use git branch: "develop".

The second project is a sample project on how to use the first project (Gemini).

The goal is to make adjustments to the first project.
And make it immediately available for the second project.
I currently made it in the second project with a local jar reference.
<systemPath>${project.basedir}/libs/gemini-postgresql-0.3.2.jar</systemPath>
That means you have to build the first project, take the jar from the submodule gemini/gemini-postgresql
and put it into the above path for the second project.

You do not have to remove Gradle.
The best solution is if it will work both Gradle and Maven.
But the preferred solution is Maven.

First step
1. https://github.com/networkinss/gemini
The first step is to make it work with Gradle.

It currently fails because it uses tests with a PostgreSQL database.
The postgresql with credentials is mentioned in
gemini/gemini-postgresql/src/test/resources/application.properties

It shall be transformed into a Maven project.

Output shall be all working jars from all submodules.
The jar from gemini/gemini-postgresql will be tested with the second (sample) project.

Second step
2. Sample project for step 1:
https://github.com/networkinss/gemini-psql-starter
It shall be transformed into a Maven project.

It has a local reference in the pom.xml in folder libs:
<systemPath>${project.basedir}/libs/gemini-postgresql-0.3.2.jar</systemPath>
The jar built in step 1 shall be put there.
Make the project compile correctly.

This sample project shall become a spring boot application.
That might conflict with the library from step 1 and has to be checked.

Problems:
Gradle build does not work for step 1 Gemini project, obviously
because of a missing Postgresql database.
I tried to create that database, but it did not resolve the issue.
Make a description with steps how to provide the database (see tip below).

Tip:
The second project contains a running docker-compose postgresql database
together with pgadmin instance.
It should be possible to use it together with gemini project, just application.properties
has to be adjusted accordingly.
Look into gemini-psql-starter/docker for that.

You do not have to use current pom.xmls, that was just a first try.

Recommended Skills

Top entries from this contest

View More Entries

Public Clarification Board

  • abhishekswarnka1
    abhishekswarnka1
    • 3 years ago

    Hi i have done this job

    • 3 years ago
    1. abhishekswarnka1
      abhishekswarnka1
      • 3 years ago

      seems like I am not be able to paste the screen shot for this contest

      • 3 years ago
  • International IT Services
    Contest Holder
    • 3 years ago

    Please post your running Maven build (Build success) and a screenshot of
    the filesystem of Gemini project with expanded target folders of all submodules.
    Ensure you have a parent pom.xml for the submodules.

    • 3 years ago
    1. AGENT1998
      AGENT1998
      • 3 years ago

      sir, i can do it...but before start working on your project, let's discuss..plzz inbox

      • 3 years ago
    2. International IT Services
      Contest Holder
      • 3 years ago

      I see no option in freelancer.com to chat with participants before I awarded them.

      • 3 years ago
  • International IT Services
    Contest Holder
    • 3 years ago

    mvn archetype:generate
    can be used to create a spring boot application pom.xml.
    You can choose any of the org.springframework.boot:spring-boot-sample
    archetypes.

    • 3 years ago
  • International IT Services
    Contest Holder
    • 3 years ago

    I heard from the freelancer support that you requested this to be a guaranteed contest.
    I do not see your comments until you submitted something.

    I upgraded it accordingly.

    • 3 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!