STAMP-project/descartes-reneri

Information about the use of Reneri

dginelli opened this issue · 5 comments

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!

@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.

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?

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?

Hello,

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

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.