A space maybe before the second -D ? -- 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 >
