Wendy Smoak-3 wrote:
>
>
> The distributionManagement section is for publishing, not for retrieving.
>
> You'll want <repositories> and <pluginRepositories> for retrieving
> artifacts. They can go either in settings.xml or in the pom.
>
Thanks it solves my problem. I can get the dependency. But when I run mvn
deploy command to deploy files, it will deploy the jar to the reposiroty not
the snapshotRepository. My project has the version "test-1.00-SNAPSHOTS".
--
View this message in context:
http://www.nabble.com/Why-distributionManagement-doesn%27t-work--tp22489544p22490218.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org