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

Information about the use of Reneri #8

Open
dginelli opened this issue Mar 13, 2020 · 5 comments
Open

Information about the use of Reneri #8

dginelli opened this issue Mar 13, 2020 · 5 comments

Comments

@dginelli
Copy link

Hi, I'm trying to use Reneri, but I have some problems.

I created a simple Java project, then I executed Descartes, generating the report in different formats (JSON, METHODS, and ISSUES). The report files are in the target/pit-reports folder of the project.

Then, I tried to run Reneri with the commands described in the README, but I got the following error:

Error resolving version for plugin 'eu.stamp-project:reneri' from the repositories [local (/home/davide/.m2/repository), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository ->

If I understood right, I can directly run the plugin without changing anything in the pom.xml file associated with the project that I want to analyze.

I also tried to clone and compile directly descartes-reneri to get the JAR, but I got the following error:

[ERROR] Failed to execute goal on project reneri: Could not resolve dependencies for project eu.stamp-project:reneri:maven-plugin:1.0-EXPERIMENTS: 
Failed to collect dependencies at org.mapdb:mapdb:jar:3.0.7 -> org.eclipse.collections:eclipse-collections-api:jar:8.1.0-SNAPSHOT: 
Failed to read artifact descriptor for org.eclipse.collections:eclipse-collections-api:jar:8.1.0-SNAPSHOT: 
Could not transfer artifact org.eclipse.collections:eclipse-collections-api:pom:8.1.0-SNAPSHOT from/to inria (http://maven.inria.fr/artifactory/triskell-public-release): 
Failed to transfer file: http://maven.inria.fr/artifactory/triskell-public-release/org/eclipse/collections/eclipse-collections-api/8.1.0-SNAPSHOT/eclipse-collections-api-8.1.0-SNAPSHOT.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]

I tried to use Reneri with these environments:

  • Ubuntu 18.04, Java 1.8.0_231, Apache Maven 3.6.0;
  • macOS 10.15.3, Java 1.8.0_221, Apache Maven 3.6.2.

Could you please tell me if I'm doing something wrong or if the problem is another one? Thank you!

@oscarlvp
Copy link
Member

@dginelli
The first problem is that you have to install Reneri locally. It is not released in Maven Central, so you need to clone the repo and build i with mvn install as I suppose you did.
The second issue, that prevents you from building the tool, seems to be a dependency conflict. I'll dig into it, but I plan to discontinue this version and focus on a new version.

@Samuel-VandePut
Copy link

Hi,

I tried to build the repo as you proposed. I had first to add pitest dependency. On nvm install I got the following error :
Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.3:descriptor (default-descriptor) on project reneri: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.3:descriptor failed.

Any idea what cause this?

@oscarlvp
Copy link
Member

Hello @IctHesbaye thank you for your interest in Reneri. There should be a detailed error message if you execute Maven in verbose mode, can you share it?

@Samuel-VandePut
Copy link

Hello,

Thank you for your response. Here is the complete output-file.
For info, your plugins are the main subject for my master thesis.

@oscarlvp
Copy link
Member

Something weird had happened. Some weeks ago this issue was not available. I thought I deleted it by accident and so I created #10. Now this issue is back. Anyways @IctHesbaye please see #10 for a discussion on the issue you are having.

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

3 participants