Skip to content

Conversation

@jurgenvinju
Copy link
Member

@jurgenvinju jurgenvinju commented Jan 23, 2026

To include a package into the site the following snippets have to be added all over the pom.xml of rascal-website:

<artifactItem>
                                    <groupId>edu.appstate.cs</groupId>
                                    <artifactId>rascal-git</artifactId>
                                    <version>${rascal-git.version}</version>
                                    <outputDirectory>${project.basedir}</outputDirectory>
                                    <includes>docs/**/*.*</includes>
                                    <excludes>docs/index.value</excludes>
                                </artifactItem>
<dependency>            
            <groupId>edu.appstate.cs</groupId>
            <artifactId>rascal-git</artifactId>
            <version>${rascal-git.version}</version>
        </dependency>
<rascal-git.version>0.1.17</rascal-git.version>

And I'd like to reduce this to:

<dependency>            
            <groupId>edu.appstate.cs</groupId>
            <artifactId>rascal-git</artifactId>
            <version>0.1.17</version>
        </dependency>

By unpacking the dependencies ourselves with the tutor: copy(lib + "docs", bin + "docs", recursive=true) the pom file does not need to configure an unpack stage anymore.

This feature will be enabled using the includeLibraries option of the rascal-maven-plugin for the tutor. It is off by default. The pom of the rascal-website will add it to the <configuration> of the tutor.

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (c275bc9) to head (2fe3b69).

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #2603   +/-   ##
=======================================
  Coverage       46%     46%           
- Complexity    6651    6652    +1     
=======================================
  Files          793     793           
  Lines        65697   65697           
  Branches      9839    9839           
=======================================
  Hits         30617   30617           
+ Misses       32718   32717    -1     
- Partials      2362    2363    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

1 participant