You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Unico Hommes <un...@apache.org> on 2005/05/21 14:06:17 UTC

[Maven-2] Bootstrap fails

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys :-) I just tried bootstrapping a fresh maven-2 subversion
checkout on my Mac OS 10.4.1 without much luck.

It says:

Building project in /Users/unico/Code/maven-2/maven-model
Cleaning /Users/unico/Code/maven-2/maven-model/target...
Downloading project dependencies ...
Model exists!
Generating model bindings for version '4.0.0' in project: maven-model
Exception in thread "main" java.lang.ClassNotFoundException:
org.codehaus.modello.ModelloCli
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at util.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:46)
        at MBoot.generateSources(MBoot.java:666)
        at MBoot.buildProject(MBoot.java:568)
        at MBoot.run(MBoot.java:340)
        at MBoot.main(MBoot.java:119)


Any pointers? Should I be trying any of this at all at this time?

Thanks, Unico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjyQ5cuec8tVNKAwRAjogAJ9mEuLRJUoaU6Ty30VYWT+04LdjKgCcC+iI
aZK6q3JygjXtmjA4bdrMhrI=
=wpCi
-----END PGP SIGNATURE-----


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


Re: [Maven-2] Bootstrap fails

Posted by Unico Hommes <un...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brett Porter wrote:
> Unico Hommes wrote:
> 
>> BTW, as a rather late afterthought, isn't strange that you have hourly
>> integration builds but somehow failed to pick up this problem.
> 
> 
> Correct. We don't want to slow down the hourly builds too much, but we
> should clear the repository at least daily. I've been meaning to set it
> up....

Ahh! I did notice you guys seem to be pretty well on top of things
here. I've only yet been briefly scanning maven2 code and documentation
but I definitely like what I see. I can't wait for final release. Keep
up the good work.

>> Or, perhaps even better, if it is possible at all, have some other,
>> completely separate way of verifying the integrity of a repository and
>> its contents as a whole.
> 
> 
> We do, but it has a bug that needs to be addressed wrt this conversion.
>
>>
>> -- 
>> Unico, shooting in complete darkness, making a lot of assumptions,
>> utterly ignorant of size, direction and orientation of target.
> 
> 
> LOL! Good shot :)

- --
Unico

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkcmGcuec8tVNKAwRAlLNAJ9eR1e4Z+wxQC3TdScPecFOM4TtKACfSEFW
lRJSA5JSPyUm+2eBLMXMspM=
=Ngko
-----END PGP SIGNATURE-----


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


Re: [Maven-2] Bootstrap fails

Posted by Brett Porter <br...@apache.org>.
Unico Hommes wrote:

> BTW, as a rather late afterthought, isn't strange that you have hourly
> integration builds but somehow failed to pick up this problem.

Correct. We don't want to slow down the hourly builds too much, but we 
should clear the repository at least daily. I've been meaning to set it 
up....

> Or, perhaps even better, if it is possible at all, have some other,
> completely separate way of verifying the integrity of a repository and
> its contents as a whole.

We do, but it has a bug that needs to be addressed wrt this conversion.

>
> --
> Unico, shooting in complete darkness, making a lot of assumptions,
> utterly ignorant of size, direction and orientation of target.

LOL! Good shot :)

- Brett


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


Re: [Maven-2] Bootstrap fails

Posted by Unico Hommes <un...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BTW, as a rather late afterthought, isn't strange that you have hourly
integration builds but somehow failed to pick up this problem.

Since you told me it was some corruption in the repository, does the
fact the integration build didn't fail have to do with a local
repository cache on the integration machine or something? In that case
perhaps your ci build should include flushing its local repository cache.

Or, perhaps even better, if it is possible at all, have some other,
completely separate way of verifying the integrity of a repository and
its contents as a whole.

- --
Unico, shooting in complete darkness, making a lot of assumptions,
utterly ignorant of size, direction and orientation of target.


Brett Porter wrote:
> Unico Hommes wrote:
> 
> 
>>Brett Porter wrote:
>>
>>charles:~/Code/maven-2 unico$ jar -tvf
>>~/.m2/repository/org/codehaus/[...]/modello-plugin-xpp3-1.0-alpha-2.jar
> 
> 
> The jar you should be looking for is modello-core (which would be
> referenced from modello-plugin-xpp3-1.0-alpha-2.pom in the above directory).
> 
> If you have any access to IRC, we might be able to work through it in
> realtime with you: over the web, its http://irc.codehaus.org/ under
> #maven, or you can go direct to the irc server if you prefer.
> 
> HTH,
> Brett

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkakBcuec8tVNKAwRAs4AAJ90YwreGSwVigNI23lW2GSttGF+wQCeNMgU
NNixW/yOcitoEjc2MZbmmZA=
=SXAL
-----END PGP SIGNATURE-----


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


