rascal icon indicating copy to clipboard operation
rascal copied to clipboard

Default pom.xml file for a Rascal project does not include META-INF folder in jar

Open linuswagner opened this issue 2 years ago • 1 comments

  1. Execute the following in Rascal REPL:
import util::Reflective;
newRascalProject(|home:///my-project-name|)
  1. In |home:///my-project-name| run the following in your shell: mvn install

The resulting file /home/linus/.m2/repository/org/rascalmpl/my-project-name/0.1.0-SNAPSHOT/my-project-name-0.1.0-SNAPSHOT.jar (user name of course different) does not include the META-INF (and especially not the RASCAL.MF).

This causes all kinds of problems downstream, for example, the inability to resolve libraries properly (see #1905)

linuswagner avatar Jan 14 '24 12:01 linuswagner

Agreed, we need to improve the generated pom, it's good in generating a working project, but not good in generating a working library that can be referenced from another project.

DavyLandman avatar Jan 15 '24 08:01 DavyLandman