Skip to content

Commit

Permalink
Remove LogManager property in Quarkus stacks
Browse files Browse the repository at this point in the history
fixes devfile/api#1612

it is causing stacktraces:
```
tools: Could not load Logmanager "org.jboss.logmanager.LogManager"
tools: java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
tools:  at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
```

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Jul 4, 2024
1 parent bf40d90 commit ad0ad12
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions stacks/java-quarkus/1.3.0/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0'
hotReloadCapable: true
group:
kind: run
Expand All @@ -59,7 +59,7 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-quarkus/1.3.1/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0'
hotReloadCapable: true
group:
kind: run
Expand All @@ -58,7 +58,7 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-quarkus/1.4.0/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0'
hotReloadCapable: true
group:
kind: run
Expand All @@ -60,7 +60,7 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-quarkus/1.4.1/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0'
hotReloadCapable: true
group:
kind: run
Expand All @@ -59,7 +59,7 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-quarkus/1.5.0/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0'
hotReloadCapable: true
group:
kind: run
Expand All @@ -59,7 +59,7 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
commandLine: './mvnw -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
Expand Down

0 comments on commit ad0ad12

Please sign in to comment.