rascal
rascal copied to clipboard
Default pom.xml file for a Rascal project does not include META-INF folder in jar
- Execute the following in Rascal REPL:
import util::Reflective;
newRascalProject(|home:///my-project-name|)
- 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)
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.