When I run simple mvn archetype:create –DgroupId=com.litvinyuk
–DartifactId=my–app
 then C:\Documents and Settings\Ang\my-app> mvn compile

success

C:\Documents and Settings\Ang\my-app> mvn deploy
[INFO]------------------------------------------
[ERROR] BUILD ERROR
[INFO]------------------------------------------
[INFO] Faild to configure plugin parameters for: org.apache.
maven.plugins:maven-deploy-plugin:2.3
check that the following section of the pom.xml is present and correct:
<distributionManagment>
<repository>
    <id>repo</id>
    <name>Repository Name</name>
    <url>scp://host/path/to/repo</url>
  </repository>
  <!-- use the following if you ARE using a
  <snapshotRepository>
    <id>repo</id>
    <name>Repository Name</name>
    <url>scp://host/path/to/repo</url>
  </snapshotRepository>
</distributionManagement>

Cause: Class 'org.apache.maven.artifact.repo
 instantiated
[INFO] -------------------------------------
[INFO] For more information, run Maven with
[INFO] -------------------------------------
[INFO] Total time: 2 minutes 28 seconds
[INFO] Finished at: Thu Feb 28 19:05:49 EET
[INFO] Final Memory: 8M/14M
[INFO] -------------------------------------

WHY???
THX!
-- 
View this message in context: 
http://www.nabble.com/why-not-deploying--tp15742033s177p15742033.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to