Repository metadata not found for an artifact from Maven repository plugin's repository

18 views
Skip to first unread message

Erik Ramfelt

unread,
Apr 21, 2011, 9:46:57 AM4/21/11
to jenkins...@googlegroups.com
Im trying to use the Maven repository plugin but it seems that maven
cant find the metadata for an artifact from the plugin's repository.
This makes maven to ignore that repository. Im not sure what is wrong
here, and how to debug it properly to find out what the problem is.
Has anyone had similar problems with the Maven repository plugin?

Ive noticed that the Maven repository plugin does not have a
"maven-metadata.xml" file for each artifact. Im guessing it is linked
to the problem.

This is my current setup:
* maven repository plugin v 0.4
* Jenkins v1.408
* Settings.xml that looks like
<repository>
<id>jenkins-repository</id>
<name>Jenkins component repository</name>
<url>http://arusha:8090/plugin/repository/everything/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
* Through help:effective-pom I can see that the repository exists in
the repositories list.
* Mvn command looks like this:
mvn -Duser.home=/proj/jenkins/
-Dmaven.repo.local=/proj/jenkins/.jenkins/jobs/job/workspace/own.repo
process-sources

The log shows this:
[INFO] artifact com.company:server.python: checking for updates from
jenkins-repository
[DEBUG] Using Wagon implementation lightweight from default mapping
for protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'jenkins-repository' with url:
'http://arusha:8090/plugin/repository/everything/'.
[DEBUG] Using Wagon implementation lightweight from default mapping
for protocol http
[DEBUG] repository metadata for: 'artifact com.company:server.python'
could not be found on repository: jenkins-repository
.. and then it continues with the other repositories but they doesnt
contain the specific version.

Regards
//Erik

Reply all
Reply to author
Forward
0 new messages