Convert Gradle project to Maven

  • 진행 현황: Closed
  • 상금: $60
  • 응모작 접수(건수): 3
  • 수상자: sarismail

콘테스트 개요

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.

추천된 기술

이 콘테스트의 최상위 응모작

다른 응모작

공개 설명 게시판

  • abhishekswarnka1
    abhishekswarnka1
    • 3 년 전

    Hi i have done this job

    • 3 년 전
    1. abhishekswarnka1
      abhishekswarnka1
      • 3 년 전

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

      • 3 년 전
  • International IT Services
    콘테스트 주최자
    • 3 년 전

    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 년 전
    1. AGENT1998
      AGENT1998
      • 3 년 전

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

      • 3 년 전
    2. International IT Services
      콘테스트 주최자
      • 3 년 전

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

      • 3 년 전
  • International IT Services
    콘테스트 주최자
    • 3 년 전

    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 년 전
  • International IT Services
    콘테스트 주최자
    • 3 년 전

    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 년 전

다른 의견의 확인

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)