maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-4442) Classworlds launcher can't be found on Mac OS X
Date Fri, 13 Nov 2009 21:59:55 GMT

     [ http://jira.codehaus.org/browse/MNG-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann closed MNG-4442.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

We have Maven 3.0 running fine our the [Ubuntu box of the CI system|https://grid.sonatype.org/ci/job/maven-3.0.x-ITs/jdk=1.5,label=ubuntu/]
and I just double-checked that the run scripts from the binary distros, i.e. {{bin/mvn}} and
{{bin/mvnDebug}}, read
{noformat}
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
{noformat}
i.e. they look for the correct JAR.

bq. Renaming ${M2_HOME}/boot/plexus-classworlds-2.2.2.jar to ${M2_HOME}/boot/classworlds-2.2.2.jar
fixes the issue
This is likely caused by the invocation of a wrong run script, i.e. a {{mvn}} script from
a Maven 2.x installation.

> Classworlds launcher can't be found on Mac OS X
> -----------------------------------------------
>
>                 Key: MNG-4442
>                 URL: http://jira.codehaus.org/browse/MNG-4442
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 3.0-alpha-3
>         Environment: Mac OS X 10.5.8
>            Reporter: Tiago Fernandez
>            Assignee: Benjamin Bentmann
>
> After installing Maven 3.0-alpha-3 on Windows I can check its version without any problem,
but that's not the case for OS X:
> MacBook-Pro:~ tiago$ mvn -v
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
> Renaming ${M2_HOME}/boot/plexus-classworlds-2.2.2.jar to ${M2_HOME}/boot/classworlds-2.2.2.jar
fixes the issue, but I am sure this ain't the proper fix.
> Possibly related issue: MNG-2692

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message