You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lee <pa...@cs.utexas.edu> on 2008/11/25 18:28:26 UTC

mvn install errors

Hi so I'm trying to build an application that uses maven but I get
errors during the build that say a dependency is not found.

The following is the error section.  It's referencing a snapshot which
seems wrong, is there a different repository that it should reference
or a different plugin to use?

Thanks,
Lee

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-dependency-plugin
Version: 2.0-alpha-5-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-alpha-5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  Maven Snapshots (http://people.apache.org/maven-snapshot-repository/),
  codehaus-plugins (http://repository.codehaus.org/),
  PRIDE_sourceforge_repro (http://pride-proteome.sourceforge.net/maven2),
  maven.shapshot (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Nov 25 11:15:42 CST 2008
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------

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


Re: mvn install errors

Posted by parnell <pa...@cs.utexas.edu>.
Thanks Nick, the project isn't mine.  I'm just trying to build a local
version on my computer.  When I saw the snapshot I thought something was
wrong I just didn't know what to change it to.  Doing what you said and just
going to the release worked fine.

Thanks for the tip,
Lee


Nick Stolwijk-4 wrote:
> 
> The last released version of that plugin is 2.0. A while ago all old
> snapshots were removed from
> http://people.apache.org/repo/m2-snapshot-repository. You should not
> rely on snapshots from Maven. Those are for development only. If you
> need a new build of an unreleased plugin, you should build and deploy
> your own with a custom version number.
> 
> Hth,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
> 
> 
> 
> On Tue, Nov 25, 2008 at 6:28 PM, Lee <pa...@cs.utexas.edu> wrote:
>> Hi so I'm trying to build an application that uses maven but I get
>> errors during the build that say a dependency is not found.
>>
>> The following is the error section.  It's referencing a snapshot which
>> seems wrong, is there a different repository that it should reference
>> or a different plugin to use?
>>
>> Thanks,
>> Lee
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven-dependency-plugin
>> Version: 2.0-alpha-5-SNAPSHOT
>>
>> Reason: Unable to download the artifact from any repository
>>
>> 
>> org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-alpha-5-SNAPSHOT
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2),
>>  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
>>  Maven Snapshots (http://people.apache.org/maven-snapshot-repository/),
>>  codehaus-plugins (http://repository.codehaus.org/),
>>  PRIDE_sourceforge_repro (http://pride-proteome.sourceforge.net/maven2),
>>  maven.shapshot (http://people.apache.org/repo/m2-snapshot-repository)
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10 seconds
>> [INFO] Finished at: Tue Nov 25 11:15:42 CST 2008
>> [INFO] Final Memory: 5M/10M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/mvn-install-errors-tp20686192p20687131.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: mvn install errors

Posted by Nick Stolwijk <ni...@gmail.com>.
The last released version of that plugin is 2.0. A while ago all old
snapshots were removed from
http://people.apache.org/repo/m2-snapshot-repository. You should not
rely on snapshots from Maven. Those are for development only. If you
need a new build of an unreleased plugin, you should build and deploy
your own with a custom version number.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Nov 25, 2008 at 6:28 PM, Lee <pa...@cs.utexas.edu> wrote:
> Hi so I'm trying to build an application that uses maven but I get
> errors during the build that say a dependency is not found.
>
> The following is the error section.  It's referencing a snapshot which
> seems wrong, is there a different repository that it should reference
> or a different plugin to use?
>
> Thanks,
> Lee
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-dependency-plugin
> Version: 2.0-alpha-5-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-alpha-5-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
>  Maven Snapshots (http://people.apache.org/maven-snapshot-repository/),
>  codehaus-plugins (http://repository.codehaus.org/),
>  PRIDE_sourceforge_repro (http://pride-proteome.sourceforge.net/maven2),
>  maven.shapshot (http://people.apache.org/repo/m2-snapshot-repository)
>
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Nov 25 11:15:42 CST 2008
> [INFO] Final Memory: 5M/10M
> [INFO] ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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