karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gritschenberger <christoph.gritschenber...@gmail.com>
Subject Re: framework kar is not deployed sometimes
Date Tue, 02 Oct 2012 08:33:24 GMT
Hi,

Any news on this? It's still happening.

kind regards
christoph

On 05/09/12 10:36, Christoph Gritschenberger wrote:
> 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
>>>>
>>>>
>>>
>>
>>
> 



Mime
View raw message