Hi,

I took a look at the build-log. The first deploy during the build seems
to work correctly. Then after successful build the Maven
RedeployPublisher deploys it again. There a new pom is uploaded (with a
new version) and the other artifacts are reuploaded with the old version
number:

framework-3.0.0-20120905.003625-517.pom
framework-3.0.0-20120905.001606-516-features.xml
framework-3.0.0-20120905.001606-516.kar

So the redeploy causes the repo to be somehow corrupt.
I extracted the relevant log-sections from jenkins:


kind regards,
christoph

On 04/09/12 08:16, Christoph Gritschenberger wrote:
> I just did some tests deploying karaf-trunk-snapshots to my own
> artifactory-instance. It worked without problems. Looking at the
> timestamps of the poms, there could be something wrong with a
> build-server setup.
> 
> It appears a pom is uploaded at some time. About 20-30 min later the kar
> and the features.xml are attached to that old pom and a new pom is
> uploaded (without the artifacts).
> 
> kind regards,
> christoph
> 
> 
> On 31/08/12 17:57, Jean-Baptiste Onofré wrote:
>> Hi Christoph,
>>
>> locally it's OK, so I think it's just a maven deploy issue (maybe about
>> the type), I gonna take a look.
>>
>> Regards
>> JB
>>
>> On 08/29/2012 04:06 PM, Christoph Gritschenberger wrote:
>>> Hi,
>>>
>>> Sometimes when compiling our karaf-based (3.0.0-SNAPSHOT) project I get
>>> the following Exception:
>>>
>>>
>>> The following artifacts could not be resolved:
>>> org.apache.karaf.features:framework:kar:3.0.0-SNAPSHOT,
>>> org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT,
>>> org.apache.karaf.features:spring:xml:features:3.0.0-SNAPSHOT,
>>> org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT: Could
>>> not find artifact
>>> org.apache.karaf.features:framework:kar:3.0.0-20120829.013834-494 in
>>> apache.snapshots
>>> (https://repository.apache.org/content/repositories/snapshots/) ->
>>> [Help 1]
>>>
>>>
>>> I then checked the repository and discovered that indeed the file is not
>>> there. It seems only every other build actually deploys the .kar.
>>> This is the current content of the repo.
>>>
>>>     framework-3.0.0-20120828.003502-491-features.xml
>>>     framework-3.0.0-20120828.003502-491.kar
>>>     framework-3.0.0-20120828.003502-491.pom
>>>     framework-3.0.0-20120828.005642-492.pom
>>>     framework-3.0.0-20120829.010155-493-features.xml
>>>     framework-3.0.0-20120829.010155-493.kar
>>>     framework-3.0.0-20120829.010155-493.pom
>>>     framework-3.0.0-20120829.013834-494.pom
>>>     framework-3.0.0-20120829.110601-495-features.xml
>>>     framework-3.0.0-20120829.110601-495.kar
>>>     framework-3.0.0-20120829.110601-495.pom
>>>     framework-3.0.0-20120829.112704-496.pom
>>>     framework-3.0.0-20120829.132521-497-features.xml
>>>     framework-3.0.0-20120829.132521-497.kar
>>>     framework-3.0.0-20120829.132521-497.pom
>>>     framework-3.0.0-20120829.134656-498.pom
>>>
>>> The current deployed version of the pom comes without .kar and
>>> features.xml.
>>>
>>> Any idea why?
>>>
>>> kind regards,
>>> christoph
>>>
>>>
>>
> 
> 

[...]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ framework ---
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 2.7 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516.pom
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516.pom (18 KB at 49.1 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml (294 B at 1.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 3.0 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml (294 B at 0.9 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516-features.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516-features.xml (6 KB at 15.1 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 3.2 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516.kar
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516.kar (9963 KB at 4041.8 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 1.5 KB/sec)

[...]

Maven RedeployPublisher use remote ubuntu5 maven settings from : /home/jenkins/.m2/settings.xml

[...]

Deploying the main artifact framework-3.0.0-SNAPSHOT.pom
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 30.7 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.003625-517.pom
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.003625-517.pom (18 KB at 265.8 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml (294 B at 11.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 11.0 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/maven-metadata.xml (294 B at 3.9 KB/sec)
Deploying the main artifact framework-3.0.0-20120905.001606-516-features.xml
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516-features.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/framework-3.0.0-20120905.001606-516-features.xml (6 KB at 86.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/features/framework/3.0.0-SNAPSHOT/maven-metadata.xml (1007 B at 8.3 KB/sec)
Deploying the main artifact framework-3.0.0-20120905.001606-516.kar
[...]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to