You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alexander Vaysberg <wo...@vaisberg.de> on 2008/11/27 10:05:39 UTC

Problem with Maven, Continuum and Archiva

Hi all,

I have a Problem with deploy. I have the Error:
[INFO] Installing
[INFO] Error retrieving previous build number for artifact ...

Couldn't get file ...

The error does not come always. On the next build it work fine.

I have a Archiva for management of the repositories. I have in Archiva 
internal and snapshot repo. For night build I use a Continuum. The 
Continuum start the build of the Project with this parameters:
Goals - clean deploy site site:deploy
Arguments -  --batch-mode --non-recursive
Build Fresh - true
Always Build - true
Is it default? - true
Build Environment - Java 1.5

Have you any ideas.

Alexander Vaysberg
Tetralog system AG.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Maven, Continuum and Archiva

Posted by Brett Porter <br...@apache.org>.
Ok. If you are running the standalone Archiva, then you'll also have a  
request log from Jetty that would have the same line. If it doesn't  
occur, then the request is failing in Apache. Apache has an error_log  
that would tell you the problem.

If the same problem is seen Archiva's request log, then it's an  
internal error, but it should have shown up in your logs.

Which is the case for you?

(btw, there is also users@archiva.apache.org if you need specific help  
with Archiva).

Cheers,
Brett

On 04/12/2008, at 3:59 AM, Alexander Vaysberg wrote:

> Yes i have in apache:
> 127.0.0.2 - - [01/Dec/2008:22:04:05 +0100] "GET /archiva/repository/ 
> snapshots/com/project/root-project/2.0.0-SNAPSHOT/maven-metadata.xml  
> HTTP/1.1" 500 2941 "
> and in archiva log have i nothing.
>
> Alexander Vaysberg
>
> Brett Porter schrieb:
>> 500 is an internal server error. Are you receiving anything in your  
>> Archiva logs? If not, do you have Apache running in front of the  
>> Archiva instance and does it have anything in its logs?
>>
>> - Brett
>>
>> On 01/12/2008, at 7:13 PM, Alexander Vaysberg wrote:
>>
>>> Yes, I can,
>>> The error messages:
>>>
>>> ... could not be retrieved from repository: snapshots due to an  
>>> error: Failed to transfer file: http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml 
>>> . Return code is: 500
>>>
>>> But, if I this buildes it self, it work fine.
>>>
>>> Nick Stolwijk schrieb:
>>>> Could you try your build with the -e or even -X option to give us  
>>>> some
>>>> more information about which file is missing?
>>>>
>>>> With regards,
>>>>
>>>> Nick Stolwijk
>>>> ~Java Developer~
>>>>
>>>> Iprofs BV.
>>>> Claus Sluterweg 125
>>>> 2012 WS Haarlem
>>>> www.iprofs.nl
>>>>
>>>>
>>>>
>>>> On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg <work@vaisberg.de 
>>>> > wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have a Problem with deploy. I have the Error:
>>>>> [INFO] Installing
>>>>> [INFO] Error retrieving previous build number for artifact ...
>>>>>
>>>>> Couldn't get file ...
>>>>>
>>>>> The error does not come always. On the next build it work fine.
>>>>>
>>>>> I have a Archiva for management of the repositories. I have in  
>>>>> Archiva
>>>>> internal and snapshot repo. For night build I use a Continuum.  
>>>>> The Continuum
>>>>> start the build of the Project with this parameters:
>>>>> Goals - clean deploy site site:deploy
>>>>> Arguments -  --batch-mode --non-recursive
>>>>> Build Fresh - true
>>>>> Always Build - true
>>>>> Is it default? - true
>>>>> Build Environment - Java 1.5
>>>>>
>>>>> Have you any ideas.
>>>>>
>>>>> Alexander Vaysberg
>>>>> Tetralog system AG.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> -- 
>> Brett Porter
>> brett@apache.org
>> http://blogs.exist.com/bporter/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Maven, Continuum and Archiva

Posted by Alexander Vaysberg <wo...@vaisberg.de>.
Yes i have in apache:
127.0.0.2 - - [01/Dec/2008:22:04:05 +0100] "GET 
/archiva/repository/snapshots/com/project/root-project/2.0.0-SNAPSHOT/maven-metadata.xml 
HTTP/1.1" 500 2941 "
and in archiva log have i nothing.

Alexander Vaysberg

