maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Hale <br...@eventronix.com>
Subject Re: Problems with jar:install
Date Tue, 05 Aug 2003 18:23:32 GMT
I don't have an empty repository anymore...but all of the other 
developers on my team will start out with empty repositories.

Brent


dion@multitask.com.au wrote:

>How can you have an empty repository if you've run maven?
>--
>dIon Gillard, Multitask Consulting
>Blog:      http://blogs.codehaus.org/people/dion/
>
>
>Brent Hale <brent@eventronix.com> wrote on 06/08/2003 02:08:56 AM:
>
>  
>
>>Is there already a bug entered for this? 
>>
>>I'm trying to get ready to deploy Maven throughout our team and ideally 
>>they should only call maven the first time and have it work for them. 
>>But I currently use jar:install as the default goal throughout my 
>>subprojects and so new developers will choke the first time running it 
>>without hand-holding.
>>
>>Thanks,
>>Brent
>>
>>
>>Robles, Rogelio wrote:
>>
>>    
>>
>>>The same thing happens to me. The condition is running jar:install with 
>>>      
>>>
>an
>  
>
>>>empty repository, happens in in beta-10.
>>>
>>>Rogelio
>>>
>>>
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Christian Goos [mailto:Christian.Goos@forum-informatik.ch]
>>>>Sent: Thursday, July 31, 2003 4:45 AM
>>>>To: 'Maven Users List'
>>>>Subject: Problems with jar:install
>>>>
>>>>
>>>>Hi,
>>>>
>>>>When running maven for the first time on a machine I have the 
>>>>following
>>>>problem:
>>>>
>>>>When I run the jar:install-goal for the first time, maven 
>>>>starts downloading
>>>>the required plugins.
>>>>However it fails with the stack trace below.
>>>>When I just run it again, maven continues to download the missing
>>>>velocity-jar and from that on everything works fine.
>>>>
>>>>What is the reason for this?
>>>>
>>>>Thanks 
>>>>Christian
>>>>[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(Native
>>>>Method)
>>>>       [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(XMLPars
>>>>er.java:647)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractSAXParser.startElement(Unkno
>>>>wn Source)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
>>>>ContentDispatc
>>>>her.dispatch(Unknown Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
>>>>ment(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:734)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepForGoal(PluginManage
>>>>r.java:526)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.attainGoals(PluginManage
>>>>r.java:415)
>>>>       [exec]    at
>>>>org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
>>>>       [exec]    at org.apache.maven.cli.App.doMain(App.java:525)
>>>>       [exec]    at org.apache.maven.cli.App.main(App.java:1088)
>>>>       [exec]    at 
>>>>sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>>Method)
>>>>       [exec]    at
>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
>>>>orImpl.java:39
>>>>)
>>>>       [exec]    at
>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
>>>>odAccessorImpl
>>>>.java:25)
>>>>       [exec]    at 
>>>>java.lang.reflect.Method.invoke(Method.java:324)
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.run(Forehead.java:543)
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.main(Forehead.java:573)
>>>>       [exec] java.lang.ClassNotFoundException: velocity
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.createSAXException(X
>>>>MLParser.java:
>>>>1234)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.
>>>>java:1044)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.startElement(XMLPars
>>>>er.java:647)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractSAXParser.startElement(Unkno
>>>>wn Source)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
>>>>ContentDispatc
>>>>her.dispatch(Unknown Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
>>>>ment(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:734)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepForGoal(PluginManage
>>>>r.java:526)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.attainGoals(PluginManage
>>>>r.java:415)
>>>>       [exec]    at
>>>>org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
>>>>       [exec]    at org.apache.maven.cli.App.doMain(App.java:525)
>>>>       [exec]    at org.apache.maven.cli.App.main(App.java:1088)
>>>>       [exec]    at 
>>>>sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>>Method)
>>>>       [exec]    at
>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
>>>>orImpl.java:39
>>>>)
>>>>       [exec]    at
>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
>>>>odAccessorImpl
>>>>.java:25)
>>>>       [exec]    at 
>>>>java.lang.reflect.Method.invoke(Method.java:324)
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.run(Forehead.java:543)
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.main(Forehead.java:573)
>>>>       [exec] java.lang.ClassNotFoundException: velocity
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.createSAXException(X
>>>>MLParser.java:
>>>>1234)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.createSAXException(X
>>>>MLParser.java:
>>>>1256)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.
>>>>java:1090)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.startElement(XMLPars
>>>>er.java:647)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractSAXParser.startElement(Unkno
>>>>wn Source)
>>>>       [exec]    at
>>>>org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
>>>>nt(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
>>>>ContentDispatc
>>>>her.dispatch(Unknown Source)
>>>>       [exec]    at
>>>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
>>>>ment(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
>>>>Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>>       [exec]    at 
>>>>org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>>>Source)
>>>>       [exec]    at
>>>>org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111)
>>>>       [exec]    at
>>>>org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:734)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynamicTagLib(Plugin
>>>>Manager.java:6
>>>>11)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginMa
>>>>nager.java:586
>>>>)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager
>>>>.java:686)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.prepForGoal(PluginManage
>>>>r.java:526)
>>>>       [exec]    at
>>>>org.apache.maven.plugin.PluginManager.attainGoals(PluginManage
>>>>r.java:415)
>>>>       [exec]    at
>>>>org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
>>>>       [exec]    at org.apache.maven.cli.App.doMain(App.java:525)
>>>>       [exec]    at org.apache.maven.cli.App.main(App.java:1088)
>>>>       [exec]    at 
>>>>sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>>Method)
>>>>       [exec]    at
>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
>>>>orImpl.java:39
>>>>)
>>>>       [exec]    at
>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
>>>>odAccessorImpl
>>>>.java:25)
>>>>       [exec]    at 
>>>>java.lang.reflect.Method.invoke(Method.java:324)
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.run(Forehead.java:543)
>>>>       [exec] Total time:  9 seconds
>>>>       [exec] 
>>>>       [exec]    at 
>>>>com.werken.forehead.Forehead.main(Forehead.java:573)
>>>>       [exec] BUILD FAILED:
>>>>file:C:/temp/install/testant/eclipse/workspace/EJBProject/buil
>>>>
>>>>
>>>>        
>>>>
>>>d.xml:12: exec
>>>returned: 90
>>>Total time: 10 seconds
>>>
>>>---------------------------------------------------------------------
>>>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
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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


Mime
View raw message