-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Please remove the hidden .mvn directory from the source tarball #57
Comments
These files are necessary to build objenesis with maven without having maven installed. With |
Am 26.06.2017 um 01:11 schrieb Henri Tremblay:
Can you tell me which jar exactly?
|
Prebuilt jar files should never be part of any source release. Debian requires source code for everything that should be shipped in its main distribution. A jar file with class files is obviously not source. We either need the corresponding *.java files or I have to repack the tarball and remove it. Our upstream guide sums it up: https://wiki.debian.org/UpstreamGuide I'm quite sure there is a way in Github to exclude files before they are included in the release tarballs. Jars just increase the size of the tarball and Linux distributions will always build Objenesis with the packaged Maven version anyway. I had no problems with building the latest release without the maven-wrapper.jar. |
In general it works. But nothing is guaranteed. I get what Debian needs. But it means to be less nice for everyone else. I'm looking for exclusions on the github git archive. Is it complicated for you to ignore? |
Ok. I should have fixed it. Can you do a git archive from HEAD (or a tag that I create) or I need to do an actual release? |
Am 26.06.2017 um 05:54 schrieb Henri Tremblay:
Ok. I should have fixed it. Can you do a git archive from HEAD (or a tag
that I create) or I need to do an actual release?
You don't need to do a new release just because of this bug. But it
would be nice if the jar was no longer included in the source tarball
when you do your next release.
|
Excellent. Should be the case |
Hi,
please consider to remove the hidden .mvn/wrapper directory and the included jar file from the source releases. It is actually not needed to build objenesis and comes without source and thus has to be removed when it is distributed by Debian or other distributions.
The text was updated successfully, but these errors were encountered: