Ok, so.. 

In my settings.xml :
                <mirror>
                        <id>repository</id>
                        <name>Miror nexus</name>
                        <url>http://nexus/content/groups/MyRepositories/</url>
                        
<mirrorOf>*,!repository-releases,!repository-snapshots</mirrorOf>
                </mirror>

in the pom.xml I removed repositories tag and keep that :

<distributionManagement>
   <!-- use the following if you're not using a snapshot version. -->
   <repository>
      <id>repository-releases</id>
     <name>Repository Name</name>
     <url>http://nexus/content/repositories/Releases/</url>
   </repository>
   <!-- use the following if you ARE using a snapshot version. -->
   <snapshotRepository>
     <id>repository-snapshots</id>
     <name>Snapshots Repository</name>
     <url>http://nexus/content/repositories/Snapshots/</url>
   </snapshotRepository>
 </distributionManagement>

I'm still having that error :-( :


[INFO] [INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-deploy-plugin:2.4
[INFO] 
[INFO] check that the following section of the pom.xml is present and
correct:
[INFO] 
[INFO] <distributionManagement>
[INFO]   <!-- use the following if you're not using a snapshot version. -->
[INFO]   <repository>
[INFO]     <id>repo</id>
[INFO]     <name>Repository Name</name>
[INFO]     <url>scp://host/path/to/repo</url>
[INFO]   </repository>
[INFO]   <!-- use the following if you ARE using a snapshot version. -->
[INFO]   <snapshotRepository>
[INFO]     <id>repo</id>
[INFO]     <name>Repository Name</name>
[INFO]     <url>scp://host/path/to/repo</url>
[INFO]   </snapshotRepository>
[INFO] </distributionManagement>
[INFO] 
[INFO] Cause: Class
'org.apache.maven.artifact.repository.ArtifactRepository' cannot be
instantiated


...
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-release-perform-deploy-failed-access-denied-tp3339497p3345882.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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

Reply via email to