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

Better maven p2 DSL #57

Open
nedtwigg opened this issue Jan 21, 2023 · 0 comments
Open

Better maven p2 DSL #57

nedtwigg opened this issue Jan 21, 2023 · 0 comments
Labels
enhancement New feature or request plugin-maven

Comments

@nedtwigg
Copy link
Collaborator

The p2 DSL for maven is quite verbose

<p2repos>
  <p2repo>https://download.eclipse.org/eclipse/updates/4.26/</p2repo>
</p2repos>
<installs>
  <install>org.eclipse.swt</install>
</installs>

It would be a lot better if we could just do

<p2repo>https://download.eclipse.org/eclipse/updates/4.26/</p2repo>
<install>org.eclipse.swt</install>

The code for the DSL as it exists is very simple

@Parameter private List<String> p2repos = new ArrayList<>();
@Parameter private List<String> installs = new ArrayList<>();

If there's a way (even a complicated way) to move to the simpler DSL, that would be great!

@nedtwigg nedtwigg added enhancement New feature or request plugin-maven labels Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin-maven
Projects
None yet
Development

No branches or pull requests

1 participant