juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Bognar <jamesbog...@apache.org>
Subject Re: Outreachy Internship
Date Thu, 10 Oct 2019 17:52:39 GMT
I've attached a pom.xml to the Jira ticket that should produce an
executable jar file.  The Maven project needs to extend from
org.springframework.boot/spring-boot-starter-parent to produce a
self-contained uber jar.

On Thu, Oct 10, 2019 at 12:05 PM Ishita Singh <ishitasingh1234@gmail.com> wrote:
>
> Thanks, I'll check them out.
>
> On Thu 10 Oct, 2019, 8:16 PM Ayeshmantha Perera, <akayeshmantha@gmail.com> wrote:
>>
>> Hi James and Ishita
>>
>> I created the issue to package the application as a JAR file. Which will be easy
for us to containerize the application.(https://issues.apache.org/jira/browse/JUNEAU-159)
>>
>> Ishita Maybe you also can work on the issue I think it will be a good start for you
as well.
>>
>> And Ishita it works with JDK 8 version below is the working docker file.As James
mentioned it's a java version issue.
>>
>> `
>> FROM maven:3.6.0-jdk-8-slim
>> VOLUME /tmp
>> COPY . /tmp/juneau-petstore
>> WORKDIR /tmp/juneau-petstore/juneau-petstore-server
>> ENTRYPOINT ["mvn", "spring-boot:run"]
>>
>> `
>>
>>
>>
>>
>> Thank you
>> Regards
>> Ayesh
>>
>> On Thu, Oct 10, 2019 at 2:49 PM Ayeshmantha Perera <akayeshmantha@gmail.com>
wrote:
>>>
>>> Hi James
>>>
>>> Will it be possible to have jar packaging for the pet store application?.
>>>
>>> It will be great to have that otherwise when running the docker image it's giving
the below error
>>>
>>> https://pastebin.com/JmSXsxhy
>>>
>>>
>>> Ayesh
>>>
>>>

Mime
View raw message