You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ramesh Ramamoorthy <ra...@statefarm.com> on 2012/05/29 15:48:51 UTC

Maven - issue

Hi,

I'm trying to run  the Archetype plugin command like "mvn -Parchetype archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app".

Please find the below log:

C:\DEV\LDT Maven>mvn -Parchetype archetype:create -DgroupId=com.mycompany.app -D
artifactId=my-app
[INFO] Scanning for projects...
[WARNING]
        Profile with id: 'archetype' has not been activated.

[INFO] Reactor build order:
[INFO]   ldt Parent POM
[INFO]   ldt JAR Parent POM
[INFO]   GridLRFAccess - JAR project
[INFO]   LDT-Interface - JAR project
[INFO]   LDT-WS-AddressBroker - JAR project
[INFO]   LDT-WS-AddressStandardization - JAR project
[INFO]   LDT-WS-EAVS - JAR project
[INFO]   LDT-Integration - JAR project
[INFO]   LDT-Web-war-src - WAR Source JAR project
[INFO]   LDT-Implementation - JAR project
[INFO]   ldt - EJB Parent
[INFO]   LDT-EJB - EJB project
[INFO]   LDT-EventingEJB - EJB project
[INFO]   LDT-Web - WAR project
[INFO]   LDT-PUX6M - EAR project
Downloading: http://lt00as30.opr.statefarm.org/artifactory/repo/org/apache/maven
/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin:
pom:2.8' from repository lt00as30 (http://lt00as30.opr.statefarm.org/artifactory
/repo): Authorization failed: Access denied to: http://lt00as30.opr.statefarm.or
g/artifactory/repo/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclip
se-plugin-2.8.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclips
e-plugin/2.8/maven-eclipse-plugin-2.8.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin:
pom:2.8' from repository central (http://repo1.maven.org/maven2): Error transfer
ring file: repo1.maven.org
Downloading: http://lt00as30.opr.statefarm.org/artifactory/repo/org/apache/maven
/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin:
pom:2.8' from repository lt00as30 (http://lt00as30.opr.statefarm.org/artifactory
/repo): Authorization failed: Access denied to: http://lt00as30.opr.statefarm.or
g/artifactory/repo/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclip
se-plugin-2.8.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclips
e-plugin/2.8/maven-eclipse-plugin-2.8.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin:
pom:2.8' from repository central (http://repo1.maven.org/maven2): Error transfer
ring file: repo1.maven.org
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-eclipse-plugin
Version: 2.8

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-eclipse-plugin:pom:2.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  lt00as30 (http://lt00as30.opr.statefarm.org/artifactory/repo)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue May 29 19:14:23 IST 2012
[INFO] Final Memory: 3M/10M
[INFO] ------------------------------------------------------------------------
C:\DEV\LDT Maven>


I have checked ID and Password, Everything is correct.Please let me know how to resolve this issue?


Thanks,
Ramesh Babu.R
LLGM &  LDT Support(WG5910)




Re: Maven - issue

Posted by Barrie Treloar <ba...@gmail.com>.
On Tue, May 29, 2012 at 11:18 PM, Ramesh Ramamoorthy
<ra...@statefarm.com> wrote:
> Hi,
[del]
> [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin:
> pom:2.8' from repository lt00as30 (http://lt00as30.opr.statefarm.org/artifactory
> /repo): Authorization failed: Access denied to: http://lt00as30.opr.statefarm.or
> g/artifactory/repo/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclip
> se-plugin-2.8.pom

This is an Artifactory issue, not a Maven issue.

You should contact your Artifactory administrator to work out what you
need to do to resolve the problem and then update your internal wiki
with your knowledge so that others dont suffer the same problems.

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