You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by author <ek...@mail.ru> on 2008/02/28 18:51:10 UTC

why not deploying?



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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: why not deploying?

Posted by Wendy Smoak <ws...@gmail.com>.
On Thu, Feb 28, 2008 at 10:51 AM, author <ek...@mail.ru> wrote:

>  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
...
>  WHY???

As the error says, you have not configured the distribution management
urls, so Maven doesn't know where you want to deploy the artifacts.

You can use 'mvn install' to build, test, and install the artifact in
your _local_ repo (typically ~/.m2/repository).

See:  http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: why not deploying?

Posted by author <ek...@mail.ru>.
THX !!!!!!!!!!!!!!!!!!
-- 
View this message in context: http://www.nabble.com/why-not-deploying--tp15742033s177p15745549.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org