maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: dependency:get complains repositoryUrl missing or invalid
Date Thu, 24 Nov 2011 07:01:09 GMT
A space maybe before the second -D ?

--
Olivier
Le 24 nov. 2011 06:26, "Rice Yeh" <riceyeh@gmail.com> a écrit :

> Hi,
>  I am using dependency:get to install a remote jar from the central
> repository to my local repository in a folder without a pom.xml  with the
> following command:
>
> mvn dependency:get -X
> -DrepositoryUrl=http://repo1.maven.org/maven2-DgroupId=org.apache.cxf
> -DartifactId=cxf-rt-frontend-jaxrs -Dversion=2.5.0
>
> A error happens and says
>
> *Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on
> project standalone-pom: The parameters 'repositoryUrl' for goal
> org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or
> invalid*
>
> I did have specified the repositoryUrl. What is going wrong?
>
> Rice
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message