ok, I could reproduce the failure on an OSX box, and only an OSX one: I 
created a Jira issue: ARCHETYPE-352 [1]

at a first glance, the OSX failure seems more logical, since the unit test 
requires maven-packaging module, that has not been installed yet (it is done 
later in the build). I'll investigate deeper, but such a different behaviour 
between platforms is suspect...

Hervé


[1] http://jira.codehaus.org/browse/ARCHETYPE-352

Le lundi 22 novembre 2010, Tamás Cservenák a écrit :
> Hi Hervé,
> 
> actually, everything (Maven CLI console output AND the surefire output) is
> in commit log:
> 
> http://svn.apache.org/viewvc?view=revision&revision=1036834
> 
> If helps:
> MacOSX, 1.6.5, java 1.6.0_22 (the "boxed" one), Maven trunk, locally built
> (Apache Maven 3.0.1-SNAPSHOT (r1035629; 2010-11-16 14:20:12+0100))
> 
> Ping me if anything else needed!
> 
> Thanks,
> ~t~
> 
> On Sun, Nov 21, 2010 at 6:24 PM, Hervé BOUTEMY <herve.bout...@free.fr>wrote:
> > uh, you have this test in error?
> > I don't have any problem on my computer, nor Hudson on grid
> > 
> > I didn't work on these unit tests before, since everything was ok: seems
> > it's
> > time to investigate
> > Can you send me the Surefire output of this failing test?
> > 
> > Hervé
> > 
> > Le vendredi 19 novembre 2010, csta...@apache.org a écrit :
> > > Author: cstamas
> > > Date: Fri Nov 19 13:37:58 2010
> > > New Revision: 1036834
> > > 
> > > URL: http://svn.apache.org/viewvc?rev=1036834&view=rev
> > > Log:
> > > ARCHETYPE-303: applied fix, externalizing all the models into separate
> > > project (except the deprecated one, that is left where it was).
> > > 
> > > Note: Before applying this change, there was test failures in
> > > archetype-common module (see below). But since this change is actually
> > > just moving/shuffling models around (no code change involved), it
> > > simply retained this fact, hence that same test still fails.
> > 
> > > Tests in error:
> > testArchetyper(org.apache.maven.archetype.test.ArchetyperRoundtripWithPro
> > x
> > 
> > > yTest)
> > 
> > -------------------------------------------------------------------------
> > --
> > 
> > > ---- Test set:
> > > org.apache.maven.archetype.test.ArchetyperRoundtripWithProxyTest
> > 
> > -------------------------------------------------------------------------
> > -
> > 
> > > ----- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> > > 91.745 sec <<< FAILURE!
> > 
> > testArchetyper(org.apache.maven.archetype.test.ArchetyperRoundtripWithPro
> > x
> > 
> > > yTest)  Time elapsed: 91.738 sec  <<< ERROR!
> > > org.apache.maven.archetype.exception.UnknownArchetype: The desired
> > > archetype does not exist (org.apache.maven.test:test-project-2:1.0) at
> > 
> > org.apache.maven.archetype.generator.DefaultArchetypeGenerator.getArchety
> > p
> > 
> > > eFile(DefaultArchetypeGenerator.java:88) at
> > 
> > org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateAr
> > c
> > 
> > > hetype(DefaultArchetypeGenerator.java:207) at
> > 
> > org.apache.maven.archetype.DefaultArchetypeManager.generateProjectFromArc
> > h
> > 
> > > etype(DefaultArchetypeManager.java:71) at
> > 
> > org.apache.maven.archetype.test.ArchetyperRoundtripWithProxyTest.testArch
> > e
> > 
> > > typer(ArchetyperRoundtripWithProxyTest.java:193)
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to