You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karl Gustav <ji...@yahoo.de> on 2005/08/24 16:59:42 UTC

installing maven on linux

Hello,

Today i tried to use maven(v. 1.1-beta-1) on our linux
machine.
On windows i had no problems,but on linux i cant get
it working.

I found out it has nothing: 
 - to do with the java project
 - to do with the java version, tried some versions
between 1.4.0.2 - 1.5.4

I deleted cache and repository sometimes, but no
change.
JAVA_HOME is set correctly:
echo $JAVA_HOME /usr/java/jdk1.5.0_04

but everytime i do a "maven site" or something else, i
get:
 __  __
 
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

Plugin cache will be regenerated
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl could not
be instantiated: java.lang.NullPointerException
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
        at
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:152)
        at
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
        at
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:238)
        at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303)
        at
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
        at
org.apache.maven.MavenSession.initialize(MavenSession.java:171)
        at
org.apache.maven.cli.App.doMain(App.java:498)
        at
org.apache.maven.cli.App.main(App.java:1258)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:585)
        at
com.werken.forehead.Forehead.run(Forehead.java:551)
        at
com.werken.forehead.Forehead.main(Forehead.java:581)



Any ideas?

Karl


	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

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


RE : installing maven on linux

Posted by Karl Gustav <ji...@yahoo.de>.
Hi Pascal

> Check that your MAVEN_HOME AND your PATH point to
> your maven 1.1 location. I
> had the same problem when I've switch form 1.0 to
> 1.1, my PATH wasn't
> correctly set. 

yes it was something with a path, some old maven was
on that machine. Thx


	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

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


RE : installing maven on linux

Posted by Pascal Larin <pl...@accovia.com>.
Karl,

Check that your MAVEN_HOME AND your PATH point to your maven 1.1 location. I
had the same problem when I've switch form 1.0 to 1.1, my PATH wasn't
correctly set. 

Pascal

-----Message d'origine-----
De : Karl Gustav [mailto:jiraacc@yahoo.de] 
Envoyé : August 24, 2005 11:00
À : users@maven.apache.org
Objet : installing maven on linux

Hello,

Today i tried to use maven(v. 1.1-beta-1) on our linux
machine.
On windows i had no problems,but on linux i cant get
it working.

I found out it has nothing: 
 - to do with the java project
 - to do with the java version, tried some versions
between 1.4.0.2 - 1.5.4

I deleted cache and repository sometimes, but no
change.
JAVA_HOME is set correctly:
echo $JAVA_HOME /usr/java/jdk1.5.0_04

but everytime i do a "maven site" or something else, i
get:
 __  __
 
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

Plugin cache will be regenerated
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl could not
be instantiated: java.lang.NullPointerException
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
        at
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:152
)
        at
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177
)
        at
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java
:238)
        at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303)
        at
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
        at
org.apache.maven.MavenSession.initialize(MavenSession.java:171)
        at
org.apache.maven.cli.App.doMain(App.java:498)
        at
org.apache.maven.cli.App.main(App.java:1258)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:585)
        at
com.werken.forehead.Forehead.run(Forehead.java:551)
        at
com.werken.forehead.Forehead.main(Forehead.java:581)



Any ideas?

Karl


	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden:
http://mail.yahoo.de

---------------------------------------------------------------------
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