I have solved the problem. In the pom put:-
<distributionManagement>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>central</name>
<url>http://127.0.0.1:8081/artifactory/libs-release-local</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>central</id>
<name>central</name>
<url>http://127.0.0.1:8081/artifactory/libs-snapshot-local</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>
In .settings.xml put
<servers>
<server>
<username>admin</username>
<password><your encrypted password for admin></password>
<id>central</id>
</server>
<server>
<username>admin</username>
<password><your encrypted password for admin></password>
<id>snapshots</id>
</server>
</servers>
--
View this message in context:
http://forums.jfrog.org/Problems-using-maven-deploy-Artifacts-not-being-deployed-tp7580774p7580776.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users