Hi All,

OK, we might have a short delay in getting a first beta of 12.3 built
due to a curious issue with the Jenkins build.

The build task is failing with the following messages -

[downloadbinaries] Creating
/home/jenkins/workspace/netbeans-TLP_netbeans_release123/verify-libs-and-licenses-release-temp/ide/db.dataview/external/poi-4.1.2.jar
[downloadbinaries] Downloading:
file:/home/jenkins/.m2/repository/org/apache/poi/poi/4.1.2/poi-4.1.2.jar
[downloadbinaries] Download of
964BF41CF68BCE08E4EF6B2279B559FDF8D454F4-poi-4.1.2.jar produced
content with hash 4081B4C3E3DC17AC0F85430B84BE6F67AEF2D62D when
964BF41CF68BCE08E4EF6B2279B559FDF8D454F4 was expected
[downloadbinaries] Creating
/home/jenkins/workspace/netbeans-TLP_netbeans_release123/verify-libs-and-licenses-release-temp/ide/db.dataview/external/poi-ooxml-4.1.2.jar
[downloadbinaries] Downloading:
file:/home/jenkins/.m2/repository/org/apache/poi/poi-ooxml/4.1.2/poi-ooxml-4.1.2.jar
[downloadbinaries] Download of
87D9A22AA9A7DD26E80C360E709F7EE02E32AB3B-poi-ooxml-4.1.2.jar produced
content with hash CF9B954777B4319CDDC3E07902195A0976CBA8B9 when
87D9A22AA9A7DD26E80C360E709F7EE02E32AB3B was expected

It would appear that the local Maven cache on Jenkins for those two
files isn't accurate.  Is that due to running as the same user as
other projects (ie. POI)?  If so, any better way to isolate?

The code at 
https://github.com/apache/netbeans/blob/master/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java#L178
should perhaps be checking the hash and trying the next URL if wrong?
But that might involve some restructuring unless we check the file
hash twice.

We could remove all use of .m2 local cache?

Or, possibly put use of .m2 local cache behind an off-by-default flag?

Thoughts?

Thanks and best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to