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

Replace snapshots with a timestamp #147

Open
ebourg opened this issue Dec 9, 2019 · 0 comments
Open

Replace snapshots with a timestamp #147

ebourg opened this issue Dec 9, 2019 · 0 comments

Comments

@ebourg
Copy link
Contributor

ebourg commented Dec 9, 2019

When building with Maven, if the property ${project.version} is used as the package version and the version is actually a snapshot (with a -SNAPSHOT suffix), Redline throws the following error:

An Ant BuildException has occured: java.lang.IllegalArgumentException: version with value: '1.0-SNAPSHOT' contains illegal character -

It would be nice to automatically replace the -SNAPSHOT suffix with a timestamp instead, jdeb does this when building .deb packages.

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

No branches or pull requests

1 participant