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

Can not build and install the project #10

Open
oscarlvp opened this issue Nov 23, 2021 · 3 comments
Open

Can not build and install the project #10

oscarlvp opened this issue Nov 23, 2021 · 3 comments

Comments

@oscarlvp
Copy link
Member

@IctHesbaye, it seems that I accidentally deleted the original issue.
Here is the description of what is happening on my side.

The project fails to build using JDK 16 and Maven 3.6.3.
Launching mvn install results in the following error:

Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor (default-descriptor) on project reneri: 
Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed.

The actual error seems to be:

Failed to analyze ...\.m2\repository\org\eclipse\platform\org.eclipse.core.resources\3.15.100\org.eclipse.core.resources-3.15.100.jar!/org/eclipse/core/internal/events/BuildManager$1.class
@oscarlvp
Copy link
Member Author

@IctHesbaye I would like to know what are you trying to achieve with the plugin and maybe help you with that.
Please keep in mind that this is a research prototype. It was built for Java 8 and may not be compatible with newer versions. It performs exhaustive observations that are not optimized in any way. It does not play well with tests using files or threads.
A while ago I started to re-implement the plugin to replace source code instrumentation with bytecode instrumentation at runtime and also reduce the number of observations to make it more efficient. There is not much progress on that for the moment.

@ghost
Copy link

ghost commented Mar 3, 2022

Hello @oscarlvp, I'm @IctHesbaye, I'm trying to build an educative plugin based on the output of your Descartes and Reneri plugins to help students to improve their tests suites. I tried to use Java 1.8.0_202, Apache Maven 3.6.0 (Windows) but I get the following error :

[ERROR] Failed to analyze C:\Users\vandeputs\.m2\repository\org\eclipse\platform\org.eclipse.core.resources\3.16.0\org.eclipse.core.resources-3.16.0.jar!/org/eclipse/core/internal/resources/mapping/ResourceModelProvider.class
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.854 s
[INFO] Finished at: 2022-03-03T12:16:32+01:00
[INFO] Final Memory: 33M/427M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor (default-descriptor) on project reneri: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed. IllegalArgumentException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor (default-descriptor) on project reneri: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed.

Here is the complete output.

I tried to install with older versions of maven but the error remains. Any idea what can cause this?

Thx

@oscarlvp
Copy link
Member Author

oscarlvp commented Mar 7, 2022

Hello @SamuelVandePut it seems that the issue comes from one of the dependencies of Reneri.
I would like to know more the project you are building to see if we can find a workaround and maybe reimplement the parts you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant