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