In the Example there is an error in the running script of mvn (missing space)
See original GitHub issuemvn -Dokta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default \
-Dokta.oauth2.clientId={clientId} \
-Dokta.oauth2.clientSecret={clientSecret}
should be:
mvn -D okta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default \
-D okta.oauth2.clientId={clientId} \
-D okta.oauth2.clientSecret={clientSecret}
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Error "The goal you specified requires a project to execute but ...
On Windows, I got this error when running under a non-administrator command prompt. When I ran this as administrator, the error went away....
Read more >Maven Resolve Missing Artifact Error Example
In this example, we will be discussing about how to resolve “Missing Artifact” error while using Maven. Before we start with this article, ......
Read more >Failed to execute goal org.apache.maven.plugins ... - GitHub
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project navigator-sdk-examples: Compilation failure #74.
Read more >mvn clean install - a short guide to Maven - Marco Behler
mvn clean install is the command to do just that. You are calling the mvn executable, which means you need Maven installed on...
Read more >Spring Boot, Maven and Eclipse Errors and TroubleShooting ...
Tip : Example of a multi layered maven project; Error : java.lang.ClassNotFoundException; Q : Why are we not using Gradle? Eclipse.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @timsamart this helps!
I just found another ref of the same problem: https://stackoverflow.com/questions/6347985/cannot-run-maven-using-mvn-d-argument-within-microsoft-powershell-but-works
@bdemers I guess the powershell interprets
-Dokta
is the flag because mvn tries to resolve.oauth2.issuer
as a plugin which fails of course.