Brett Porter schrieb:
> 500 is an internal server error. Are you receiving anything in your 
> Archiva logs? If not, do you have Apache running in front of the 
> Archiva instance and does it have anything in its logs?
>
> - Brett
>
> On 01/12/2008, at 7:13 PM, Alexander Vaysberg wrote:
>
>> Yes, I can,
>> The error messages:
>>
>> ... could not be retrieved from repository: snapshots due to an 
>> error: Failed to transfer file: 
>> http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml. 
>> Return code is: 500
>>
>> But, if I this buildes it self, it work fine.
>>
>> Nick Stolwijk schrieb:
>>> Could you try your build with the -e or even -X option to give us some
>>> more information about which file is missing?
>>>
>>> With regards,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg 
>>> <wo...@vaisberg.de> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have a Problem with deploy. I have the Error:
>>>> [INFO] Installing
>>>> [INFO] Error retrieving previous build number for artifact ...
>>>>
>>>> Couldn't get file ...
>>>>
>>>> The error does not come always. On the next build it work fine.
>>>>
>>>> I have a Archiva for management of the repositories. I have in Archiva
>>>> internal and snapshot repo. For night build I use a Continuum. The 
>>>> Continuum
>>>> start the build of the Project with this parameters:
>>>> Goals - clean deploy site site:deploy
>>>> Arguments -  --batch-mode --non-recursive
>>>> Build Fresh - true
>>>> Always Build - true
>>>> Is it default? - true
>>>> Build Environment - Java 1.5
>>>>
>>>> Have you any ideas.
>>>>
>>>> Alexander Vaysberg
>>>> Tetralog system AG.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> -- 
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Maven, Continuum and Archiva

Posted by Brett Porter <br...@apache.org>.
500 is an internal server error. Are you receiving anything in your  
Archiva logs? If not, do you have Apache running in front of the  
Archiva instance and does it have anything in its logs?

- Brett

On 01/12/2008, at 7:13 PM, Alexander Vaysberg wrote:

> Yes, I can,
> The error messages:
>
> ... could not be retrieved from repository: snapshots due to an  
> error: Failed to transfer file: http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml 
> . Return code is: 500
>
> But, if I this buildes it self, it work fine.
>
> Nick Stolwijk schrieb:
>> Could you try your build with the -e or even -X option to give us  
>> some
>> more information about which file is missing?
>>
>> With regards,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg <work@vaisberg.de 
>> > wrote:
>>
>>> Hi all,
>>>
>>> I have a Problem with deploy. I have the Error:
>>> [INFO] Installing
>>> [INFO] Error retrieving previous build number for artifact ...
>>>
>>> Couldn't get file ...
>>>
>>> The error does not come always. On the next build it work fine.
>>>
>>> I have a Archiva for management of the repositories. I have in  
>>> Archiva
>>> internal and snapshot repo. For night build I use a Continuum. The  
>>> Continuum
>>> start the build of the Project with this parameters:
>>> Goals - clean deploy site site:deploy
>>> Arguments -  --batch-mode --non-recursive
>>> Build Fresh - true
>>> Always Build - true
>>> Is it default? - true
>>> Build Environment - Java 1.5
>>>
>>> Have you any ideas.
>>>
>>> Alexander Vaysberg
>>> Tetralog system AG.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Maven, Continuum and Archiva

Posted by Alexander Vaysberg <wo...@vaisberg.de>.
Yes, I can,
The error messages:

 ... could not be retrieved from repository: snapshots due to an error: Failed to transfer file: http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml. Return code is: 500

But, if I this buildes it self, it work fine.

Nick Stolwijk schrieb:
> Could you try your build with the -e or even -X option to give us some
> more information about which file is missing?
>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg <wo...@vaisberg.de> wrote:
>   
>> Hi all,
>>
>> I have a Problem with deploy. I have the Error:
>> [INFO] Installing
>> [INFO] Error retrieving previous build number for artifact ...
>>
>> Couldn't get file ...
>>
>> The error does not come always. On the next build it work fine.
>>
>> I have a Archiva for management of the repositories. I have in Archiva
>> internal and snapshot repo. For night build I use a Continuum. The Continuum
>> start the build of the Project with this parameters:
>> Goals - clean deploy site site:deploy
>> Arguments -  --batch-mode --non-recursive
>> Build Fresh - true
>> Always Build - true
>> Is it default? - true
>> Build Environment - Java 1.5
>>
>> Have you any ideas.
>>
>> Alexander Vaysberg
>> Tetralog system AG.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Maven, Continuum and Archiva

Posted by Nick Stolwijk <ni...@gmail.com>.
Could you try your build with the -e or even -X option to give us some
more information about which file is missing?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg <wo...@vaisberg.de> wrote:
> Hi all,
>
> I have a Problem with deploy. I have the Error:
> [INFO] Installing
> [INFO] Error retrieving previous build number for artifact ...
>
> Couldn't get file ...
>
> The error does not come always. On the next build it work fine.
>
> I have a Archiva for management of the repositories. I have in Archiva
> internal and snapshot repo. For night build I use a Continuum. The Continuum
> start the build of the Project with this parameters:
> Goals - clean deploy site site:deploy
> Arguments -  --batch-mode --non-recursive
> Build Fresh - true
> Always Build - true
> Is it default? - true
> Build Environment - Java 1.5
>
> Have you any ideas.
>
> Alexander Vaysberg
> Tetralog system AG.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org