Yes, Thanks. Rice On Thu, Nov 24, 2011 at 5:28 PM, Olivier Lamy <[email protected]> wrote:
> Oops my bad ! > Use -DrepoUrl=http://repo1.maven.org/maven2 > This is the correct expression for this parameter. > > http://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html#repositoryUrl > > > 2011/11/24 Rice Yeh <[email protected]>: > > I did have that space. > > > > On Thu, Nov 24, 2011 at 4:33 PM, Olivier Lamy <[email protected]> wrote: > > > >> 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 <[email protected]>: > >> > On Thu, Nov 24, 2011 at 3:01 PM, Olivier Lamy <[email protected]> > wrote: > >> > > >> >> A space maybe before the second -D ? > >> >> > >> > What do you mean? > >> > > >> >> > >> >> -- > >> >> Olivier > >> >> Le 24 nov. 2011 06:26, "Rice Yeh" <[email protected]> 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: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
