You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jens Hohl <ho...@ibidem.de> on 2007/06/25 14:07:12 UTC

M2 - Deploy Plugin not found

Hello,

 

i make my first Steps with the deploy / release phase.

 

On CMD I get following Error :

 

 

> mvn deploy

 

..

..

 

 

[INFO]    task-segment: [deploy]

[INFO]
------------------------------------------------------------------------
----

[INFO] artifact org.apache.maven.plugins:maven-deploy-plugin: checking
for updates from central

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plug
in/2.3/maven-deploy-plugin-2.3.pom

1K downloaded

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plug
in/2.3/maven-deploy-plugin-2.3.jar

15K downloaded

[INFO] [site:attach-descriptor]

[INFO] [install:install]

[INFO] Installing
/home/mavensite/cruisecontrol/projects/sepa/trunk/pom.xml to
/home/mavensite/.m2/repository/wpp/master/1.0-SNAPSHOT/master-1.0-SNAPSH
OT.pom

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Failed 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:

 

<distributionManagement>

  <!-- use the following if you're not using a snapshot version. -->

  <repository>

    <id>repo</id>

    <name>Repository Name</name>

    <url>scp://host/path/to/repo</url>

  </repository>

  <!-- use the following if you ARE using a snapshot version. -->

  <snapshotRepository>

    <id>repo</id>

    <name>Repository Name</name>

    <url>scp://host/path/to/repo</url>

  </snapshotRepository>

</distributionManagement>

 

Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository'
cannot be instantiated

[INFO]
------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 49 seconds

[INFO] Finished at: Mon Jun 25 12:02:44 GMT 2007

[INFO] Final Memory: 8M/16M

[INFO]
------------------------------------------------------------------------

 

 

 

 

What I am doing wrong there ? 

 

Best Regards,

Jens


Re: M2 - Deploy Plugin not found

Posted by Thorsten Heit <th...@gmx.de>.
Hi Jens,

> [ERROR] BUILD ERROR
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Failed 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:
> 
>  
> 
> <distributionManagement>


> 
>   <!-- use the following if you're not using a snapshot version. -->
> 
>   <repository>
> 
>     <id>repo</id>
> 
>     <name>Repository Name</name>
> 
>     <url>scp://host/path/to/repo</url>
> 
>   </repository>
> 
>   <!-- use the following if you ARE using a snapshot version. -->
> 
>   <snapshotRepository>
> 
>     <id>repo</id>
> 
>     <name>Repository Name</name>
> 
>     <url>scp://host/path/to/repo</url>
> 
>   </snapshotRepository>
> 
> </distributionManagement>

Do you have a <distributionManagement>...</distributionManagement> section in your pom.xml in which you tell Maven where to deploy artifacts to?


HTH

Thorsten

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