Build fails with long directory name - also on windows.
Upgrade maven-surefire-plugin to 2.20.1 fixes test error.


śr., 27 gru 2017 o 08:49 użytkownik Plamen Totev <plamen.iv.to...@gmail.com>
napisał:

> And if this could help (I know it's obvious but may safe time) it
> looks the reason for the failing tests is the same. The following code
> fails with assertion error:
>
>         final Manifest manifest = getJarFileManifest( jarFile );
>         String classPath = manifest.getMainAttributes().getValue(
> Attributes.Name.CLASS_PATH );
>         assertNotNull( classPath );
>
> The NullPointerExceptions from the rest of the tests are coming from
> the same expression (`manifest.getMainAttributes().getValue(
> "Class-Path" ).getBytes()`).
>
> On Wed, Dec 27, 2017 at 9:39 AM, Plamen Totev <plamen.iv.to...@gmail.com>
> wrote:
> > Hi,
> >
> > On Tue, Dec 26, 2017 at 9:01 PM, Karl Heinz Marbaise <khmarba...@gmx.de>
> wrote:
> >
> >> Is someone out there who can check the current state of maven-archiver
> git
> >> repo on Windows and can reproduce the issue ?
> >
> > I ran the build a couple of times(just in case) on Windows 10, Maven
> > 3.5.2, JDK 9.0.1 and everything is ok. And it looks like the build is
> > failing on Linux JDK 9 and Windows JDK 8 as well, so if there is a bug
> > (and not a problem with the build) then it is probably not a Windows
> > or JDK 9 related.
> >
> > Regards,
> > Plamen Totev
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to