|
From: Ido T. <ta...@im...> - 2007-03-22 11:23:07
|
hi,
how do I install or deploy an artifact to my local repository such that it
is available from artifactory?
after mvn install, its on the file system, but not available in artifactory.
for mvn deploy I added in pom.xml
<distributionManagement>
<repository>
<id>local-repo</id>
<url>scp://epx-mcp:8090/artifactory/repo</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>scp://epx-mcp:8090/artifactory/repo</url>
</snapshotRepository>
</distributionManagement>
and in settings.xml
<servers>
<server>
<id>local-snapshots</id>
<!-->snapshots</id-->
<username>admin</username>
<password>password</password>
</server>
</servers>
but I get:
[INFO] Retrieving previous build number from local-snapshots
[WARNING] repository metadata for: 'snapshot at.ac.imp:funcGen:0.1-SNAPSHOT'
could not be retrieved from repository: local-snapshots due to an error:
Authentication failed: Cannot connect. Reason: invalid server's version
string
thank you very much for your help
ido
--
View this message in context: http://www.nabble.com/install-or-deploy-tf3446627.html#a9611795
Sent from the Artifactory-Users mailing list archive at Nabble.com.
|