You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
When building master, which is currently at 0.1.7-SNAPSHOT, a maven-wrapper.jar is magically installed in target/maven-wrapper-0.1.7-SNAPSHOT/.mvn/wrapper/maven-wrapper.jar. DEBUG logging doesn't indicate anything useful. The contents are always stale with a timestamp of 4/3/2015 1:07 AM.
This jar is added to target/maven-wrapper-0.1.7-SNAPSHOT.tar.gz which is later installed in the local repository. I've found that target/maven-wrapper-0.1.7-SNAPSHOT.jar and target/maven-wrapper-0.1.7-SNAPSHOT-sources.jar are not stale. The other 3 files in target/maven-wrapper-0.1.7-SNAPSHOT.tar.gz (mvnw, mvnw.cmd and maven-wrapper.properties) are not stale.
Incidentally, all versions since 0.1.2 (i.e. 0.1.4, 0.1.5 and 0.1.6) in Maven Central contain this stale jar.
The text was updated successfully, but these errors were encountered:
After doing all that analysis, it became pretty clear the bug was introduced here. The stale maven-wrapper.jar at ${basedir}/.mvn/wrapper/maven-wrapper.jar was overwriting the project artifact for the purpose of assembling the .tar.gz distribution. A straight-forward fix is part of PR #36.
When building
master
, which is currently at0.1.7-SNAPSHOT
, amaven-wrapper.jar
is magically installed intarget/maven-wrapper-0.1.7-SNAPSHOT/.mvn/wrapper/maven-wrapper.jar
. DEBUG logging doesn't indicate anything useful. The contents are always stale with a timestamp of4/3/2015 1:07 AM
.META-INF/MANIFEST.MF:
This jar is added to
target/maven-wrapper-0.1.7-SNAPSHOT.tar.gz
which is later installed in the local repository. I've found thattarget/maven-wrapper-0.1.7-SNAPSHOT.jar
andtarget/maven-wrapper-0.1.7-SNAPSHOT-sources.jar
are not stale. The other 3 files intarget/maven-wrapper-0.1.7-SNAPSHOT.tar.gz
(mvnw
,mvnw.cmd
andmaven-wrapper.properties
) are not stale.Incidentally, all versions since 0.1.2 (i.e. 0.1.4, 0.1.5 and 0.1.6) in Maven Central contain this stale jar.
The text was updated successfully, but these errors were encountered: