You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gilday <ma...@imap.cc> on 2007/10/29 11:56:01 UTC

Surefire 2.4-SNAPSHOT broken?

I've been using 2.4-SNAPSHOT for a while now, which has some fixes
needed to run JMockit tests.  Since an update on Saturday it seems to be
failing due to missing dependencies.  Is anyone else getting this and
there a way around it?

Thanks,
Martin.

[INFO] Failed to resolve artifact.

Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to
match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SN
APSHOT]
  org.codehaus.plexus:plexus-archiver:jar:null

from the specified remote repositories:
  codehaus-plugins (http://dist.codehaus.org/),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  apache.snapshots
  (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  apache.org (http://people.apache.org/repo/m2-snapshot-repository)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire 2.4-SNAPSHOT broken?

Posted by Martin Gilday <ma...@imap.cc>.
Brett,
This is the issue I am referring to:
http://jira.codehaus.org/browse/SUREFIRE-298.  I'm not too conerned
about the TestNG fixes as "COLLAB" seems to be the best version to use
for that, which seems unaffected.

We have just tried 2.3.1-SNAPSHOT and it appears to work on 2
developer's machines.

Thanks,
Martin.


----- Original message -----
From: "Brett Porter" <br...@gmail.com>
To: "Maven Users List" <us...@maven.apache.org>
Date: Mon, 29 Oct 2007 23:11:45 +1100
Subject: Re: Surefire 2.4-SNAPSHOT broken?

I have a feeling that another developer has caused a regression on
versions of Maven < 2.1 by upgrading the container. Can you confirm
what version you are using?

Martin - can you isolate the 2.4-SNAPSHOT change that makes things
work for you? perhaps we can get it included in 2.3.1 (and have you
tried 2.3.1-SNAPSHOT already, which is hopefully more stable?)

Cheers,
Brett

On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> Thanks Brett.
> It now downloads correctly but I get the following error.  Is it working
> for you now?  I think I may need to clear out part of my local repo.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Class org.codehaus.plexus.logging.console.ConsoleLogger does not
> implement the requested interface org.codehaus.plexus.logging.Logger
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IncompatibleClassChangeError: Class
> org.codehaus.plexus.logging.console.ConsoleLogger does not implement the
> requested interface org.codehaus.plexus.logging.Logger
>         at
>         org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:318)
>         at
>         org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:242)
>         at
>         org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:673)
>         at
>         org.apache.maven.surefire.booter.ForkConfiguration.createJar(ForkConfiguration.java:257)
>         at
>         org.apache.maven.surefire.booter.ForkConfiguration.createCommandLine(ForkConfiguration.java:185)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.fork(SurefireBooter.java:584)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.forkSuites(SurefireBooter.java:437)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(SurefireBooter.java:337)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:223)
>         at
>         org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:401)
>         at
>         org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>
>
>
> ----- Original message -----
> From: "Brett Porter" <br...@gmail.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Date: Mon, 29 Oct 2007 21:59:15 +1100
> Subject: Re: Surefire 2.4-SNAPSHOT broken?
>
> try again - it seemed to be corrupt metadata and has been reuploaded.
>
> http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/
>
> On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> > I've been using 2.4-SNAPSHOT for a while now, which has some fixes
> > needed to run JMockit tests.  Since an update on Saturday it seems to be
> > failing due to missing dependencies.  Is anyone else getting this and
> > there a way around it?
> >
> > Thanks,
> > Martin.
> >
> > [INFO] Failed to resolve artifact.
> >
> > Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to
> > match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SN
> > APSHOT]
> >   org.codehaus.plexus:plexus-archiver:jar:null
> >
> > from the specified remote repositories:
> >   codehaus-plugins (http://dist.codehaus.org/),
> >   codehaus.snapshots (http://snapshots.repository.codehaus.org),
> >   apache.snapshots
> >   (http://people.apache.org/repo/m2-snapshot-repository),
> >   central (http://repo1.maven.org/maven2),
> >   apache.org (http://people.apache.org/repo/m2-snapshot-repository)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Brett Porter
> Blog: http://www.devzuz.org/blogs/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire 2.4-SNAPSHOT broken?

Posted by Brett Porter <br...@gmail.com>.
I have a feeling that another developer has caused a regression on
versions of Maven < 2.1 by upgrading the container. Can you confirm
what version you are using?

Martin - can you isolate the 2.4-SNAPSHOT change that makes things
work for you? perhaps we can get it included in 2.3.1 (and have you
tried 2.3.1-SNAPSHOT already, which is hopefully more stable?)

Cheers,
Brett

On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> Thanks Brett.
> It now downloads correctly but I get the following error.  Is it working
> for you now?  I think I may need to clear out part of my local repo.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Class org.codehaus.plexus.logging.console.ConsoleLogger does not
> implement the requested interface org.codehaus.plexus.logging.Logger
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IncompatibleClassChangeError: Class
> org.codehaus.plexus.logging.console.ConsoleLogger does not implement the
> requested interface org.codehaus.plexus.logging.Logger
>         at
>         org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:318)
>         at
>         org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:242)
>         at
>         org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:673)
>         at
>         org.apache.maven.surefire.booter.ForkConfiguration.createJar(ForkConfiguration.java:257)
>         at
>         org.apache.maven.surefire.booter.ForkConfiguration.createCommandLine(ForkConfiguration.java:185)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.fork(SurefireBooter.java:584)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.forkSuites(SurefireBooter.java:437)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(SurefireBooter.java:337)
>         at
>         org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:223)
>         at
>         org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:401)
>         at
>         org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>
>
>
> ----- Original message -----
> From: "Brett Porter" <br...@gmail.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Date: Mon, 29 Oct 2007 21:59:15 +1100
> Subject: Re: Surefire 2.4-SNAPSHOT broken?
>
> try again - it seemed to be corrupt metadata and has been reuploaded.
>
> http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/
>
> On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> > I've been using 2.4-SNAPSHOT for a while now, which has some fixes
> > needed to run JMockit tests.  Since an update on Saturday it seems to be
> > failing due to missing dependencies.  Is anyone else getting this and
> > there a way around it?
> >
> > Thanks,
> > Martin.
> >
> > [INFO] Failed to resolve artifact.
> >
> > Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to
> > match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SN
> > APSHOT]
> >   org.codehaus.plexus:plexus-archiver:jar:null
> >
> > from the specified remote repositories:
> >   codehaus-plugins (http://dist.codehaus.org/),
> >   codehaus.snapshots (http://snapshots.repository.codehaus.org),
> >   apache.snapshots
> >   (http://people.apache.org/repo/m2-snapshot-repository),
> >   central (http://repo1.maven.org/maven2),
> >   apache.org (http://people.apache.org/repo/m2-snapshot-repository)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Brett Porter
> Blog: http://www.devzuz.org/blogs/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire 2.4-SNAPSHOT broken?

Posted by Martin Gilday <ma...@imap.cc>.
Thanks Brett.
It now downloads correctly but I get the following error.  Is it working
for you now?  I think I may need to clear out part of my local repo.

[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Class org.codehaus.plexus.logging.console.ConsoleLogger does not
implement the requested interface org.codehaus.plexus.logging.Logger
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IncompatibleClassChangeError: Class
org.codehaus.plexus.logging.console.ConsoleLogger does not implement the
requested interface org.codehaus.plexus.logging.Logger
        at
        org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:318)
        at
        org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:242)
        at
        org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:673)
        at
        org.apache.maven.surefire.booter.ForkConfiguration.createJar(ForkConfiguration.java:257)
        at
        org.apache.maven.surefire.booter.ForkConfiguration.createCommandLine(ForkConfiguration.java:185)
        at
        org.apache.maven.surefire.booter.SurefireBooter.fork(SurefireBooter.java:584)
        at
        org.apache.maven.surefire.booter.SurefireBooter.forkSuites(SurefireBooter.java:437)
        at
        org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(SurefireBooter.java:337)
        at
        org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:223)
        at
        org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:401)
        at
        org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)



----- Original message -----
From: "Brett Porter" <br...@gmail.com>
To: "Maven Users List" <us...@maven.apache.org>
Date: Mon, 29 Oct 2007 21:59:15 +1100
Subject: Re: Surefire 2.4-SNAPSHOT broken?

try again - it seemed to be corrupt metadata and has been reuploaded.

http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/

On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> I've been using 2.4-SNAPSHOT for a while now, which has some fixes
> needed to run JMockit tests.  Since an update on Saturday it seems to be
> failing due to missing dependencies.  Is anyone else getting this and
> there a way around it?
>
> Thanks,
> Martin.
>
> [INFO] Failed to resolve artifact.
>
> Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to
> match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SN
> APSHOT]
>   org.codehaus.plexus:plexus-archiver:jar:null
>
> from the specified remote repositories:
>   codehaus-plugins (http://dist.codehaus.org/),
>   codehaus.snapshots (http://snapshots.repository.codehaus.org),
>   apache.snapshots
>   (http://people.apache.org/repo/m2-snapshot-repository),
>   central (http://repo1.maven.org/maven2),
>   apache.org (http://people.apache.org/repo/m2-snapshot-repository)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire 2.4-SNAPSHOT broken?

Posted by Brett Porter <br...@gmail.com>.
try again - it seemed to be corrupt metadata and has been reuploaded.

http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/

On 29/10/2007, Martin Gilday <ma...@imap.cc> wrote:
> I've been using 2.4-SNAPSHOT for a while now, which has some fixes
> needed to run JMockit tests.  Since an update on Saturday it seems to be
> failing due to missing dependencies.  Is anyone else getting this and
> there a way around it?
>
> Thanks,
> Martin.
>
> [INFO] Failed to resolve artifact.
>
> Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to
> match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SN
> APSHOT]
>   org.codehaus.plexus:plexus-archiver:jar:null
>
> from the specified remote repositories:
>   codehaus-plugins (http://dist.codehaus.org/),
>   codehaus.snapshots (http://snapshots.repository.codehaus.org),
>   apache.snapshots
>   (http://people.apache.org/repo/m2-snapshot-repository),
>   central (http://repo1.maven.org/maven2),
>   apache.org (http://people.apache.org/repo/m2-snapshot-repository)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org