Re: [Maven-2] Bootstrap fails

Posted by Brett Porter <br...@apache.org>.
Unico Hommes wrote:

> Brett Porter wrote:
>
> charles:~/Code/maven-2 unico$ jar -tvf
> ~/.m2/repository/org/codehaus/[...]/modello-plugin-xpp3-1.0-alpha-2.jar

The jar you should be looking for is modello-core (which would be
referenced from modello-plugin-xpp3-1.0-alpha-2.pom in the above directory).

If you have any access to IRC, we might be able to work through it in
realtime with you: over the web, its http://irc.codehaus.org/ under
#maven, or you can go direct to the irc server if you prefer.

HTH,
Brett

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


Re: [Maven-2] Bootstrap fails

Posted by Unico Hommes <un...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brett Porter wrote:
> It is working for me, but I don't have access to Mac OS X to test it.
> 
> Unico Hommes wrote:
> 
> 
>>Exception in thread "main" java.lang.ClassNotFoundException:
>>org.codehaus.modello.ModelloCli
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>>        at util.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:46)
>>        at MBoot.generateSources(MBoot.java:666)
>>        at MBoot.buildProject(MBoot.java:568)
>>        at MBoot.run(MBoot.java:340)
>>        at MBoot.main(MBoot.java:119)
> 
> 
> It may be that the modello JAR downloaded was corrupted in some way. Can
> you try removing the "org/codehaus/modello" subdirectory from your local
> repository?
> 

Hmm, no luck with that. The jar seems not to be corrupted but no
ModelloCli class appears to be in there:

charles:~/Code/maven-2 unico$ jar -tvf
~/.m2/repository/org/codehaus/[...]/modello-plugin-xpp3-1.0-alpha-2.jar
     0 Fri May 13 14:49:00 CEST 2005 META-INF/
   306 Fri May 13 14:48:58 CEST 2005 META-INF/MANIFEST.MF
     0 Fri May 13 14:49:00 CEST 2005 META-INF/plexus/
   524 Fri May 13 14:48:48 CEST 2005 META-INF/plexus/components.xml
     0 Fri May 13 14:49:00 CEST 2005 org/
     0 Fri May 13 14:49:00 CEST 2005 org/codehaus/
     0 Fri May 13 14:49:00 CEST 2005 org/codehaus/modello/
     0 Fri May 13 14:49:00 CEST 2005 org/codehaus/modello/plugin/
     0 Fri May 13 14:49:00 CEST 2005 org/codehaus/modello/plugin/xpp3/
 34224 Fri May 13 14:48:50 CEST 2005
org/codehaus/modello/plugin/xpp3/Xpp3ReaderGenerator.class
     0 Fri May 13 14:49:00 CEST 2005 META-INF/maven/
   490 Fri May 13 14:08:08 CEST 2005 META-INF/maven/pom.xml
   922 Fri May 13 14:48:50 CEST 2005
org/codehaus/modello/plugin/xpp3/AbstractXpp3Generator.class
 12847 Fri May 13 14:48:50 CEST 2005
org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.class
charles:~/Code/maven-2 unico$

- --
Unico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjzFvcuec8tVNKAwRAv/IAJwI2wrulPLw8y4WZDMLE7oSWjsWzgCePF1V
TLOkkWQNoK1jT65ISuY5PQo=
=uvE6
-----END PGP SIGNATURE-----


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


Re: [Maven-2] Bootstrap fails

Posted by Brett Porter <br...@apache.org>.
It is working for me, but I don't have access to Mac OS X to test it.

Unico Hommes wrote:

> Exception in thread "main" java.lang.ClassNotFoundException:
> org.codehaus.modello.ModelloCli
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at util.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:46)
>         at MBoot.generateSources(MBoot.java:666)
>         at MBoot.buildProject(MBoot.java:568)
>         at MBoot.run(MBoot.java:340)
>         at MBoot.main(MBoot.java:119)

It may be that the modello JAR downloaded was corrupted in some way. Can
you try removing the "org/codehaus/modello" subdirectory from your local
repository?

> Any pointers? Should I be trying any of this at all at this time?

It should be fine, but unless you are developing patches or in need of a
recent bugfix, the last release (alpha-2) should be sufficient.

Cheers,
Brett


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