when running mvn -e install, the stacktrace point to the following error:
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/archiver/MavenArchiveConfiguration
        at
org.apache.maven.plugin.jar.AbstractJarMojo.<init>(AbstractJarMojo.java:99)
        at org.apache.maven.plugin.jar.JarMojo.<init>(JarMojo.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
        ... 24 more

Maybe this can help? :)

willem84 wrote:
> 
> It doesn't work for me, i need JSF stuff (javax.faces.component)...
> 
> 
> lmk wrote:
>> 
>> proble resolved.
>> I delete  Jboss central repository from the config file..now it works
>> fine..
>> 
>> regards !
>> 
>> 
>> willem84 wrote:
>>> 
>>> I have got exact the same problem...
>>> Probably error in maven? (A)
>>> 
>>> 
>>> lmk wrote:
>>>> 
>>>> hello
>>>> 
>>>> I get a strange problem traying to  install project into local
>>>> repository.
>>>> maven try to get  unfound versio of  maven jar plugin.
>>>> 
>>>> the error is
>>>> 
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Internal error in the plugin manager executing goal
>>>> 'org.apache.maven.plugins:maven-jar-plugin:2.1-jboss-1:jar': Unable to
>>>> find the mojo
>>>> 'org.apache.maven.plugins:maven-jar-plugin:2.1-jboss-1:jar' in the
>>>> plugin 'org.apache.maven.plugins:maven-jar-plugin'
>>>> org/apache/maven/archiver/MavenArchiveConfiguration
>>>> 
>>>> regards!
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-mvn-install-tf4942373s177.html#a14153471
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to