You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/12/02 04:51:57 UTC

[jira] Deleted: (MAVEN-658) Running jar:install with an empty local repository fails

Message:

  The following issue has been deleted from JIRA.

---------------------------------------------------------------------

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-658
    Summary: Running jar:install with an empty local repository fails
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Assignee: 
   Reporter: Brent Hale

    Created: Wed, 6 Aug 2003 11:22 AM
    Updated: Fri, 15 Aug 2003 5:01 AM
Environment: Win XP

Description:
If you start with an empty repository doing a "maven jar:install" does not download all jars without failure.  It crashes with the stack trace below.


>>>>>[exec] Attempting to download velocity-1.3.jar.
>>>>>      [exec] Error retrieving artifact from
>>>>>[http://ntbs01.forum-informatik.ch:82/webapp/maven_repository/
>>>>>velocity/jars/
>>>>>velocity-1.3.jar]: java.lang.Exception: Can't get velocity-1.3.jar 

to

C:\WINDOWS\Profiles\exgoos\.maven\repository\velocity\jars\vel
ocity-1.3.jar
[exec]
..............................................................
..............
.....
[exec] .
[exec] java.lang.ClassNotFoundException: velocity
[exec]    at 
java.net.URLClassLoader$1.run(URLClassLoader.java:198)
[exec]    at 
java.security.AccessController.doPrivileged(NativeMethod)
[exec]    at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
[exec]    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[exec]    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
[exec]    at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.
java:1039)
[exec]    at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
[exec]    at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)


The work-around is to run "maven jar" first.  It will download everything properly and all subsequent "maven jar:install" will work.  



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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