Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
minor tweaks to stack (#66)
Browse files Browse the repository at this point in the history
- renamed enforce.sh to validate.sh
- remove relativePath for parent pom from tempalte
- changed version to 0.2.1
  • Loading branch information
neeraj-laad authored Jul 11, 2019
1 parent 9eb5b86 commit afaa923
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions incubator/java-microprofile/image/Dockerfile-stack
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ ENV APPSODY_DEPS=/mvn/repository

ENV APPSODY_INSTALL="mvn -Dmaven.repo.local=/mvn/repository install -DskipTests"

ENV APPSODY_RUN="../enforce.sh && mvn -Dmaven.repo.local=/mvn/repository liberty:run"
ENV APPSODY_RUN="../validate.sh && mvn -Dmaven.repo.local=/mvn/repository liberty:run"
ENV APPSODY_RUN_ON_CHANGE="mvn -Dmaven.repo.local=/mvn/repository compile"
ENV APPSODY_RUN_KILL=false

ENV APPSODY_DEBUG="../enforce.sh && mvn -Dmaven.repo.local=/mvn/repository liberty:debug"
ENV APPSODY_DEBUG="../validate.sh && mvn -Dmaven.repo.local=/mvn/repository liberty:debug"
ENV APPSODY_DEBUG_ON_CHANGE="mvn -Dmaven.repo.local=/mvn/repository compile"
ENV APPSODY_DEBUG_KILL=false

ENV APPSODY_TEST="../enforce.sh && mvn -Dmaven.repo.local=/mvn/repository verify"
ENV APPSODY_TEST="../validate.sh && mvn -Dmaven.repo.local=/mvn/repository verify"
ENV APPSODY_TEST_ON_CHANGE=""
ENV APPSODY_TEST_KILL=false

Expand Down
2 changes: 1 addition & 1 deletion incubator/java-microprofile/image/project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>dev.appsody</groupId>
<artifactId>java-microprofile</artifactId>
<version>0.2.0</version>
<version>0.2.1</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion incubator/java-microprofile/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: java-microprofile
name: Java MicroProfile application built using Maven
version: 0.2.0
version: 0.2.1
description: Sample Java MicroProfile application built using Maven
maintainer: Neeraj Laad <neeraj.laad@gmail.com>
default-template: default
Expand Down
3 changes: 1 addition & 2 deletions incubator/java-microprofile/templates/default/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<parent>
<groupId>dev.appsody</groupId>
<artifactId>java-microprofile</artifactId>
<version>0.2.0</version>
<relativePath>../</relativePath>
<version>0.2.1</version>
</parent>

<groupId>dev.appsody.starter.java-microprofile</groupId>
Expand Down

0 comments on commit afaa923

Please sign in to comment.