try
mvn dependency:get -X
-DrepositoryUrl=http://repo1.maven.org/maven2"SPACE
HERE"-DgroupId=org.apache.cxf
-DartifactId=cxf-rt-frontend-jaxrs -Dversion=2.5.0

instead of

mvn dependency:get -X
-DrepositoryUrl=http://repo1.maven.org/maven2-DgroupId=org.apache.cxf
-DartifactId=cxf-rt-frontend-jaxrs -Dversion=2.5.0

or you copy/paste of cli failed.

2011/11/24 Rice Yeh <rice...@gmail.com>:
> On Thu, Nov 24, 2011 at 3:01 PM, Olivier Lamy <ol...@apache.org> wrote:
>
>> A space maybe before the second -D ?
>>
> What do you mean?
>
>>
>> --
>> Olivier
>> Le 24 nov. 2011 06:26, "Rice Yeh" <rice...@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
>> >
>>
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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

Reply via email to