maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bonner <brian.bon...@paraware.com>
Subject Re: How does maven find plugins?
Date Tue, 11 Oct 2005 17:41:20 GMT
it turns out there is a problem with the artifact id in maven-xmlbeans.

I logged a jira:  http://jira.codehaus.org/browse/MOJO-76

Brian



Brian Bonner wrote:
> Hi folks,
>
> I'm pretty new to m2 (and maven), but trying to pickup steam.
>
> I ran the xmlbeans:xmlbeans task and it correctly located this plugin 
> into my local repository.  I have *no* repositories defined in my pom.xml
>
> However, when I ran the compile phase, (m2 compile), I figured it 
> would call xmlbeans:xmlbeans at the generate-sources phase and then 
> run the compile phase.
>
> Instead, it failed because it couldn't find the xmlbeans in the maven 
> repo on ibiblio (failure shown belown).
> Why did running "m2 xmlbeans:xmlbeans" correctly find the plugin?  
> I've not specified the codehaus repo anywhere explicitly.  How come 
> running "m2 compile" doesn't find it?
>
> I'm hoping this is a problem with my config or understanding that you 
> folks can clarify.
>
> Thanks,
>
> Brian
>
>
>
> C:\workspace_paraware\spacestation_applet>m2 compile
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Building Spacestation
> [INFO]    task-segment: [compile]
> [INFO] 
> -------------------------------------------------------------------------
> ---
> Downloading: 
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-xmlbeans-plug
> in/2.0-beta-1/maven-xmlbeans-plugin-2.0-beta-1.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org
> /maven2)
> Downloading: 
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-xmlbeans-plug
> in/2.0-beta-1/maven-xmlbeans-plugin-2.0-beta-1.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org
> /maven2)
> [WARNING]
>  ***** Using defaults for missing POM 
> org.codehaus.mojo:maven-xmlbeans-plugin:p
> om:2.0-beta-1 *****
>
> Downloading: 
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-xmlbeans-plug
> in/2.0-beta-1/maven-xmlbeans-plugin-2.0-beta-1.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org
> /maven2)
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] BUILD FAILURE
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Failed to resolve artifact.
>
> Mojo could not be found - check that the goal name is correct
>  org.codehaus.mojo:maven-xmlbeans-plugin:2.0-beta-1:maven-plugin
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
> Root Cause: Unable to download the artifact from any repository
>
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Oct 11 12:13:45 EDT 2005
> [INFO] Final Memory: 1M/3M
> [INFO] 
> -------------------------------------------------------------------------
> ---
>


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


Mime
View raw message