Hello!

I have created a plugin and deployed it to a remote repository 
(file:///m2_repo/repository). To test that the plugin can be downloaded from 
the remote repository I have removed it from my local repository. When I try to 
use the plugin the following error occurs:

----------------------------------
[INFO] Scanning for projects...
Downloading: 
http://repo1.maven.org/maven2/se/zystems/maven/plugins/maven-baseline-plugin/1.0.0/mave
n-baseline-plugin-1.0.0.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://gotdevmq/maven/se.zystems.maven.plugins/poms/maven-baseline-plugin-1.0.0.pom
[WARNING] Unable to get resource from repository gotdevmq 
(http://gotdevmq/maven)
Downloading: 
file:///m2_repo/repository/se/zystems/maven/plugins/maven-baseline-plugin/1.0.0/maven-b
aseline-plugin-1.0.0.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/se/zystems/maven/plugins/maven-baseline-plugin/1.0.0/mave
n-baseline-plugin-1.0.0.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct: Unable 
to download the artif
act from any repository
  se.zystems.maven.plugins:maven-baseline-plugin:1.0.0:maven-plugin

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  se.zystems.maven.plugins:maven-baseline-plugin:1.0.0:maven-plugin

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
----------------------------------

What puzzles me is that the pom is located correctly but the actual jar-file 
can't be found. It seems like Maven only searches the repositories I have 
defined in settings.xml when it tries to find the correct pom, not when it 
tries to locate the jar-file. Is this true, and if yes, how can I solve the 
problem?


Best Regards / Vänliga hälsningar 
André Isaksson
System Integrator
Zystems by Semcon
_______________________________________________
This message may contain confidential and/or privileged information. If you are 
not
the addressee or authorized to receive this for the addressee, you must not 
use, copy,
disclose or take any action based on this message or any information herein. If 
you
have received this message in error, please advise the sender immediately by 
reply
e-mail and delete this message.
Thank you for your cooperation 



Best Regards / Vänliga hälsningar 
André Isaksson
System Integrator
Zystems by Semcon
Theres Svenssons Gata 15
417 80 Göteborg
( Telefon: +46 (0)707-77 86 02 
* E-mail: [EMAIL PROTECTED] 
WWW: http://www.zystems.se <blocked::http://www.zystems.se/>  
_______________________________________________
This message may contain confidential and/or privileged information. If you are 
not
the addressee or authorized to receive this for the addressee, you must not 
use, copy,
disclose or take any action based on this message or any information herein. If 
you
have received this message in error, please advise the sender immediately by 
reply
e-mail and delete this message.
Thank you for your cooperation 


Reply via email to