You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Hal Arnold <ha...@cj.com> on 2004/12/10 01:55:32 UTC

error trying to get plugins

Has anyone seen this error when trying to get and install a plugin
(maven
-Dmaven.repo.remote=http://gizmomogwai.dyndns.org/http/maven/repository
-DgroupId=flopcode -DartifactId=maven-spy-plugin -Dversion=0.2.1
plugin:download)

 

__  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0

 

org.apache.maven.MavenException: Error parsing project.xml
'C:\maven\plugin-parent\project.xml

 

        at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)

        at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232)

        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)

        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)

        at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:23
5)

        at
org.apache.maven.MavenSession.initialize(MavenSession.java:175)

        at org.apache.maven.cli.App.doMain(App.java:473)

        at org.apache.maven.cli.App.main(App.java:1215)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:2

)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at com.werken.forehead.Forehead.run(Forehead.java:551)

        at com.werken.forehead.Forehead.main(Forehead.java:581)

 

-thanks hba


Re: error trying to get plugins

Posted by Brett Porter <br...@gmail.com>.
You are running it in a directory with a project.xml file that extends
a file that doesn't exist. Try running it elsewhere.

Cheers,
Brett


On Thu, 9 Dec 2004 16:55:32 -0800, Hal Arnold <ha...@cj.com> wrote:
> Has anyone seen this error when trying to get and install a plugin
> (maven
> -Dmaven.repo.remote=http://gizmomogwai.dyndns.org/http/maven/repository
> -DgroupId=flopcode -DartifactId=maven-spy-plugin -Dversion=0.2.1
> plugin:download)
> 
> __  __
> 
> |  \/  |__ _Apache__ ___
> 
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> 
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> 
> org.apache.maven.MavenException: Error parsing project.xml
> 'C:\maven\plugin-parent\project.xml
> 
>         at
> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)
> 
>         at
> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232)
> 
>         at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
> 
>         at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
> 
>         at
> org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:23
> 5)
> 
>         at
> org.apache.maven.MavenSession.initialize(MavenSession.java:175)
> 
>         at org.apache.maven.cli.App.doMain(App.java:473)
> 
>         at org.apache.maven.cli.App.main(App.java:1215)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:2
> 
> )
> 
>         at java.lang.reflect.Method.invoke(Method.java:324)
> 
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
> 
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> -thanks hba
> 
>

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