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

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

Open
linuswagner opened this issue Jan 14, 2024 · 1 comment
Labels

Comments

@linuswagner
Copy link

  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)

@DavyLandman
Copy link
Member

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.

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

No branches or pull requests

2 participants