Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #46

Closed
AyaanMahir opened this issue May 20, 2019 · 4 comments
Closed

Build Error #46

AyaanMahir opened this issue May 20, 2019 · 4 comments
Labels
question Further information is requested

Comments

@AyaanMahir
Copy link

I am trying to setup this project as maven to try out the examples for my usecase implementation understanding,
However, I am facing the build error complaining the lifecycle configuration related to the derived parent pom(okta-parent) for the below goals. could you point me where i am going wrong.


addSources
addTestSources
generateStubs
compile
generateTestStubs
compileTests
removeStubs
removeTestStubs

@bdemers
Copy link
Contributor

bdemers commented May 20, 2019

Hey @AyaanMahir!

What versions are you using (maven, Java, this project)? Are you trying to build master, or including the dependent in your project? What error message are you seeing?

@AyaanMahir
Copy link
Author

Thank you for the quick reply!
I am trying to build the master for now, Maven version is - 3.3.9 and java is 1.8.
The project where i will be including is also having the maven version as 3.3.9 , but java is 1.7 ., please let me know if any concerns with the versions. The issue seems to be more with Maven version only.

The error shows tag of individual modules:
Plugin execution not covered by lifecycle configuration: org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:removeTestStubs (execution: default, phase: test-compile)
Plugin execution not covered by lifecycle configuration: org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:compile (execution: default, phase: compile)
Plugin execution not covered by lifecycle configuration: org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:removeStubs (execution: default, phase: compile)
Plugin execution not covered by lifecycle configuration: org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:addTestSources (execution: default, phase: initialize)
Plugin execution not covered by lifecycle configuration: org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:compileTests (execution: default, phase: test-compile)

@bdemers
Copy link
Contributor

bdemers commented May 20, 2019

Try using ./mvnw script instead, that will use 3.6.0
You will also need at least Java 1.8.

Generally you don't need to build the project (unless you are trying fork or submit patches)
You can see a servlet example that uses the project here: https://github.com/okta/samples-java-servlet

That said, if you want to build it, please attach the full maven log and i should be able to point you in the right direction

@bdemers bdemers added the question Further information is requested label May 20, 2019
@AyaanMahir
Copy link
Author

Ok., Thank you Brian!!

@bdemers bdemers closed this as completed May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants